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
setting
Code:
SPBRG2 = 160 ' 38400 Baud @ 64MHz, -0,08%
is only half the job
I will check the code later today based on your given directions. thanks a lot.
I might need to check and wait for the GPS responds and PIC port response. I will try to set a code, and if i need again your help i will keep you posted.
Bookmarks