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:
Discussion:
5 comments Page 1 of 1.
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.
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.
P2 = Only A8 - A15 for higher 8 bit.
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.
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
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.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers