Forum Discussion
Altera_Forum
Honored Contributor
13 years agofacing spi intarface DE2
Hello I am very new to Altera and Vhdl pls help I want to conenct micro to Dea2 "gpio" pins and implament spi communication and my qauastion is what kind of voltage level my micro should wo...
Altera_Forum
Honored Contributor
13 years agoIdeally the microcontroller should have 3.3V logic levels.
Probe the signals with an oscilloscope at the DE2 connector and check there is no ringing on the SPI clock signal. If there is, add a series resistor close to the microcontroller board. This will stop the FPGA seeing multiple clock edges. If you don't have an oscilloscope, then use SignalTap II with a 50MHz clock (whatever the onboard oscillator is) to look at the SPI interface, and zoom into the clock edges to see there is no "glitching". Cheers, Dave