App note: I/O emulated UART baud rate calibration

Posted on Sunday, October 14th, 2018 in app notes by DP


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.

This entry was posted on Sunday, October 14th, 2018 at 1:00 pm and is filed under app notes. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Sjaak: I love those spade connectors. Where to get them?
  • Justin Myers: Always worth a shot!
  • Jack: Honesty is based upon objective fact, and truth upon perception which is invariably subjective. Therefore be honest, and let history make its own decisions.
  • Crawford: Lucky?
  • hli: Sunday++