cancel
Showing results for 
Search instead for 
Did you mean: 

How to design USB for STM32F105VCT6

WPong.1
Associate II

Hi All,

I want to design USB schematic for STM32F105VCT6. I read Introduction to USB hardware and PCB guidelines using STM32 MCUs(AN4879) and it said that STM32F105/STM32F107 has Pull-up resistor on USB_DP line.

Question 1

Can I design USB schematic with no Pull-up resistor on USB_DP? And no need any config about embedded Pull-up resistor in software?

Question 2

Should I put some resistor between USB connector and STM32F105 on both USB D+,D- ? If yes, what value should add.

This is example schematic from stm32 bluepill. I saw there are resistor between USB connector and STM32F103

Capture.PNG

 

Thank you for your answer

1 ACCEPTED SOLUTION

Accepted Solutions

Dear @WPong.1 ,

 

Here you go :

https://www.st.com/resource/en/datasheet/stm32f107vc.pdf#page95

No need for Serial resistance neither the pull-up . You need to connect D-, D+ and VBus to the connector , in case of your device is bus powered that means all power from VBus : 5volts from Host , in case of Host follow the recommendation as well.

IMG_9740.jpeg

 Hope it helps ,

STOne-32

View solution in original post

3 REPLIES 3
AScha.3
Chief II

Hi,

see ds:

AScha3_0-1727599907897.png

-> no need for any external resistor .

(and dont ever use pullup to +5V ! Thats just wrong. USB has 3v3 signal levels...! )

+ only (old) F103 needs 1k5 pullup to 3v3 .

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

What is HNP/SNP/IP ?

Dear @WPong.1 ,

 

Here you go :

https://www.st.com/resource/en/datasheet/stm32f107vc.pdf#page95

No need for Serial resistance neither the pull-up . You need to connect D-, D+ and VBus to the connector , in case of your device is bus powered that means all power from VBus : 5volts from Host , in case of Host follow the recommendation as well.

IMG_9740.jpeg

 Hope it helps ,

STOne-32