CC instead of VBUS sensing on STM32G4
I am designing a self-powered device with an STM32G473 and a USB-C connector, and want to be certain about the connections.
I have made PCBs with USB-C connectors before, but this is the first time that I have neither a VDDUSB, nor a VBUS Sense input. As I understand it, this microcontroller uses the USB-C CC signals instead of the non-existing VBUS Sense input, and two 5k1 pull-down resistors (for CC1 and CC2 in the connector). My understanding is that I should connect CC1 and CC2 directly to the microcontroller's UCPD1_CC1 (PB6) and UCPD1_CC2 (PB4) pins, and that the microcontroller has built-in pull-up and pull-down resistors for the CC ports.
Can anyone confirm this?
I don't think that I need to use the UCPD1_FRSTX (PA2) signal in this case, as there is no power delivery. However, I find this part quite confusing when reading the STM32G473 datasheet and reference manual together with application note 5225.
Can anyone shed some light on this?
