modm-io / modm-devices

Curated device data for all AVR and ARM Cortex-M devices
https://blog.salkinium.com/modm-devices
Mozilla Public License 2.0
49 stars 25 forks source link

STM32H7 FDCAN type #104

Open NorbertToth opened 10 months ago

NorbertToth commented 10 months ago

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.

rleh commented 10 months ago

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 commented 10 months ago

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?

NorbertToth commented 10 months ago

Hi, ok thank you