cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G0 issue with USB-C CC 5.1k pull down

Philippe-Alexandre
Associate

Issue is with STM32G071KBU. We are using PA8 as a PWM output and the internal 5.1k pull-down for USB-C charging features is causing problem. We would like the output to be "hi-z" when the power is removed like the other gpio.

During the run-time, PA8 is in push-pull mode and we can easily disable the internal 5.1k pull-down. However, we want this pull-down to stay disabled when the chip's VCC is removed.

We have an external pull-up on that pin for a gate driver to stay ON when we loose the 3.3V of the micrcontroller, but the internal 5.1k is put back when the power is removed, hence pulling the voltage low.

The only way to disable the PA8 internal PD we found is to put a pull-down resistor on PA9 , which we cannot do because it is use in a similar fashion with another PWM output.

1 REPLY 1

You said it yourself:

> The only way to disable the PA8 internal PD we found is to put a pull-down resistor on PA9

JW