Hi,
I've got some problems with the LSPSI example.
Before sending a SPI trame my TX and RX fifo counter are 0 .

After executing the ligne : LPSPI1->TDR = send; the RX counter has incremented to 1 but not the TX fifo counter ? Can someone explain me why ?

Besides that, I do not understand the ligne : LPSPI1->SR |= LPSPI_SR_TDF_MASK; /* Clear TDF flag */
Because in the RM, this bit seems not writable.

Thanks for your time and answers,
Florian