|
|
View previous topic :: View next topic |
Author |
Message |
Derek Guest
|
rs232 garbage @ beginning |
Posted: Mon Dec 02, 2002 4:53 am |
|
|
I have a PIC16F877 using B3,B4 as RS232 TX/RX @ 2400 baud. I have a routine that echo what I type in from a terminal connected to the PC's COM port. It works good, BUT, I get some garbage bytes at the beginning of the ECHO. Also, I can have a simple, printf ("hello world"); and it will display *#$ello world on the terminal. Any ideas?
___________________________
This message was ported from CCS's old forum
Original Post ID: 9675 |
|
|
No_Fear Guest
|
Re: rs232 garbage @ beginning |
Posted: Mon Dec 02, 2002 11:15 am |
|
|
:=I have a PIC16F877 using B3,B4 as RS232 TX/RX @ 2400 baud. I have a routine that echo what I type in from a terminal connected to the PC's COM port. It works good, BUT, I get some garbage bytes at the beginning of the ECHO. Also, I can have a simple, printf ("hello world"); and it will display *#$ello world on the terminal. Any ideas?
Maybe you dont use a level converter like max232? Do you use a voltage level converter ic or circuit? If you dont, it is possible to receive or send garbage characters.Rgrds,
___________________________
This message was ported from CCS's old forum
Original Post ID: 9691 |
|
|
Dave Yeatman Guest
|
Re: rs232 garbage @ beginning |
Posted: Mon Dec 02, 2002 12:19 pm |
|
|
I have had this kind of problem when the parity or stop bits are wrong....
Dave
___________________________
This message was ported from CCS's old forum
Original Post ID: 9694 |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|