Week 02: Sequential+SPI
MIT Fall 2024
Please Log In for full access to the web site.
Note that this link will take you to an external site (https://shimmer.mit.edu) to authenticate, and then you will be redirected back to this page.
Overview
Last week you got the seven segment display kinda working and you also got a red-green-blue LED controller. We're going to build on that quite a bit this week. First we'll get started writing an event counter and interface it with some buttons. This will get us more practice with sequential logic. Then, again by taking advantage of the shortcomings of human visual response time, we'll control the seven segment display so we can control all eight segments at-the-same-time1 Then we'll build a pretty juicy controller for a widely used chip-to-chip communication protocol called Serial Peripheral Interface. Then we'll grab a multi-channel Analog-to-Digital-Converter (ADC) that communicates over SPI and use it to meausure the position of three rotary potentiometers in order to get full 24-bit color specification capability on our RGB LED. There's going to be some wiring, some use of your logic analyzer, just lots of great stuff. Start early, start early. This lab is longer than week 1, no question.
Individual Parts
- Checkoff 01 (FPGA): Counting Events
- Checkoff 02 (FPGA): All Eight Seven-Segments
- Exercise (SV and Cocotb): SPI Controller
- Checkoff 03 (FPGA): The Whole Thing