2019-06-13 01:51 AM
I got a project to use one native UCPD of STM32G0 and one discrete TCPC (via standardized TCPM/TCPC solution). do I have to use 'USB-PD Power Delivery Software Expansion' ?
what's the difference between 'USB-PD Power Delivery Software Expansion' and 'STM32_USBPD_LIB' in STM32CUBEG0
2019-06-13 05:08 AM
The 'USB-PD Power Delivery Software Expansion' was originally delivered to support P-NUCLEO-USB001 (STM32F0 + Discrete PHY) and P-NUCLEO-USB002 (STM32F0 + STUSB1602).
It was later extended to support TCPM/TCPC architecture. The USB-PD stack was updated to support STM2F0 (Cortex M0) and STM32F4 (Cortex M4).
So you can use it because G0 is a Cortex M0+.
The libraries are compatible as long as you respect the Arm Cortex equivalence.
For your G0 application I recommend that you use the STM2CubeG0 libraries because they are more up to date, and adapted to the Cortex M0+.