Hi,
I want to send serial data (usart) with pic16f877 to com port & i want to see all data ( send & receive). How can i set this circuit.
my diagram.
pic16f877-->max232-->virtual terminal
in this way my program is working. program send data on terminal & then i send back some text.
How can i send this data to com port & also want to see all data.
Regards
Roshan
real port interfacing with compim & virtual terminal
real com port interfacing with compim
not replyed by any one. I see here is many user of compim, no one can give idea or help.
Regards
Regards
-
- Expert User
- Posts: 417
- Joined: Thu 2006-03-09 14:05
- Location: Aston University, Birmingham, England
- Contact:
Re: real com port interfacing with compim
But you posted your first message on a Sunday (yesterday) afternoon, and your follow-up early today.Roshan wrote:not replyed by any one. I see here is many user of compim, no one can give idea or help.
Regards
Today is also national holiday in Britain.
Richard
The difference between theory and practice: Equations don't explode.
Жао ми је - не ради ми мозак...
Жао ми је - не ради ми мозак...
-
- Expert User
- Posts: 417
- Joined: Thu 2006-03-09 14:05
- Location: Aston University, Birmingham, England
- Contact:
A yellow pin is contention, that is you are probably connecting two outputs together (see picture below.)Roshan wrote:when i simulate compim I find pin no.-2 colour(logic state of pin) goes yellow. Can some one guide me what is this ?
Regards
Roshan
Could you have pins 2 and 3 the wrong way round?
Richard
- Attachments
-
- compim.jpg (46.62 KiB) Viewed 638 times
The difference between theory and practice: Equations don't explode.
Жао ми је - не ради ми мозак...
Жао ми је - не ради ми мозак...
-
- Expert User
- Posts: 417
- Joined: Thu 2006-03-09 14:05
- Location: Aston University, Birmingham, England
- Contact:
Roshan,
You are getting the RXD and TXD pins of COMPIM the wrong way round. The RXD pin is data comming in to the serial port, not out.
Swap the RXD and TXD pins on your COMPIM and it should be okay.
Richard
You are getting the RXD and TXD pins of COMPIM the wrong way round. The RXD pin is data comming in to the serial port, not out.
Swap the RXD and TXD pins on your COMPIM and it should be okay.
Richard
The difference between theory and practice: Equations don't explode.
Жао ми је - не ради ми мозак...
Жао ми је - не ради ми мозак...