Skip to main content
benjamin Gräf
Associate III
October 24, 2018
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?

  • October 24, 2018
  • 3 replies
  • 868 views

For more details check the screenshot.

Thanks!

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
October 24, 2018

What clock source is selected for the part?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
benjamin Gräf
Associate III
October 24, 2018

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

Andreas Bolsch
Lead III
October 24, 2018

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
October 29, 2018

Thank you very much, Andreas!

Best regards, Benjamin