Skip to main content
Cyong.11
Associate
December 23, 2019
Question

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

  • December 23, 2019
  • 2 replies
  • 768 views

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.

This topic has been closed for replies.

2 replies

Cyong.11
Cyong.11Author
Associate
December 23, 2019

0690X00000BuuDbQAJ.jpg

waclawek.jan
Super User
December 23, 2019

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