Forum Discussion
Altera_Forum
Honored Contributor
13 years agoHow to test a SPI module.
hello, i trying to test an spi module that i add in a system that im using, i used this code but i dont know why there is an error: /* * principal.c * * Created on: 11/04/2012 * ...
Altera_Forum
Honored Contributor
13 years agoYou can't use the file API to use a SPI master, it uses its own API. Have a look at this document (http://www.altera.com/literature/ug/ug_embedded_ip.pdf), pages 8-8 and over, for more details about the SPI controller API.