1

i have a device outputting an data with 19200 baud. The pic has been configured with SPBRG=12 BRGH=0 start and stop bits have been taken into account.

Nevertheless the pic doesn't receive the correct data! The data sent has been verified with hyper terminal and oscilloscope.

i can't find the error! Damn any help?

Thx

Johannes Knust
  • 891
  • 1
  • 11
  • 18

1 Answers1

0

Besides the electrical, on some versions of PIC24 (actually I use dsPIC33, but they are much the same) there is also peripheral pin select to deal with. I also set TRIS appropriately, but I think that is not necessary.

Marco van de Voort
  • 25,628
  • 5
  • 56
  • 89