Skip to main content
hmc
Associate III
July 7, 2016
Question

CubeMX grays out STM32F042F6Px USB

  • July 7, 2016
  • 2 replies
  • 689 views
Posted on July 08, 2016 at 01:40

Version 4.13.0

STM32Cube V1.0 <-- don't know what this is about.

In the datasheet for STM32F042x4, STM32F042x6 (ST DocID025832 Rev 4), USB 2.0 full-speed is included.  I have not yet found any provisos for USB 2.0 FS not being available for STM32F042P6.  I've already bought the chips, but CubeMx persistently grays out the USB.  What do I have to do to get USB on STM32F042P6?

    This topic has been closed for replies.

    2 replies

    slimen
    Visitor II
    July 11, 2016
    Posted on July 11, 2016 at 13:34

    Hi, 

    I confirm USB is not available by default for STM32F042FxPx.

    It will be available when checked ''Pins PA11/12 instead of pins PA9/10'' checkbox for SYS.

    Regards

    qwer.asdf
    Senior
    July 11, 2016
    Posted on July 11, 2016 at 17:15

    You should remap the USB pins. Check the SYS -> Pins PA11/12 instead of pins PA9/10 checkbox.