cancel
Showing results for 
Search instead for 
Did you mean: 

4 timers work together,there's some timing logic problem!

Cyong.11
Associate

No1 is TIM1,No2 is TIM2,No3 is TIM 3, No4 is TIM 8,the master TIM is TIM1, TIM2/TIM3/TIM8 are slaves; but in the begging of TIM2,have a long time High level。The MCU is stm32f207vct6. My Emaill is 595779344@qq.com; I need help, I need Technical support.

2 REPLIES 2
Cyong.11
Associate

0690X00000BuuDbQAJ.jpg

This is a primarily user-driven forum, if you want direct support you have to contact ST directly.

> TIM2/TIM3/TIM8 are slaves;

In which mode is the slave controller set (TIM2_SMCR.SMS)?

The initial value of TIM2 output depends on the exact mode you set it, and if it is in PWM or TOGGLE mode, also on whether the counter runs or not and whether the event causing low-high transition (i.e. Compare or Update, depending on the mode and ARR/CCRx value) is reached soon after the counter is run.

JW