USB CDC not working with STM32CubeMX5.2.1 and stm32l151
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-07-17 12:51 AM
I would like to migrate an older projekt based on stm32l151.
I created a new config with STM32CubeMX5.2.1 with firmware package STM32Cube FW_L1 V1.9.0. I used USB CDC to create a virtual COM. But I don't get any device listed on my Host PC.
I compared most of the code with the old projekt and everything seems similar.
Are there any known bugs for the stm32l151?
The compiled software runs (flashing LED via GPIO) but ony the USB stack seems not to work.
Solved! Go to Solution.
- Labels:
-
STM32CubeMX
-
STM32L1 Series
-
USB
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-07-17 5:18 AM
Found out the issue:
__HAL_SYSCFG_USBPULLUP_ENABLE();
did the job. Our Hardware specialists forgot to add Pullups to the USB D+ and D-.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-07-17 5:18 AM
Found out the issue:
__HAL_SYSCFG_USBPULLUP_ENABLE();
did the job. Our Hardware specialists forgot to add Pullups to the USB D+ and D-.
