modm-devices icon indicating copy to clipboard operation
modm-devices copied to clipboard

STM32H7 FDCAN type

Open NorbertToth opened this issue 2 years ago • 3 comments

In stm32h7-43_53.xml line 209 FDCAN type is stm32-h7, but lbuild not found it. If I change to stm32, it will be found but the modm FDCAN template driver is not compatible with the STM32H7.

NorbertToth avatar Aug 31 '23 09:08 NorbertToth

Hello! This is not an issue with modm-devices, modm-devices correctly indicates the FDCAN peripheral on STM32H7 series needs it's own driver (stm32-h7), which is not (yet) implemented in modm.

This is also indicated in the peripheral support matrix:

The peripheral is actually pretty similar to the FDCAN peripheral im STM32G0/G4/U5/... devices with this driver, but hat configurable message ram like the (also similar) Atmel/Microchip SAM MCAN driver.

rleh avatar Aug 31 '23 09:08 rleh

In order to be able to use the FDCAN peripheral on STM32H7 with modm you would need to adapt/extend the stm32-dfcan driver. Or maybe @chris-durand is working on this?

rleh avatar Aug 31 '23 10:08 rleh

Hi, ok thank you

NorbertToth avatar Aug 31 '23 10:08 NorbertToth