cancel
Showing results for 
Search instead for 
Did you mean: 

Why is it not possible to select CAN in STM32CubeMX with the STM32F042F6P6 MCU. According to the datasheet this MCU has a CAN it is also listed in CubeMX, just not possible to select. Why?

benjamin Gräf
Associate II

For more details check the screenshot.

Thanks!

4 REPLIES 4

What clock source is selected for the part?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
benjamin Gräf
Associate II

I tryed with Crystal/Ceramic Resonator and with the internatl clock. Both do not work

Andreas Bolsch
Lead II

This package doesn't have enough pins ...

You need to set PA11_PA12_RMP in SYSCFG_CFGR1, in CubeMX there's a corresponding checkbox "Remap PA9/10 to PA11/12".

Thank you very much, Andreas!

Best regards, Benjamin