cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G0 USB_DP/DM 3.3Volt

New.Fish
Associate III

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.

2 REPLIES 2

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.Fish
Associate III

Thanks.

Is there any examples code about how to use VCP?