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.

89v51 kit: the addresses of 8255 ports and value of pins

Status
Not open for further replies.

gemini_v440

Newbie level 5
Joined
Mar 26, 2006
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,416
layout of 89v51 kit

hi ,
i m using a 89v51 kit for a uc/os-ii project. i am attaching a layout diagram of the kit.what will be the addresses of the 8255 ports????
also specify what values should the dont care pins should assume and why??
 

Re: layout of 89v51 kit

Each of the three 82C55s has four registers:
A ==> Port A
B ==> Port B
C ==> PortC
Control ==> Control Word

You will be using DPTR and MOVX instructions to address these registers ..
Here are valid addresses:

U14 - load DPTR with:
A ==> DPTR=0000h
B ==> DPTR=0001h
C ==> DPTR=0002h
Control==> DPTR=0003h

U15 - load DPTR with:
A ==> DPTR=0100h
B ==> DPTR=0101h
C ==> DPTR=0102h
Control==> DPTR=0103h

U16 - load DPTR with:
A ==> DPTR=0200h
B ==> DPTR=0201h
C ==> DPTR=0202h
Control==> DPTR=0203h

Which pins do you call: don't care?

Regards,
IanP
 

Re: layout of 89v51 kit

hi ,
thanks a lot for the port addresses. i would also like to know how to send data from the 89v51 kit to the computer screen in a way to make it more interactive??
 

Re: layout of 89v51 kit

To make data exchange more interactive you may need to write an application similar to this one:

Regards,
IanP
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top