if you are using the 16 bit baudrate generator
BAUDCON2.3 = 1 ' Enable 16 bit baudrate generator
then the baud rate is set using SPBRGHx and SPBRGx
settingis only half the jobCode:SPBRG2 = 160 ' 38400 Baud @ 64MHz, -0,08%
if you are using the 16 bit baudrate generator
BAUDCON2.3 = 1 ' Enable 16 bit baudrate generator
then the baud rate is set using SPBRGHx and SPBRGx
settingis only half the jobCode:SPBRG2 = 160 ' 38400 Baud @ 64MHz, -0,08%
Warning I'm not a teacher
Bookmarks