CE 433 Lab 2022
Spring
Homework 10
Name: Nicolas
Llarena Email:
Njllarenaarias@fortlewis.edu
1.
Homework 10 - Serial Peripheral Interface (SPI)
2.
Introduction
The purpose of this lab is to work with the basys 3 board
and vivado to implement SPI with a PmodALS ambient light sensor and
verify functionality. 3.
Materials
Materials
Quantity
Gvim
1
Vivado
1
BASYS 3 Board
1
PmodALS ambient light sensor
1
4.
Results
Task
1
Task
1: This task included writing the code to use SPI as well
as adding the binarytoBCD module to the project. The constraint file
was edited to be able to use ss,sdo, and sck from the sensor.
Task 1.1: Video above shows the functionality of the light sensor working with the flash of a phone to siplay birghtness on the SSD.
Discussion
This
homework was a good introduction to SPI. We learned how to implement it
with a light sensor together with the BASYS 3 board. It was straight
forward and easy to implement. Makes us feel more confident in our FPGA
abilities.