Other Parts Discussed in Thread: TMS570LS3137, HALCOGEN
TMS570LC43xx SCI + DMA + Interrupt
Hello everyone,
I have been trying to get the SCI1 module of the TMS570 working but the DMA is giving me problems.
I have been going through the documentation and code for the "spna213" example. I have also reviewed other posts relating to this like:
* "TMS570: SCI transmit DMA BTC interrupt too early"
* "TMS570LS3137 SCI2 RX Not Triggering DMA Request".
* "How to setup BTC interrupt during MibSPI DMA".
* etc.
The problems I am detecting and trying to fix are as follows:
* In TX mode the DMA is configured and when SETINT is enabled a sending of the configured amount of bytes is done, but all the sent bytes are '0' as seen in the image. If I do the TX without DMA the bytes are sent correctly.
* In RX mode I reach the DMAReq_RX() but the destination buffer (RX_DATA[]) is always '0'.
Thanks in advance.