Forum Discussion
Altera_Forum
Honored Contributor
9 years agoI think we can provide you with all the SW you need.
You can request our free BSP package for the DE0 nano at www.code-time.com You'll get all the drivers you'll need for your project. First, to use the SPI on the LT connector, a mux must be set-up to select between the I2C1 and SPI signals. That's done controlling GPIO# 40 and you can select SPI using the macro DE0_SELECT_LT_SPI(). You will see how it used in the demo code. To play with the SPI, it's demo# 40; but as it's through the LT connector, the supported devices in the Demo are non-standard as they are the ones we have in hand. You can use the other demos to make sure all is OK: demo# 8,# 9 and 10 use devices that are physically on the DE0 nano board: LED, Switch, G-sensor, SD/MMC, Ethernet etc. For the HW, the LT connector is a standard 2mm pitch connector (7 X 2 pins). e.g Digikey part# WM18678-ND A bit of wire and soldering will do the job. Regards