Dear TI-Team,
I'm trying to optimize our MCSPI driver and faced and issue that I cannot receive 1 word of data (1 byte) in the following configuration:
- Master, single channel mode
- TRM = 1 (receive-only)
- FFER = 1
- FFEW = 0
- Turbo = 1
- MCSPI_XFERLEVEL:WCNT = num_of_bytes (1 in current case)
For any other amount of data it work perfectly fine. One byte is receive sometimes but randomly and quite rare.
I found the following thread where probably the similar issue is described: AM335x McSPI Receive Only mode needs a dummy transmit - Processors forum - Processors - TI E2E support forums
But I do not use DMA and have no ideas how to make it running for one byte.
What I tried to change Turbo from 1 to 0 in case of receiving 1 byte, sometimes it works, sometimes make channel completely locked (TXS = 0) and it cannot be used again.
Do you have any recommendations of using receive-only mode without DMA for 1 word (byte) of data?
Thanks,
Dmitry