Hi,
I've got some problems with the LSPSI example.
Before sending a SPI trame my TX and RX fifo counter are 0 .
f_gaudon_0-1651741411403.png
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 ?
f_gaudon_0-1651741704521.png
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.
f_gaudon_1-1651741552995.png
Thanks for your time and answers,
Florian