App note: I/O emulated UART baud rate calibration

an_holtek_an0475e

Software/bitbang method of baud rate calibration for micro without built-in UART, App note from Holtek. Link here (PDF)

Not every HOLTEK MCU contains a Universal Asynchronous Receiver/Transmitter function, otherwise known as a UART. If this function is required, it can be emulated using software. However, the software accuracy will change according to the system frequency error. This application note will illustrate how to use a software method to calibrate the baud rate and how to avoid errors between the two communicating parties. It will also show how to readjust to the same transmission frequency of each other when transmission errors occur.

Taking the HT66F4540 as an example, this application note describes the UART baud rate calibration method.

from Dangerous Prototypes https://ift.tt/2CHG2pt

Related Post

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *