cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX grays out STM32F042F6Px USB

hmc
Associate III
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?

2 REPLIES 2
slimen
Senior
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
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.