STM32L4 PWM Phase Delay
Hello:
Using the Nucleo STM32L476RG demo board.
On an STM32F4xx, using CMSIS, I am able to create 2 PWM pulses that have the same period. However, the 2nd pulse is delayed by: TIM4->CNT = TIM3->CNT + (timerPeriod /2 ); // =180 degrees
I want to do the same thing using HAL, but it looks like a few things have changed from CMSIS!
I have my code where I have 2 pulses being generated at the correct duty cycle and frequency, but spinning the wheels on how to get the second pulse delayed as shown above.
Can someone please provide some insight on how I could accomplish this? Has HAL made it easier than CMSIS? Or just different?
Thanks!
UPDATE.
Found: DM00405316
Note: this post was migrated and contained many threaded conversations, some content may be missing.