0:00 / 0:00
How to write SPI Interface code in Verilog HDL for a 12-bit ADC (using the DE0-Nano)
Visual Electric
59K subscribers • 1 video on Hallway
- Recommended by 1 person: 1 in engineering communities.
Intermediate. Assumes working knowledge.
58K views6 years ago1 recommendation
HardwareSystems programmingFPGAs and digital designEmbedded systemsElectronics
This tutorial shows how to write SPI interface code in Verilog for an ADC on the DE0-Nano board, including SignalTap debugging.
Writing SPI interface code for ADCs is all about getting the timing right. In this video, I go through, step by step, my process for writing SPI interface code in Verilog. I'm using the DE0-Nano FPGA development board with its on-board ADC128S022 - a 12-bit, 8-channel 200 ksps ADC. This video also serves as a good tutorial on the use of Signaltap for debugging FPGA signals in real time. - Introduction - SPI Overview - Looking at the datasheet for the ADC128S022 - Verilog code - Simulation - BDF development and programming the deviceWhy it's here
1 person recommends this, 1 disputes itWhat people say. Shared as a tutorial on writing SPI interfaces in Verilog, though some users debated its lack of input/output constraints.
u/groman434FPGA Hobbyistin r/FPGA • Disputes
What do you think about this video?
Hello guys,
I'd like to know what you think about this video. My main objection here is that no input / output constrains were defined. Furthermore, the way this code is "tuned" does not look professional to me. Also, the code formatting and naming in general (dataout2 for instance) seems awful in my opinion.
Having said that, I'm just FPGA hobbyst and it's likely I miss something here. This is why I'd like to know your opinion here.
Kind regards