Nov 04, 2020
03:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 04, 2020
03:12 AM
Hello
I am implementing Queued SPI in slave mode on a TC23x, the transmit and receive interrupts are working. On a receive interrupt I load new data into the Tx FIFO (shift register) through DATA_ENTRY, which will be sent on the next clock.
I would like to "flush" the Tx FIFO on the slave side at the EoF or SLSI deselection, I cannot find a method to flush the TxFIFO. Is there a method, or do someone know of a workaround.
I am implementing Queued SPI in slave mode on a TC23x, the transmit and receive interrupts are working. On a receive interrupt I load new data into the Tx FIFO (shift register) through DATA_ENTRY, which will be sent on the next clock.
I would like to "flush" the Tx FIFO on the slave side at the EoF or SLSI deselection, I cannot find a method to flush the TxFIFO. Is there a method, or do someone know of a workaround.
1 Reply
Nov 04, 2020
04:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 04, 2020
04:57 AM
You can reset the QSPI State machine and both the TXFIFO and RXFIFO by setting GLOBALCON.RESETS = 7
This widget could not be displayed.