cancel
Showing results for 
Search instead for 
Did you mean: 

USB PD Stack Library with EPR

janik
Associate II

Hi,

I use the USBPD Middleware to implement a PD Port with a G474RB. This is functional. Now I would like to implement USB-PD EPR. I cant find any settings that would make cubeMX use the EPR version of the stack, the cubeMX inputs are further limited to SPR ranges. 

Is it possible to use USB-PD EPR in cubeMX ? Information that i have found on this topic suggest that X-CUBE TCPP supports EPR, however the TCPP hardware itself does not support EPR anyway. So far I have not enabled the X-CUBE TCPP package since I dont use that hardware. I use a different port protection IC which is rated for EPR operation.

The USBPD stack in the up-to-date G4 firmware V1.6.3 seems to be Version 4.1, which is from 15-Dec-2021. That is before EPR was introduced with Version 5.0

So to summarise : Is there a way to force cubeMX to load the newer library ? Do I have to manually download the new library and link it?

Thank you,

Janik

2 REPLIES 2
janik
Associate II

This seems to be a possible git submodule issue, where the submodule never got updated for the newer releases of the G4 firmware package.

FBL
ST Employee

Hi @janik 

I suggest checking whether the latest stm32-mw-usbpd-core at v5.4.0  version with EPR support can be integrated manually into  CubeG4.

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.




Best regards,
FBL
Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.