Datasheet

DocID030584 Rev 2 19/84
STM8S001J3 Functional overview
23
Asynchronous communication (UART mode)
Full duplex communication - NRZ standard format (mark/space)
Programmable transmit and receive baud rates up to 1 Mbit/s (f
CPU
/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
LIN master mode
Emission: generates 13-bit synch. break frame
Reception: detects 11-bit break frame
4.13.2 SPI
Maximum speed: 8 Mbit/s (f
MASTER
/2) both for master and slave
Unidirectional transfer: SPI master mode transmit/receive only, SPI slave mode receive
only
Simplex master synchronous transfers on two lines with a possible bidirectional data
line
Master or slave operation - selectable by software
CRC calculation
1 byte Tx and Rx buffer
4.13.3 I2C
I2C master features
Clock generation
Start and stop generation
I2C slave features
Programmable I2C address detection
Stop bit detection
Generation and detection of 7-bit/10-bit addressing and general call
Supports different communication speeds
Standard speed (up to 100 kHz)
Fast speed (up to 400 kHz)
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.