Skip to main content
Senior
Jan 13, 2022 9:57 AM UTC
Solved

Need to pull-up D+/D- with USB VCP when use STM32 MCUs?

Hi Team

​

Is it necessary to add a 1.5k pull-up resistor to D+ or D- when using USB VCP at full speed mode with STM32F405 MCU?

The port of the MCU be automatically pulled up when the USB of the MCU is set?

Please let me know if there any document for recommended circuits.

This topic has been closed for replies.
Muhammed Güler
Muhammed GülerBest answer
Senior III
Jan 13, 2022 11:53 AM UTC

https://www.st.com/resource/en/application_note/dm00296349-usb-hardware-and-pcb-guidelines-using-stm32-mcus-stmicroelectronics.pdf

Here are the answers to many USB related questions.

USB supporting models of STM32F4 series MCUs have internal pullup resistor.

4 replies

waclawek.jan
Super User
Jan 13, 2022 10:24 AM UTC

> Is it necessary to add a 1.5k pull-up resistor to D+ or D- when using USB VCP at full speed mode with STM32F405 MCU?

No.

> The port of the MCU be automatically pulled up when the USB of the MCU is set?

Yes.

> Please let me know if there any document for recommended circuits.

You can perhaps get inspired by the respective Disco or Eval boards' schematics.

JW

Muhammed Güler
Muhammed GülerBest answer
Senior III
Jan 13, 2022 11:53 AM UTC

https://www.st.com/resource/en/application_note/dm00296349-usb-hardware-and-pcb-guidelines-using-stm32-mcus-stmicroelectronics.pdf

Here are the answers to many USB related questions.

USB supporting models of STM32F4 series MCUs have internal pullup resistor.

Associate
Aug 17, 2023 2:52 PM UTC

Hello, so does this mean there is no need to perform VBUS sensing for STM32F446 as the D+ pin already has an embedded pull up resistor? Does this mean the USB device (STM32) is constantly detecting the USB host (PC) even when it is not connected? I am a bit confused now.

Kenji1Author
Senior
Jan 14, 2022 12:15 AM UTC

Hi, thank for the information!