How to set up DMA for CAN transmit

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to set up DMA for CAN transmit

749 Views
isaac_boakye
Contributor I

I have an application that needs to push out lots of data via CAN.  After implementing it, we are noticing that the time we are spending transmitting data via CAN is causing delays for other tasks. So we are exploring DMA to speed up things.  Looking at the reference manual, it appears that DMA is only implemented for the legacy and enhanced RX FIFOs? Does this means there is no way to use DMA to speed up CAN data transmissions? 

If it is possible to use DMA to speed up CAN transmissions, I did appreciate a sample configuration.

Tags (3)
0 Kudos
Reply
1 Reply

720 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

there is no HW support for FlexCAN TX DMA request.
You can fill TX MB using DMA (memory to memory move) upon SW request, following process to prepare TX MB stated in the RM, question could be if it brings any advantage, rather not.

BR, Petr

0 Kudos
Reply