【应用笔记】STM8A UART的模拟器 AN2800
Application note
STM8A UART emulator
Introduction
This application note describes a technique to emulate the universal asynchronous receiver
transmitter (UART) hardware peripheral, through the microcontroller medium end timer
(TIMER3), without the use of additional hardware.
TIMER3 was chosen for this purpose because its capture and compare features can be
easily used to receive and transmit data in a non return to zero (NRZ) serial format. This
timer also provides a necessary time reference to establ……