© 2004 Microchip Technology Inc. DS70066C-page 19-23
Section 19. UART
UART
19
19.13 Design Tips
Question 1: The data I transmit with the UART does not get received correctly. What
could cause this?
Answer: The most common reason for reception errors is that an incorrect value has been
calculated for the UART baud rate generator. Ensure the value written to the UxBRG register is
correct.
Question 2: I am getting framing errors even though the signal on the UART receive pin
looks correct. What are the possible causes?
Answer: Ensure the following control bits have been setup correctly:
• UxBRG: UART Baud Rate register
• PDSEL<1:0>: Parity and Data Size Selection bits
• STSEL: Stop bit Selection