cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f407 center aligned PWM with phase shift

Tomislav Matic
Associate II
Posted on June 17, 2018 at 15:29

Hello everyone.

I'm using STM32F407 Black VET6 board. I need to create 6 center-aligned synchronized PWM signals with the same frequency, but every signal needs to have its own DutyCycle and PhaseShift control. Example of 3 signals is given in them image below. I have read

https://community.st.com/0D50X00009XkdmtSAB

 STM32F407 doesnt have asymetric mode, also

https://community.st.com/0D50X00009XkYAiSAN

but every signal should have different duty cycle. In my case all six signals need to be in sync.

Is this possible with STM32F407? Can you point me to the write direction, which timers to use, in what mode...?

Thanks in advance.

0690X0000060BebQAE.png

null
10 REPLIES 10
Posted on June 19, 2018 at 08:48

Thank you for the info.

I  also see that One-puls mode is similar (has delay=phase shift and pulse = duty) but its not repetetive. Or I'm wrong?

In 3 weeks I will play with the timers in the master slave configuration and see the result.

I will report back as soon as I have some results.