cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103 USB problem with custom Hardware with cubeMX software (basic example), It doesn't work.

MOhamed_Mehery
Associate III

I'm using stm32f103 in my hardware, I didn't put pull-up resistor to USB _ D+ pin.

The device doesnot appear on PC.
_legacyfs_online_stmicro_images_0693W00000bjGtjQAE.pngIs there any way to make it work without Hardware changes?

1 ACCEPTED SOLUTION

Accepted Solutions
AScha.3
Principal III

>Is there any way to make it work?

yes.

add 1k5 pull-up resistor to USB _ D+ pin. - without 1k5 , no enumeration.

you edit :

>Is there any way to make it work without Hardware changes?

no.

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

2 REPLIES 2
AScha.3
Principal III

>Is there any way to make it work?

yes.

add 1k5 pull-up resistor to USB _ D+ pin. - without 1k5 , no enumeration.

you edit :

>Is there any way to make it work without Hardware changes?

no.

If you feel a post has answered your question, please click "Accept as Solution".
gbm
Lead II

Also, generally, if you call Transmit from the main loop, the USB will sooner or later hang.