Forum Discussion
Altera_Forum
Honored Contributor
10 years agoconnecting 4 GPIO pins to DAC using SPI interface
Hi. I am new to altera and am interested in connecting a DAC via the GPIO pins on my development board. the DAC takes a data connection using the spi interface so I am wondering what is the best ...
Altera_Forum
Honored Contributor
10 years agoFirst of all, debug the control port by manually accessing SPI registers: use IORD and IOWR like in the alt_avalon_spi_command code above, just to be sure the MM interface is ok.
You can also directly write the TX register and verify if you get any serial data out.