Forum Discussion
Altera_Forum
Honored Contributor
14 years agoSPI Problems
Hi, I'm trying to get handle with the SPI on a Nios II Core but I don't get it. I have a SPI master and a SPI Slave that I can try to transmit some data from the master to the slave. I connecte...
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- Unfortunately I'm not sensitive to kryptonite;-) I started my code with writing in the statusreg of the master and the slave and i recognized that I'm not bale to write data in the slave statusreg. Why? --- Quote End --- You are not supposed to write to the status reg and read back data. The write command is fake and is only used to instruct the spi core to reset the error bits, as stated in the spi datasheet, page 7-11.