AVR®: Understanding the USART Baud Rate Macro
In this video:
- Baud rate equations to set the USART Baud Rate Register (UBRRn), based on a required baud rate and CPU frequency.
- Tables of UBRRn settings for different CPU frequencies.
- How to debug in order to check that the macro used to set UBRRn matches the recommendation in the tables.