• The 8kb program memory can be provided by using one number of 8kb EPROM 2764. The 8kb EPROM require 13 address lines and so the address lines A0 – A12 are connected to EPROM address pins to select its internal locations.
• The remaining address lines A13, A14 and A15 are logically ORed and used as chip select signal for EPROM.
• The signal PSEN(low) is used as read control signal for EPROM and so the EPROM can be accessed only as program memory. Here the EPROM is mapped in the first 8kb of program memory address space with address range 0000H to 1FFFH. (Here the remaining 56kb program memory address space is not utilized).
• The 8031 provide a separate 64kb external data memory address space.
• The RAM memory, 8279 and 8255 can be interfaced to 8031 as data memory
• The 8kb RAM can be provided by using one number of 8kb RAM 6264. The 8kb RAM requires 13 address lines and so the address lines A0 – A12 are connected to address pins of RAM to select its internal location.
• The 8255 require two address lines to select its internal devices port-A, port-B, port-C and control register. Hence the address lines A0 and A1 of controller are connected to A0 and A1 of 8255 respectively.
• The 8279 require one address line to select its data register and control register. Hence the address line A0 of 8031 is connected to A0 of 8279.
• A 2-to-4 decoder is employed in the system to generate the chip select signals required for the RAM, 8255 and 8279. The address lines A13 and A14 are connected to input of decoder to generate four chip select signals. The address line A15 is used as logic low chip enable for decoder.
• In 8031 based system, the pin of 8031 is permanently grounded.
• The 8031 provides separate read and write control signals RD(low) and WR(low) for reading and writing with devices interfaced as data memory.
• The 8031 has a separate 256 bytes internal data memory address space allotted to internal RAM and SFR.
Address allocation for interfacing of 8031 |
• The 8051 has 4kb internal ROM which is mapped in the beginning of program memory address space with address in the range 0000H to 0FFFH.
• Hence for a total requirement of 32kb, we have to provide 28kb external memory. Therefore one number 32kb EPROM 27256 can be interfaced to microcontroller in which the first 4kb will not be accessed by the controller if pin EA(low) is tied to Vcc or +5V.
• The 32kb EPROM require 15 address lines and so the address lines A0 to A14 are connected to the address pins of EPROM to select its internal locations.
• The address line A15 is used as chip s signal.
• The EPROM is selected for program memory addresses when A0 = 0.
• The signal PSEN(low) is used as read control signal for EPROM and so the EPROM can be
accessed only as program memory.
• The 16kb RAM memory can be implemented by using two numbers of 8kb RAM 6264.
• The RAM memories, 8255 and 8279 can be interfaced to 8051 controllers as data memory.
• The 8kb RAM require 13 address lines and so the address lines A0 – A12 are connected to address pins of RAM to select its internal locations.
• The address line A0 and A1 are connected to 8255 and the address line A0 is connected to 8279 to select their internal devices.
• A 2-to-4 decoder is employed in the system to generate the chip select signals required for RAM, 8255 and 8279. The address lines A13 and A14 are connected to input of decoder to generate four chip select signals. The address line A15 is used as logic low chip enable for decoder.
• Since the internal ROM is used in the system, the pin EA(low) should be tied to Vcc or +5V.
• The 8051 provides separate read and write control signals RD(low) and WR(low) for reading and writing with devices interfaced as data memory.
• The 8051 has a separate 256 bytes internal data memory address space allotted to internal RAM and SFR.
manisa
ReplyDeletesakarya
sivas
van
elazığ
B53C
rfhgfhgfjnghjhk
ReplyDeleteشركة مكافحة الصراصير بالاحساء
شركة تنظيف افران بعنيزة lBHvEYve7r
ReplyDelete