CubeMX grays out STM32F042F6Px USB
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-07-07 4:40 PM
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 discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-07-11 4:34 AM
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.
RegardsOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-07-11 8:15 AM
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.
