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 agoAFAIK altera_avalon_spi can only be a master and can't be configured as a slave.
Did you read the document I suggested you? It describes the alt_avalon_spi_command() function that you can call to send SPI commands.