Product overview
STM8S003K3 STM8S003F3
Scan mode for single and continuous conversion of a sequence of channels
•
•
•
•
•
•
Analog watchdog capability with programmable upper and lower thresholds
Analog watchdog interrupt
External trigger input
Trigger from TIM1 TRGO
End of conversion (EOC) interrupt
Note: Additional AIN12 analog input is not selectable in ADC scan mode or with analog
watchdog. Values converted from AIN12 are stored only into the ADC_DRH/ADC_DRL
registers.
4.14
Communication interfaces
The following communication interfaces are implemented:
UART1: Full feature UART, synchronous mode, SPI master mode, Smartcard mode, IrDA
mode, single wire mode, LIN2.1 master capability
•
SPI : Full and half-duplex, 8 Mbit/s
•
I²C: Up to 400 Kbit/s
•
4.14.1
UART1
Main features
One Mbit/s full duplex SCI
•
SPI emulation
•
High precision baud rate generator
•
Smartcard emulation
•
IrDA SIR encoder decoder
•
LIN master mode
•
Single wire half duplex mode
•
Asynchronous communication (UART mode)
Full duplex communication - NRZ standard format (mark/space)
•
Programmable transmit and receive baud rates up to 1 Mbit/s (fCPU/16) and capable of
following any standard baud rate regardless of the input frequency
•
Separate enable bits for transmitter and receiver
•
Two receiver wakeup modes:
•
Address bit (MSB)
-
Idle line (interrupt)
-
Transmission error detection with interrupt generation
•
Parity control
•
Synchronous communication
Full duplex synchronous transfers
•
16/99
DocID018576 Rev 2