EasyManua.ls Logo

STMicroelectronics STM8 User Manual

STMicroelectronics STM8
126 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #99 background imageLoading...
Page #99 background image
Serial Communication (UART)
Serial communication is perhaps the mostly-used classic communication method for interfacing a PC
or other machines with a micro. With just two wire, we can achieve a full-duplex point-to-point
communication. Owing to its simplicity and wide usage, it is the communication interface backbone
that is used with GSM modems, RF modules, Bluetooth devices like RN-52, Wi-Fi devices like the
popular ESP8266, etc. It is also widely used in industries. Other communications rely on it, for example,
RS-485, LIN, etc.
Most STM8s have at least one UART module. Some have more than one. Different UARTs have
different features as shown:
To learn more about UART visit the following link:
https://learn.mikroe.com/uart-serial-communication/
The UARTs of STM8 micros are so robust and packed with so many features that it is quite impossible
to explain them all in this one article. Here we will explore the basic serial communication only. LIN
and IRDA will hopefully be covered in future articles.
Question and Answer IconNeed help?

Do you have a question about the STMicroelectronics STM8 and is the answer not in the manual?

STMicroelectronics STM8 Specifications

General IconGeneral
ADC Resolution10-bit
CoreSTM8
Maximum Clock FrequencyUp to 24 MHz
Flash MemoryUp to 128 KB
RAMUp to 6 KB
EEPROMUp to 2 KB
Operating Voltage2.95 V to 5.5 V
Operating Temperature-40°C to +85°C or +125°C
Communication InterfacesUART, SPI, I2C
Package OptionsLQFP, TSSOP, UFQFPN, SO

Summary

Hardware Tools

Software Tools

Creating a New Code Project

Uploading Code

General Purpose Input Output (GPIO)

Clock System (CLK)

External Interrupt (EXTI)

Alphanumerical LCD

Analog-to-Digital Converter (ADC)

Analog Watchdog (AWD)

Independent Watchdog (IWDG)

Window Watchdog (WWDG)

Time Base Generation (TIM2)

Timer Interrupt (TIM4)

General Purpose Pulse Width Modulation (TIM2 PWM)

Advanced Pulse Width Modulation (TIM1 PWM)

Timer Input Capture (TIM1 & TIM2)

Serial Communication (UART)

Serial Peripheral Interface (SPI)

Inter-Integrated Circuit (I2C)

Peripheral Clock Configurations

Unlocking a Locked STM8 Chip

Related product manuals