Announcements

Robots are revolutionizing our lives in many ways. Join our webinar to learn about Infineon’s broad portfolio of robot building blocks.
Click here to register.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

AURIX™ Forum Discussions

User20089
Level 1
Level 1
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.
0 Likes
1 Reply
cwunder
Employee
Employee
50 solutions authored 250 sign-ins 25 likes received
You can reset the QSPI State machine and both the TXFIFO and RXFIFO by setting GLOBALCON.RESETS = 7
0 Likes
This widget could not be displayed.