cancel
Showing results for 
Search instead for 
Did you mean: 

How to make the FDCAN with DMA.

Karthick008
Associate

Hi, I'm not able to find any DMA available with CAN peripheral in STM32G4. After going deep search I found there's no such native DMA request available for CAN peripherals. So, I want to know is it true that STM32 controllers don't come with DMA with FDCAN/CAN. If available, then kindly share me the reference for making it work. Since, I want to have fast data transfer, and if I use the FDCAN with interrupt based, it will overload my CPU cycles. Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
Saket_Om
ST Employee

Hello @Karthick008

DMA cannot be used with FDCAN on STM32G4 because the peripheral does not provide DMA request lines.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Saket_Om

View solution in original post

2 REPLIES 2
Saket_Om
ST Employee

Hello @Karthick008

DMA cannot be used with FDCAN on STM32G4 because the peripheral does not provide DMA request lines.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Saket_Om
mƎALLEm
ST Employee

FDCAN and CAN cannot be used with DMA on all STM32 not specific to STM32G4 family.

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.