ST AN1753 Application Note

This application note describes a software implementation of a Universal Asynchronous Receiver/Transmitter (UART) that can be used on devices, like the ST7LITE0, with no on-chip SCI peripheral. In this example, a software UART is implemented for the ST7FLITE0, using the 12-bit Autoreload timer and two I/O ports for asynchronous receive and transmit. The UART software provides features such as half-duplex operation, asynchronous operation, flexible data formats (7 or 8 data bits, 1 or 2 stop bits), and baud rates ranging from 2400 to 19200 baud. The interrupt-driven software UART can be tested using the Hyperterminal application on a Windows PC. The program code is small (357 bytes) and can be easily adapted to specific application requirements.


Brand
STMicroelectronics
File format
PDF
Published
07 August, 2012
Updated
29 September, 2023
MD5 checksum
671A109D58625CCFE1B97BE33680DFE0
Download PDF

More STMicroelectronics Manuals


View all STMicroelectronics manuals →