Datasheet
STM8S207xx, STM8S208xx Product overview
Doc ID 14733 Rev 12 19/103
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
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 V
DDA
●
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
Table 4. TIM timer features
Timer
Counter
size
(bits)
Prescaler
Counting
mode
CAPCOM
channels
Complem.
outputs
Ext.
trigger
Timer
synchr-
onization/
chaining
TIM1 16 Any integer from 1 to 65536 Up/down 4 3 Yes
No
TIM2 16 Any power of 2 from 1 to 32768 Up 3 0 No
TIM3 16 Any power of 2 from 1 to 32768 Up 2 0 No
TIM4 8 Any power of 2 from 1 to 128 Up 0 0 No