Skip to main content
chrkaras
Associate II
March 4, 2026
Solved

STM32H755 HRTIM and USB multiplexing

  • March 4, 2026
  • 5 replies
  • 350 views

Hello everyone,

 

I am using the NUCLEO-H755ZI-Q board for a project. I have noticed that the HRTIMs that

are not multiplexed with some USB pins (like the HRTIM_D1 with the D+ for programming the IC via usb)

work normally, while if they do, I can't output any PWM pulse. Is this actually a thing and to overcome it

I have to remove some of the Zero Ohm resistors behind the nucleo board or design a custom pcb for my needs

or am I messing something up? In my situation specifically, i can output from all HRTIM channels except the D1

and D2, both of which map to a pin with USB.

 

Thanks in advance! 

Best answer by FBL

Hi @chrkaras 

PA11 / PA12 are USB OTG FS DM/DP pins. They are also available as HRTIM_CHD1 / HRTIM_CHD2 alternate functions.

FBL_3-1777386871180.png

So, on the Nucleo board, those pins are part of the USB routing. You need to redirect them manually. Checking board user manual, you need to set SB26 SB27 OFF; Then you can reuse them.

5 replies

ST Technical Moderator
March 6, 2026

Hi @chrkaras 

Can you tell me which HRTIM outputs are you using ? Which resistors you removed?

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL
chrkaras
chrkarasAuthor
Associate II
April 21, 2026

Hi @FBL,

I tried using all HRTIM channels at once in the default pins that the cubemx assigns, and the only two that were not working are the D1 and D2 where both channels maps to the USB. I also had the same issue with the other channels when I reassigned them to other pins where there can be USB functionality. I DO NOT want to use the USB in my project, except when flashing the chip. Also I haven't disoldered any resistors. I am asking because I want to implement a custom board.

 

Thanks!

Shirley.Ye
ST Employee
April 28, 2026

what do you mean by D1, D2? could you please give out the GPIO port and pin?

FBLBest answer
ST Technical Moderator
April 28, 2026

Hi @chrkaras 

PA11 / PA12 are USB OTG FS DM/DP pins. They are also available as HRTIM_CHD1 / HRTIM_CHD2 alternate functions.

FBL_3-1777386871180.png

So, on the Nucleo board, those pins are part of the USB routing. You need to redirect them manually. Checking board user manual, you need to set SB26 SB27 OFF; Then you can reuse them.

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL