SLAAEI9 December 2023 MSPM0C1103 , MSPM0C1103-Q1 , MSPM0C1104 , MSPM0C1104-Q1 , MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1 , MSPM0G3519 , MSPM0L1105 , MSPM0L1106 , MSPM0L1227 , MSPM0L1228
STM8S series and MSPM0 both offer peripherals to perform asynchronous (clockless) communication. while STM8L series has the USART(universal synchronous asynchronous receiver transmitter) to offer a flexible means of full-duplex data exchange with external equipment.
Feature | STM8S and STML | MSPM0L and MSPMC |
---|---|---|
Data driection | LSB-first | MSB-fiirst or LSB-first |
Hardware flow control | flow | Yes |
Configurable stop bits | 1, 2 | 1, 2 |
Tx/Rx FIFO Depth | 2 | 4 |
Multiprocessor | Yes | Yes |
Active in low-power mode | Yes(only in wait mode) | Yes(all low-power) |
Single-wire half duplex communication | Yes | Yes 1 |
Wakeup from low-power mode | Yes | Yes |
Parity | Even, odd | Even, odd |
Communication using DMA | Yes2 | Yes |
Feature | STMS and STML | MSPM0L and MSPMC |
---|---|---|
Synchronous mode | Yes 1 | No |
Data length | 8, 9 | 5, 6, 7, 8 |
Oversampling | No | 16x 8x 3x |
LIN HW support | Yes2 | Yes |
DALI HW support | No | Yes |
IrDA HW support | Yes | Yes |
Manchester Code HW support | No | Yes |
Smart card mode (ISO7816) | Yes | Yes |
External Driver enable | No | Yes |
Glitch filter | No | Yes |
UART Code Examples
Information about UART code examples can be found in the MSPM0 SDK examples guide.