HW 11: SPI

Calvin Reese

cjreese@fortlewis.edu

5/4/2022

Introduction

In this homework, we learned about transmitting data using SPI. This enables 2 boards to communicate wtih eachother more effeciently since it can send and recive data at the same time. In this example, a light sensor uses SPI to send light data to our FPGA.

Materials and Methods

The tutorial to these examples are found:

Here

Results

Code for Top Module (SPIlightsensor.v)

Code for Seven Segment Driver (sevenseg_driver.v)

The rest of the code was given in the HW assignement

Task 1: Display the BCD read-out of the SPI light sensor

Discussion

Super simple and straightforward HW. Our microcontroller's HW make more sense now that i've seen the details of how the communication happens personally.