stm8af6166tdy STMicroelectronics, stm8af6166tdy Datasheet - Page 19

no-image

stm8af6166tdy

Manufacturer Part Number
stm8af6166tdy
Description
Automotive 8-bit Mcu, With Up To 32 Kbytes Flash, Data Eeprom, 10-bit Adc, Timers, Lin, Spi, I2c, 3 To 5.5 V
Manufacturer
STMicroelectronics
Datasheet
STM8AF61xx, STM8AF62xx
Table 5.
5.7.5
Table 6.
Timer
Timer
TIM1
TIM2
TIM3
TIM4
Counter
Counter
width
16-bit
16-bit
16-bit
width
Advanced control and general purpose timers
TIM1: Advanced control timer
This is a high-end timer designed for a wide range of control applications. With its
complementary outputs, dead-time control and center-aligned PWM capability, the field of
applications is extended to motor control, lighting and bridge driver.
TIM2 and TIM3: 16-bit general purpose timers
Basic timer
The typical usage of this timer (TIM4) is the generation of a clock tick.
TIM4
8-bit
16-bit up, down and up/down AR (auto-reload) counter with 16-bit fractional prescaler.
Four independent CAPCOM channels configurable as input capture, output compare,
PWM generation (edge and center aligned mode) and single pulse mode output
Trigger module which allows the interaction of TIM1 with other on-chip peripherals. In
the present implementation it is possible to trigger the ADC upon a timer event.
External trigger to change the timer behavior depending on external signals
Break input to force the timer outputs into a defined state
Three complementary outputs with adjustable dead time
Interrupt sources: 4 x input capture/output compare, 1 x overflow/update, 1 x break
16-bit auto-reload up-counter
15-bit prescaler adjustable to fixed power of two ratios 1…32768
Timers with three or two individually configurable CAPCOM channels
Interrupt sources: 2 or 3 x input capture/output compare, 1 x overflow/update
8-bit auto-reload, adjustable prescaler ratio to any power of two from 1 to 128
Clock source: master clock
Interrupt source: 1 x overflow/update
Up/down 1 to 65536
Counter
Counter
type
type
Up
Up
Up
n = 0 to 15
n = 0 to 15
Prescaler
Prescaler
n = 0 to 7
factor
factor
2
2
2
n
n
n
Channels
Channels
Doc ID 14952 Rev 5
4
3
2
0
Inverted
Inverted
outputs
outputs
None
None
None
3
Repetition
Repetition
counter
counter
Yes
No
No
No
trigger
trigger
unit
unit
Yes
No
No
No
Product overview
External
External
trigger
trigger
Yes
No
No
No
Break
Break
input
input
Yes
No
No
No
19/91

Related parts for stm8af6166tdy