Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

Bi-Directional Serial Communication Code in Assembly for 8051 series

Status
Not open for further replies.

naeem.iu

Newbie level 2
Joined
Dec 8, 2012
Messages
2
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
1,303
I need help in Bi-Directional Serial Communication Coding in Assembly language...
my scenario is given below:

I had made 2 micro-controller base devices that is connected to the PC through Serial Port.

PC1, MC1.
PC2, MC2.

MC1 ===> Micro-Controller Device 1
MC2 ===> Micro-Controller Device 2

MC1 sends data from Port 2 to MC2, while MC2 receives that data from Port 2 and move it to SBUF.
MC2 sends data from Port 1 to MC1, While MC1 receives that data from Port 0 and move it to SBUF.


I am using Port 2 as sending and Port 0 as Receiving of MC1....
While using Port 2 as receiving and Port 1 as sending of MC2.....
MC1 takes input from SBUF, and move that data to Port 2, while MC2 receives data from Port 2 that is directly connected to the Port 2 of MC1 and move that data to SBUF of MC2.

Now, I am seeking for the Bi-Directional Code for this scenario....
Can anyone help me in this scenario??

Thanks in advance..
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top