266
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
Advanced-control timers (TIM1 and TIM8)
TIM1 and TIM8 introduction
The advanced control timers (TIM1 and TIM8) is mainly used in the following occasions: counting the input signal,
measuring the pulse width of the input signal and generating the output waveform, etc.
Advanced timers have complementary output function with dead-time insertion and break function. Suitable for
motor control.
Main features of TIM1 and TIM8
16-bit auto-reload counters. (It can realize up-counting, down-counting, up/down counting).
16-bit programmable prescaler. (The frequency division factor can be configured with any value between 1 and
65536)
Programmable Repetition Counter
TIM1 up to 6 channels, TIM8 up to 6 channels.
4 capture/compare channels, the working modes are PWM output, ouput compare, one-pulse mode output, input
capture.
The events that generate the interrupt/DMA are as follows:
Update event
Trigger event
Input capture
Output compare
Break input
Complementary outputs with adjustable dead-time.
For TIM1 and TIM8, channel 1,2,3 support this feature
Timer can be controlled by external signal
Timers can be linked together internally for timer synchronization or chaining
TIM1_CC5 and TIM8_CC5 for COMP blanking.
TIM1_CC6 is used to switch the input channel of OPAMP1 and OPAMP2; TIM8_CC6 is used to switch the
input channel of OPAMP3 and OPAMP4;
Incremental (quadrature) encoder interface: used for tracking motion and resolving rotation direction and
position;
Hall sensor interface: used to do three-phase motor control;