Hi all,
I want to hnow, if possible to clear the field TXS of register MCSPI_CH(i)STAT without disable the channel (register MCSPI_CH(I)CTRL, field EN)?
Regards,
Guillaume
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi all,
I want to hnow, if possible to clear the field TXS of register MCSPI_CH(i)STAT without disable the channel (register MCSPI_CH(I)CTRL, field EN)?
Regards,
Guillaume
Hi Guillaume,
Reading the DM814x TRM, chapter 22 SPI, I think you can.
The MCSPI_CH(i)STAT[1] TXS bit is cleared (TX register full) when the host (Cortex-A8 ARM or DSP) writes the MSByte of the SPI word (32-bit) in the MCSPI_TX register. And this should be possible without disabling the channel (EN=0).
Regards,
Pavel
Hi Pavel,
thanks for the answer.
But when I send Two successive word, alone the first is send if I don't deactivate and reactivate "EN" between each word
Regards
Guillaume