|
|
View previous topic :: View next topic |
Author |
Message |
Jan Guest
|
PIC16F877 |
Posted: Mon Apr 07, 2003 8:58 pm |
|
|
I use PIC16F877 microcontroller and have problem with full dublex RS232 connection. When sending data to hyperterminal,I can only send but not recive data, using getc().
___________________________
This message was ported from CCS's old forum
Original Post ID: 13477 |
|
|
Pete Smith Guest
|
Re: PIC16F877 |
Posted: Tue Apr 08, 2003 1:20 am |
|
|
:=I use PIC16F877 microcontroller and have problem with full dublex RS232 connection. When sending data to hyperterminal,I can only send but not recive data, using getc().
I've had problems similar to this in the past. When I'm sending data constantly, and not receiving it using an interrupt driven recieve routine, I'd always miss data going both ways.
The reason was that while the PIC was sending, it wasn't receiving, and vice versa.
To get round this you should use 3 things...
1) Get rid of Hyperterm, and use Teraterm instead. I don't know the URL, but do a search on this board, and you'll get a result.
2) Use an interrupt driven serial port receive routine (it's been discussed here plenty of times).
3) Use an interrupt driven serial port transmit routine - again it's been discussed here before.
HTH
Pete.
___________________________
This message was ported from CCS's old forum
Original Post ID: 13482 |
|
|
|
|
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
|