Skip to main content
benjamin Gräf
Associate III
Oct 24, 2018 3:45 PM UTC
Question

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?

For more details check the screenshot.

Thanks!

This topic has been closed for replies.

4 replies

Tesla DeLorean
Guru
Oct 24, 2018 3:49 PM UTC

What clock source is selected for the part?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
benjamin Gräf
Associate III
Oct 24, 2018 3:52 PM UTC

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

Andreas Bolsch
Lead III
Oct 24, 2018 5:51 PM UTC

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".

benjamin Gräf
Associate III
Oct 29, 2018 9:16 AM UTC

Thank you very much, Andreas!

Best regards, Benjamin