Skip to main content
Visitor II
July 19, 2021
Question

STM32G0 USB_DP/DM 3.3Volt

  • July 19, 2021
  • 2 replies
  • 897 views

we are planning to use STM32G0 for our next generation design with its USB port, two application is considered:

  1. Use it as VCP, the signal from PC is +5 Volt, but the MCU is +3.3 Volt, can the USB port DP/DM pin directly connect to MCU pins? or require 5 V to 3.3 Volt converter?
  2. Use as a Mas storage class, connect to USB drive to read/write files. USB works with 5 Volt power, can USB work with 3.3 Volt power supply? if YES, then USB and MCU can share same power supply. Otherwise we will have another 5 Volt power on board which will introduce extra cost.

    This topic has been closed for replies.

    2 replies

    Super User
    July 19, 2021

    DM/DP signals are 3V, no level conversion needed.

    VBUS is 5V, you have to supply it to USB device if you want to use the STM32 as Host.

    JW

    New.FishAuthor
    Visitor II
    July 19, 2021

    Thanks.

    Is there any examples code about how to use VCP?