Product overview
• External trigger input
• Trigger from TIM1 TRGO
• End of conversion (EOC) interrupt
STM8S003K3 STM8S003F3
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
• SPI master operation
• 8-bit data communication
• Maximum speed: 1 Mbit/s at 16 MHz (fCPU/16)
LIN master mode
• Emission: Generates 13-bit synch break frame
• Reception: Detects 11-bit break frame
16/100
DocID018576 Rev 3