Skip to main content
Senior
November 18, 2024
Solved

TIM8_CH3N seems to be output on the incorrect pin in CubeMX

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

 

This topic has been closed for replies.
STTwo-32
STTwo-32Best answer
ST Technical Moderator
November 18, 2024

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.

2 replies

STTwo-32
STTwo-32Best answer
ST Technical Moderator
November 18, 2024

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.
RickoAuthor
Senior
November 18, 2024

Thank you @STTwo-32