Categories

App note: I/O emulated UART baud rate calibration

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

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.

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

  • Edward Mallon: A teacher friend asked us for faster build that was less dependent on soldering because they didn't have the budget for that kit. So we've...
  • lostengineer: hahaha an entire article just saying to heat-shrink your wires or glue them if they might move around a lot. When did common sense die?
  • readybrek: They're tasty tasty very very tasty... they're very tasty.
  • hli: Sunday++
  • Chamod: Check on your buddy. Make sure they don't forget their lunchbox.