9 MCC Notifications:

This section details the hints, warnings and errors from MCC Melody.

9.1 MCC Hint: Baud Rate Error Exceeds 2.2%

Low default clock frequency may result in baud rate errors, such as when setting a baud rate of 115200.

In general, UART baud rate error must not exceed 2.2%. Many PIC microcontrollers have a default main clock frequency of 1 MHz. Notifications are given by MCC to correct this.

The default System Clock of the a number of PIC microcontrollers is 1 MHz (4 MHz/4).

The System Clock can be in increased by raising the clock frequency and/or reducing the Clock Divider.

Tip: A baud rate of 115200 can be achieved with an 8 MHz clock and an error of 2.2%.