Skip to main content
Associate III
February 7, 2026
Question

Initialization of USB3DR peripheral devices on STM32MP257F-DK

  • February 7, 2026
  • 1 reply
  • 165 views

In the STM32MP257F-DK Linux BSP, I believe that the initialization of the USB3DR peripheral devices (TCPP03-M20, CC1_EN, CC2_EN) is performed by the M33 core executing the following program:

/usr/local/Cube-M33-examples/STM32MP257F-DK/Demonstrations/USBPD_DRP_UCSI/lib/firmware/USBPD_DRP_UCSI_CM33_NonSecure_stripped.elf

Where can I find the source code of this program?

I have created a board using the STM32MP255F with a configuration similar to the STM32MP257F-DK board.
The hardware configuration around USB3 is the same, but some pinctrl and I2C bus channels are different.
Therefore, I would like to modify and use USBPD_DRP_UCSI_CM33_NonSecure_stripped.elf.

1 reply

PatrickF
Technical Moderator
February 9, 2026
In order 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.NEW ! Sidekick STM32 AI agent, see here
OKNAuthor
Associate III
February 10, 2026

Hi

I'll check out the GitHub link you provided.

By the way, why do you perform some initialization in M33?

Would there be any problems if you performed it in A35?

Thanks.