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.

TMS570LC4357: SCI DMA RX issue when same sci module is enabled for TX over DMA

Part Number: TMS570LC4357
Other Parts Discussed in Thread: TMS570LS3137

Hello,

I am seeing the exact problem raised in the below link except that the controller P/N is TMS570LS3137 and I don't see any solution provided in the link.

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1041094/tms570lc4357-sci-dma-rx-issue-when-same-sci-module-is-enabled-for-tx-over-dma

I have configured SCI-1(Multi-buffered, 8 bytes) for both RX and TX DMA. DMA CH-0 is for RX and DMA CH-1 for TX with AIM mode set to FALSE. I am trying to transfer 4 frames of 8 bytes with 2 elements (32_bit transfer) in each frame.

Is it that the SCI TX DMA always getting triggered leaving no room for RX DMA despite priority is high for Rx DMA channel?

I even tried with low priority for TX DMA CH-1 but it didn't work either. Also, I was expecting the DMA CH-1 will get disabled after a block transfer of 32 bytes (4 frames of 8 bytes) but it is always enabled.

Any help?

Thanks,

Jai