Altera_Forum
Honored Contributor
13 years agoSPI read example
Hello,
I need an example of the read transaction with the response. User Guide "Embedded Peripherals IP" has only write example. I tried the following transaction with no success: the packet format I pass: 0x7a, 0x7c, 0x0, 0x14, 0x0, 0x0, 0x4, 0x0, 0x0, 0x60, 0x7b, 0x8 That means read 4 bytes from address 0x00006008. But the response is always IDLE byte (0x4a), i.e. no data is returned. 2) Write transaction is successful and I get a proper response from the SPI, but after a Read transaction the Write always fails. :(