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.

[SOLVED] 8255 interfacing with P89V51RD

Status
Not open for further replies.

muthuece12

Newbie level 4
Joined
Dec 8, 2012
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
tuticorin
Activity points
1,335
hello sir,
i am doing a project, in that i am using P89V51rd2. in this project i need to interfacing 8255 and ir. i tried lot of programs but the output of the 8255 is not changing. i did not connect the 8255 as a external memory device.

my connection details:
microcontroller=8255
P1=d0-d7;
rd=rd;
wr=wr;
P3.5=a1;
P3.4=a0;
P3.3=cs;

plz can anyone help for the issue. thanks in advance
 

i did not connect the 8255 as a external memory device.
Then you have to re-create all conditions that the 8255 was designed to work with.
Also, you can't use MOVX instructions but rather go step-by-step.
First, set data on D0-D7 (you may need pull-up resistors -10k - on all 8 data lines), then address on A0 and A1, you can connect CS on the 8255 permanently to "GND", then generate the /RD or /WR cycle by pulling the related P3.X from H-to-L and back L-to-H ........

All of that can be done much, much easier with 737-latch, as described in this app-note:
**broken link removed**

I don't ask for reasons - but it's like re-inventing a wheel ...

:wink:
IanP
 

Attachments

  • 8051-to-8255.JPG
    8051-to-8255.JPG
    72.4 KB · Views: 68
hello sir, thanks for giving the guide.now its working. thanks a lot sir.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top