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.

Parallel interfacing between AT89c51 and AT89c52

Status
Not open for further replies.

Debankan Roy

Newbie level 1
Joined
Apr 20, 2014
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
11
I am trying to control the activity of 89c51 which is used as a slave using 89c52 which is used as master. Initially, data has been sent from 89c51 to 89c52 through the data port (P3 for 89c51 and P1 for 89c52)without any problem. But after that data transmission in reverse direction is not possible. I have tried it in many alternative ways,like I have tried the data transmission from 89c52 to 51 through a different port(P3 of 89c52) receiving port of 89c51 as P1. In this case I see data is written to the port but not recieved in the variable of 89c51. My question is what is the reason behind this? Am I missing something or parallel communication is not possible in this fashion? I am using Keil and Proteus. I am also attaching the files. As 89c51 is at left in the circuit,the hex file is renamed as mc_left and for 89c52 the hex file is renamed as mc_right.
 

Attachments

  • Two_MC.rar
    67.7 KB · Views: 62

Dear friend,
for your kind information in parallel communication you can transmit data in any direction from slave or master. so,that here i suggest that 1st check the code and it will be better if you will mentioned the purpose of this code and sample of this code for transmit in any direction.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top