STM8S207xx, STM8S208xx
Product overview
4.12
TIM4 - 8-bit basic timer
● 8-bit autoreload, adjustable prescaler ratio to any power of 2 from 1 to 128
● Clock source: CPU clock
● Interrupt source: 1 x overflow/update
Table 4. TIM timer features
Timer
Counter
size
(bits)
Prescaler
Counting CAPCOM Complem. Ext.
mode channels outputs trigger
Timer
synchr-
onization/
chaining
TIM1
TIM2
TIM3
TIM4
16
Any integer from 1 to 65536 Up/down
4
16 Any power of 2 from 1 to 32768 Up
3
16 Any power of 2 from 1 to 32768 Up
2
8
Any power of 2 from 1 to 128
Up
0
3
Yes
0
No
No
0
No
0
No
4.13
Analog-to-digital converter (ADC2)
STM8S20xxx performance line products contain a 10-bit successive approximation A/D
converter (ADC2) with up to 16 multiplexed input channels and the following main features:
● Input voltage range: 0 to VDDA
● Dedicated voltage reference (VREF) pins available on 80 and 64-pin devices
● Conversion time: 14 clock cycles
● Single and continuous modes
● External trigger input
● Trigger from TIM1 TRGO
● End of conversion (EOC) interrupt
4.14
Communication interfaces
The following communication interfaces are implemented:
● UART1: Full feature UART, SPI emulation, LIN2.1 master capability, Smartcard mode,
IrDA mode, single wire mode.
● UART3: Full feature UART, LIN2.1 master/slave capability
● SPI : Full and half-duplex, 10 Mbit/s
● I²C: Up to 400 Kbit/s
● beCAN (rev. 2.0A,B) - 3 Tx mailboxes - up to 1 Mbit/s
Doc ID 14733 Rev 12
19/103