cancel
Showing results for 
Search instead for 
Did you mean: 

USB PD (UCPD) on STM32H562

AWack
Senior

Hi,

I´ve problems getting UCPD running on a STM32H563. With STM32G0 I´ve alraedy realized a lot of such projects with UCPD. Hence I suggest, that it maybe is a problem of the DMA which is much more complicated to configure on the H5. Is there any information about how to configure UCPD on H5?

Best,

Achim

12 REPLIES 12

Hi AWack

Thank you for your feedback

When trying to reproduce the problem, I'm also encountering difficulties with X-Cube-FreeRTOS instead of ThreadX.

I have therefore opened an internal ticket for resolution.

Best regards

 

Hi!

Any update on this issue / your internal ticket?

Best regards,

Achim

PPAIL.1
ST Employee

Hi AWack

A few additional steps are required in the X-Cube-FREERTOS configuration :

- In the X-Cube-FREERTOS Middleware, under the "Config Parameters" tab, set "LIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" to 2

- Still in the X-Cube-FREERTOS Middleware, under the "CMSIS RTOS2" tab, then under "Tasks and Queues" tab, set the default task Stack Size to 2048.

- Finally, in The "Project Manager" tab of CubeMX, on the left select "Project" and increase the "Minimum Heap Size" to 0x2000.

Please let us know if this also works for you.

Best regards

Pascal