cancel
Showing results for 
Search instead for 
Did you mean: 

Dual USBPD: "Stack Port 0" and "User Port 0 Parameters" tabs missing in IDE 1.16

EStua.1
Associate III

This is very easy to reproduce:

- Create a new STM32 project using a PD-compatible MCU e.g. STM32G071CBT6 

- Enable both UCPD1 and UCPD2 as dual-role ports. Add DMA for Rx/Tx for each port.

- Enable FreeRTOS

- Enable USBPD with default port configuration "Port 0: UCPD1; Port 1: UCPD2", "Full stack", TIM1

- Looking at the "Configuration" window only Port 1 is configurable (see attached)

 

7 REPLIES 7
Mahmoud Ben Romdhane
ST Employee

Hello @EStua.1 ,

First let me thank you for posting and welcome to the ST Community.

I suggest that you take a look at this Post. The issue is related to STM32CubeMX standalone, and it was reported to the concerned team (under internal ticket number:190439).

Thanks.

Mahmoud

Hi Mahmoud,

Thanks for the update. I am not quite sure what the proposed work around is to ensure all the Port 1 & 2 parameters are set correctly. Is the process as follows:

- Enable UCPD1. Disable UCPD2. Configure Port 0 and generate code. Commit to GIT.

- Disable UCPD1. Enable UCPD2. Configure Port 1 and generate code. Revert any changes that appear to related to Port 0. Keep Port 1 changes.

The Post above just says "add the function call MX_UCPD1_Init()" but this obviously won't configure the missing Port information.

Thanks,
Evan.

The problem with the approach above is every time you enable or disable even one of the UCPD ports it disabled USBPD middleware package - meaning everything is reset.

 

Configuring dual USBPD support is broken. How long has the internal ticket been open for? 

EStua.1
Associate III

Hi Mahmoud,

 

What is the last known-good STM32Cube IDE version we can roll back to?

 

Thanks,
Evan.

EStua.1
Associate III

I can't download 1.15 - it simply reloads the page:

https://www.st.com/en/development-tools/stm32cubeide.html

 

1.16 works but we know that's broken.

I think we've found a work around. Open the IOC file a text editor and set the version back to the previous MxCube version:

MxCube.Version=6.11.1
MxDb.Version=DB.6.0.111

EStua.1
Associate III

Hi Mahmoud,

Could you please update the status of this and when can we expect to see it fixed?

Regards,
Evan