Forum Discussion
Altera_Forum
Honored Contributor
14 years agoOffset in received SPI data
Hi, I am currently working on a project in which altera FPGA is the slave SPI. Transferred data is 21 words long. Each test packet looks like: 0x0001, 0x0002, 0x0003,...,0x0021, and it cou...
Altera_Forum
Honored Contributor
14 years agoSPI master is repeatedly sending 1,2,..21 with pause between packets.
And the result is always the same. The only unusual feature of the master is that SS is toggled on every word transmitted. I tried to add IORD_ALTERA_AVALON_SPI_RXDATA(base) before every packet handling. In that case the 1st packet is OK (0x0001, 0x002, ...0x0021), but others are corrupted.