Skip to main content
Visitor II
September 13, 2024
Question

Generating two PWM signals with STM32H743

  • September 13, 2024
  • 1 reply
  • 689 views

Hello,

I want to generate 2 pwm signals, where pwm2 should have a delay from pwm1 (delay should be modified on the fly).

I would also like to know if this operation can be done in HRTIM or other Timers.

Thanks and regards,

Pradeepa P

 

 

1 reply

Technical Moderator
September 16, 2024

Hello @Pradeepa_Pugalenthi ,

You can generate two PWM signals where the second PWM signal has a delay from the first, and this can be achieved using both HRTIM and other advanced-control timers.

You can find the HRTIM configuration and examples in this application note AN4539 (start from section: 2.2 Generating multiple PWMs).

Combined PWM mode details for general-purpose and advanced-control timers are available in the RM0433 (38.3.13 Combined PWM mode).

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks