Skip to main content
AUrez.1
Associate
April 28, 2020
Solved

I'm going to use one of stm32g0 MCUs in my project but can't find any of them with USB support. What is the correct way to connect g0 MCU to a PC? I mean not for power supply but for data transfer.

  • April 28, 2020
  • 3 replies
  • 1179 views

..

This topic has been closed for replies.
Best answer by waclawek.jan

'G0 with USB is said to be coming...

https://community.st.com/s/question/0D50X0000A4nkLBSQY/stm32g0x1-usb

JW

3 replies

berendi
Principal
April 28, 2020

Simplest way is a USB serial adapter cable. Mind the voltage.

Most flexible is a Raspberry Pi, it can

  • connect to UART, SPI or I2C ports on the MCU
  • program and debug directly through SWD, even remotely from the PC
  • connect to the PC through WLAN, Bluetooth, USB (Zero and Zero W only), Ethernet (Model B and up)
AUrez.1
AUrez.1Author
Associate
April 28, 2020

Thanks fo your answer.

But what do you mean when you write that I can use USB with Zero and Zero W only. Can you please give some details?

berendi
Principal
April 28, 2020

The Zero models have a USB C-type port which can act both as a USB host or a USB device (gadget in Linux literature) just like a smartphone.

The normal size raspberries have USB A ports only, can't talk to a PC directly, because it too has USB A type ports.

AUrez.1
AUrez.1Author
Associate
April 28, 2020

Does anybody know why ST supported USB in some F0 MCUs but canceled to do it with G0 series MCUs? I was sure that G0 is the next generation of F0 and much better in all aspects.

waclawek.jan
waclawek.janBest answer
Super User
April 28, 2020