Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

PIC to PIC serial communication

Status
Not open for further replies.

hussain_kiet

Full Member level 5
Joined
Mar 15, 2007
Messages
260
Helped
45
Reputation
90
Reaction score
28
Trophy points
1,308
Location
Karachi, Pakistan
Activity points
2,802
hi this is hussain..
i am doing a project in which i need to share data between two
PIC16F877 serialy. i am using CCS C compiler
the first PIC is sending the data via virtual serial while the 2nd one recieves the data on its hardware serial.
but 2nd one does not recieves the data correctly..
i don't have any idea that whether the 1st one is not sending the data correctly or the 2nd one doesn't receives correctly...??

any one can give me any idea of what is going wrong..???


thanx in advenace..
 

there is no code no hardware then no reply :)
 

You can try connecting both the transmitter and receiver circuits to a PC via a MAX232 or similar IC. After that you can easily find out whether they work or not using hyperterminal.
If you have an oscilloscope, it would be better to debug the rx/tx signals at signal level.


Regards.
 

you dont you use simulator to debug....like proteus ISIS
 

no need to use RS485 or MAX 232, just connect PIC1 Txd to RXD of PIC2, and PIC1 Rxd To PIC2 TXD. Grounds must be common.

Make a small test program first and get the communication working.

Post more info...
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top