I am using the USB-PD protocol with the stm32G071RBT6 processor with the tcpp01 card. I can only get 5v at the output(Vbus). I can't get 20v(Vbus). what should I do.
APPLICATION NOTE(AN5418) , TCPP01-M12 DOCUMENT AND LINK OF USB-PD CODE BELOW.
Please refer to "full sink application with TCPP01 here" and as described, there is a PDO strategy to implement in your code to select the correct PDO.
In our demonstration code, we describe it in our wiki page: "you can have a look here, to see how the PDO selection strategy is done".