Digital Electronics - The 8051 Microcontroller - Discussion

Discussion Forum : The 8051 Microcontroller - General Questions (Q.No. 16)
16.
The I/O ports that are used as address and data for external memory are:
ports 1 and 2
ports 1 and 3
ports 0 and 2
ports 0 and 3
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
5 comments Page 1 of 1.

Rjkarthigeyan said:   1 decade ago
Port0 used both address and data lines.

If address latch enable ( ALE = 1 ) then Port 0 will provide only the address. This Port0 along with the Port2 will provide 16-bit address for the external memory.

i.e P0 = A0-A7 for lower 8 bit.
P2 = A8-A15 for higher 8 bit.

Ram said:   1 decade ago
port0 used both address and data lines.
port1 used simple I/O operations
port2 used only address lines
port3 used timers,counters,serial port and etc
(1)

Pradeep said:   1 decade ago
Because port 0 and 2 have both address and data lines. Where as port 1 and 3 have only data lines.

Amisha patil said:   4 years ago
P0 0-P0. 7 (AD0-AD7) is port 0.
P2 0-P2. 7 (A8-A15) is port 2.

So the answer is option c.

Siddu said:   9 years ago
P0 = A0 - A7 for lower bit with data multiplexer.

P2 = Only A8 - A15 for higher 8 bit.

Post your comments here:

Your comments will be displayed after verification.