2022-05-04 09:59 AM
Hello,
I want to use a STM32G071GBxx in my design of a USB 2.0 Device using a USB-C receptacle. I want to be able to do 2 things:
Can I do this using the single CC pin on the STM32G071GBxx or do I need a microcontroller with CC1 and CC2 pins? Also, what functions in the CubeIDE Middleware for USB-C PD would allow me to do this?
Best
2023-03-31 09:04 AM
Hello @Dustin Lehmann
Sorry if I see your post only now, it didn't have the USB-PD tag I'm following.
For me it seems that STM32G071 doesn't have USB interface. You should select STM32G0C or STM32G0B products.
In all the G0 series, you have a power delivery controller to manage the CC pins.
And this allows you to configure the Rp pullups (or Rd pulldown) internally.
You need to manage the 2 CC pins, because you need to monitor both CC pins to detect the orientation, unless you have a captive cable.
Have you checked our wiki with links to our step by steps examples ?
Regards,
Nicolas