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