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: Need sample code for using DMA in DCAN 1 message transmit (IF1) and receive (IF2).

Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN

Hello,

I want to use interface register IF1 for transmitting DCAN1 messages using DMA and IF2 for receiving DCAN1 messages using DMA.
Could you please provide the sample code for initializing the DMA, IF1 and IF2 registers?

I encountered a thread suggesting there's no advantage in using DMA with IF1 and IF2. Is this correct? If so, I'd appreciate a detailed explanation. Additionally, is IF3 solely for receiving messages and not for transmission?

e2e.ti.com/.../faq-tms570lc4357-how-to-use-dma-for-can-message-transmit-and-receive