2012-07-10 11:12 AM
Hello,
I my application, I need to control multiple ( >3) half bridges and measure current(s) synchronously as well. Question 1: Is it possible to synchronize the counters of Timer 1 and Timer 8 (and others?) so that match values I load can be based on the same reference? Question 2: If the above is not possible, perhaps I could derive the offset between the two timer counters and adjust for it. Maybe a simultaneous capture from an external event. Can anyone suggest a more elegant method? I am experienced with a competitor's PWM (their nicest feature), but do not yet have experience with the STM32's timers - I appreciate any illumination or suggestions you may offer! Regards, Dave #advanced-timers #stm32-pwm-timers2012-07-10 12:15 PM
2012-07-11 08:27 PM
Thank you! It looks like I will use T2 to issue a simultaneous counter reset to T1&T8. I'm hoping that no synchronization jitter will occur since the reset is issued internally (vs. external source).