STM8AF62AA STMicroelectronics, STM8AF62AA Datasheet - Page 20
![no-image](/images/manufacturer_photos/0/6/637/stmicroelectronics_sml.jpg)
STM8AF62AA
Manufacturer Part Number
STM8AF62AA
Description
STM8AF62 Standard Line
Manufacturer
STMicroelectronics
Datasheet
1.STM8AF5168.pdf
(106 pages)
Specifications of STM8AF62AA
Max Fcpu
24 MHz
Program Memory
32 to 128 Kbytes Flash program; data retention 20 years at 55 °C
Data Memory
up to 2 Kbytes true data EEPROM; endurance 300 kcycles
Ram
2 Kbytes to 6 Kbytes
Advanced Control Timer
16-bit, 4 CAPCOM channels, 3 complementary outputs, dead-time insertion and flexible synchronization
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
STM8AF62AATAY
Manufacturer:
STMicroelectronics
Quantity:
10 000
Product overview
5.7.2
5.7.3
5.7.4
Table 7.
20/106
Timer
TIM1
TIM2
TIM3
Counter
width
16-bit
16-bit
16-bit
option bits, the watchdog is automatically enabled at power-on, and generates a reset
unless the key register is written by software before the counter reaches the end of count.
Auto-wakeup counter
This counter is used to cyclically wakeup the device in Active-halt mode. It can be clocked by
the internal 128 kHz internal low-frequency RC oscillator or external clock.
LSI clock can be internally connected to TIM3 input capture channel 1 for calibration.
Beeper
This function generates a rectangular signal in the range of 1, 2 or 4 kHz which can be
output on a pin. This is useful when audible sounds without interference need to be
generated for use in the application.
Advanced control and general purpose timers
STM8A devices described in this datasheet, contain up to three 16-bit advanced control and
general purpose timers providing nine CAPCOM channels in total. A CAPCOM channel can
be used either as input compare, output compare or PWM channel. These timers are
named TIM1, TIM2 and TIM3.
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.
●
●
●
●
●
●
●
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
Up/down 1 to 65536
Counter
type
Up
Up
n = 0 to 15
n = 0 to 15
Prescaler
factor
2
2
n
n
Channels
Doc ID 14395 Rev 8
4
3
2
Inverted
outputs
None
None
3
Repetition
counter
Yes
No
No
STM8AF52/62xx, STM8AF51/61xx
trigger
unit
Yes
No
No
External
trigger
Yes
No
No
Break
input
Yes
No
No