Hi Team,
How to transmit 0x0000 except for the TX data which is set?
Th customer wants to send 0x0000 after all buffer is sent out.
When set 8 Tx on SSI_Slave on TM4C123BH6PM and SPI communication is sent more than 9 times from the master, the reply data from SSI_Slave always continues to send the contents of the first set of data.
Perhaps, using eight transmit buffers, the next transmit data appears to be returning to the first buffer.
If set 9, the second set of data is being sent.
Case 1: Set the slave SPI to the following data:
[Buffer 1] 0x0001
[Buffer 2] 0x0002
[Buffer 3] 0x0003
[Buffer 4] 0x0004
[Buffer 5] 0x0005
[Buffer 6] 0x0006
[Buffer 7] 0x0007
[Buffer 8] 0x0008
In the above case, if SPI communication multiple times from the master, All data after the ninth is output at 0x0001.
Case 2: Set the slave SPI to the following data:
[Buffer 1] 0x0001
[Buffer 2] 0x0002
[Buffer 3] 0x0003
[Buffer 4] 0x0004
[Buffer 5] 0x0005
[Buffer 6] 0x0006
[Buffer 7] 0x0007
[Buffer 8] 0x0008
[Buffer 9] 0x0009
In the above case, if SPI communication multiple times from the master, All data after the 10th will be output as 0x0002.
Thanks and Best regards,
Kuerbis