cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 not working when leave USB or dont plug USB

TPham.10
Associate II

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!

2 REPLIES 2

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.

It's debugging like in any other case - find out, where does the program stop, then work from there.

JW