Skip to content

cvonk/FPGA_SPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FPGA to microcontroller interface using SPI

This implements registers on the FPGA that can be read or written from any microcontroller that supports the Serial Peripheral Interface (SPI). The article Math Talk describes the protocol, shows logic analyzer traces explains the Verilog implementation.

The FPGA implementation is for Altera, but should apply equally to Xilinx. Similarly, the microcontroller implementation is for Arduino but is trivial to write for other platforms.