STM32 not working when leave USB or dont plug USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-02 8:00 PM
Hi guys,
I have a program use USB CDC and some function(STM32F103C8T6 StdPeriph lib). If use USB to power supply then program normal working, but it's working I leave USB out from Board (have sub power supply for Board) Program stop now. And if don't have USB input, I power on with external power Program not working.
Thanks!
- Labels:
-
STM32F1 Series
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-05 6:11 AM
Hi.
It's difficult to find someone who is familiar with Std. Periph. Lib. to get a correct answer.
There are well working examples using HAL Library .
Check also this previous post about it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-05 7:31 AM
It's debugging like in any other case - find out, where does the program stop, then work from there.
JW
