Skip to main content
Associate II
July 2, 2025
Solved

How to make the FDCAN with DMA.

  • July 2, 2025
  • 3 replies
  • 582 views

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.

This topic has been closed for replies.
Best answer by Saket_Om

Hello @Karthick008

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

3 replies

Saket_OmBest answer
ST Technical Moderator
July 2, 2025

Hello @Karthick008

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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om
mƎALLEm
ST Technical Moderator
July 2, 2025

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 "Best answer" on the reply which solved your issue or answered your question.
Andrew Neil
Super User
July 3, 2025
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.