Skip to main content
RMull.2
Visitor II
August 13, 2020
Question

How to change PWM polarity for different channels on the TIMER1 of STM32 using HAL?

  • August 13, 2020
  • 2 replies
  • 1049 views

..

This topic has been closed for replies.

2 replies

prain
Visitor II
August 13, 2020

change between CH_POLARITY_HIGH​ and CH_POLARITY_LOW in initialization struct and reinit pwm channel.

KnarfB
Super User
August 13, 2020

Could also be selected in STMCubeMX/IDE Configuration GUI.