cancel
Showing results for 
Search instead for 
Did you mean: 

TIM8_CH3N seems to be output on the incorrect pin in CubeMX

Ricko
Senior II

Hi,

on the STM32U5G9VJT6Q, according to the documentation and also to the Pin export from CubeMX including the Alt-Functions, PH15 should be able to be set to TIM8_CH3N.

But in CubeMX (see screenshot below) when I select Channel 3 PWM output it sets it to PB1 (instead of PH15).

How do I set TIM8_CH3N onto PH15 (i.e. pin 62 in part number STM32U5G9VJT6Q)?

Especially using the pane on the left (instead of trying to select the pin int he micro's IC view).

Thank you

 

 

Ricko_0-1731891397527.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
STTwo-32
ST Employee

Hello @Ricko 

To configure PH15 to TIM8_CH3N you have to: 

  • Go to the pin map: Ricko_0-1731894166741.png
  •  Set PH15 (if it is available) to TIM8_CH3N.

By default , if you dont select a pin for the peripheral you want to set, CubeMX has a default pinout that it use (such as PB1) in this case.

Best Regards 

STTwo-32 

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.

View solution in original post

2 REPLIES 2
STTwo-32
ST Employee

Hello @Ricko 

To configure PH15 to TIM8_CH3N you have to: 

  • Go to the pin map: Ricko_0-1731894166741.png
  •  Set PH15 (if it is available) to TIM8_CH3N.

By default , if you dont select a pin for the peripheral you want to set, CubeMX has a default pinout that it use (such as PB1) in this case.

Best Regards 

STTwo-32 

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.

Thank you @STTwo-32