RS232 outputs garbled strings.
Posted: Mon Mar 30, 2015 2:34 pm
Hi
I have a PIC 18F45K22 running at 8MHz and am trying to receive command strings in the form L_nnn~ where nnn is an unsigned integer and L is an identifier. The received string is garbled as if the baud rate were set wrongly, but it looks OK. I have tried two RS232 sources, one a terminal, with the same results and the RS232 signal on PortC.B7 decodes correctly using a Saleae analyser.Can anyone help please?
Thanks
Jim
I have a PIC 18F45K22 running at 8MHz and am trying to receive command strings in the form L_nnn~ where nnn is an unsigned integer and L is an identifier. The received string is garbled as if the baud rate were set wrongly, but it looks OK. I have tried two RS232 sources, one a terminal, with the same results and the RS232 signal on PortC.B7 decodes correctly using a Saleae analyser.Can anyone help please?
Thanks
Jim