Forum Discussion
Altera_Forum
Honored Contributor
12 years agoSPI slave code
Hi, I'm using the QSYS SPI module as a slave. The SPI slave is supposed to receive sequences of bytes/characters. In order to make this happen, I'm using some SW code that reads the stat...
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- Yes, I want to read the data before the next byte arrives --- Quote End --- You must read the data before the next byte arrives. What's the spi baudrate? You must make sure your Nios is fast enough to keep up with incoming data. Otherwise you need to use dma or move to a buffered spi core