Part Number: TMDXRM57LHDK
Hi there,
I'd like to set my serial interface to receive data using DMA.
I found the sci dma example (Halcogen), but I can't get it to work. It prints FAIL in loopback mode or gets stuck in the while loop when loopback is zero.
I created a new project, enabled sci3 and sci4 in Halcogen, didn't change the configuration (all sci interrupts disabled, frame parameters in both is the same), and generated the code.
Am I missing some configuration steps?
Another thing is: according to some other forum threads, if DMA is to be used to receive data, a dummy DMA transfer needs to be implemented to update the CTCOUNT, which allows to trigger again the DMA receive request. So I guess, I am going to need that.
What would be the dummy_req_line that should be used in 'dmaReqAssign(DMA_CHX, dummy_req_line)', if my dummy send and receive buffers are defined in my application (uint8 dummy_array[2], where idx 0 would be the tx addrs and idx 1 the rx addrs)?
Best Regards,
Julio