Altera_Forum
Honored Contributor
9 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 design to use. i currently have a 3-wire SPI slave with miso mosi, clock, and ssn wires exported (See attached photo). The DAC also requires a certain delay to be introduced. Do you know how to set this up in QSYS? Also, does anyone have sample code for this in NIOS II (eclipse)? Best. Leeor. http://www.alteraforum.com/forum/webkit-fake-url://c0936f7a-870c-4c01-862a-90bf11529605/image.tiff