FDCAN Support for STM32G474 Nucleo

danswartz
Fri, 28 Aug 2020 05:13:08 +0000
Mbed OS

Hello everyone, I’m working on a project using Mbed OS 6.2.1 and an STM32G474RE-Nucleo.

The board is listed as a target and Mbed compiles fine and works with the simple blinky example.

I’m trying to utilize CAN bus with this board, however when I attempt to compile anything related to CAN I end up with numerous errors. I think I’ve tracked this down to the board utilizing FDCAN instead of the traditional CAN used by STM32 boards.

So far I’ve added an override to mbed_app.json for “has can” which solved a few issues but I’m still having problems with can_api.c which i’ll show in the picture below…

Is there a different API for FDCAN, or something different I should be doing here? Or is it simply not supported yet?

I appreciate any help offered! Thanks!
Dan

8 posts - 3 participants