RTUComputer ScienceYr 2023 · Sem 32023

Q18Microprocessor and Microcontroller

Question

5 marks

How will you demultiplex the address and data bus in 8085 µP? How can you interface 1024 Bytes RAM with 8085 µP?

Answer

A technical hardware synthesis detailing the exact latch circuitry required to demultiplex AD0-AD7 using the ALE signal, followed by a precise address decoding strategy to interface a 1KB RAM chip.

The 8085 microprocessor is engineered with a multiplexed Address/Data bus to save physical pins. Before any external memory can be successfully interfaced, this bus must be violently separated into two distinct, stable buses utilizing external hardware.

Part I: Demultiplexing the AD0-AD7 Bus

The lower 8 pins () carry the Low-Order Address () during the first clock cycle () and subsequently carry Data () during and . To demultiplex this, we must physically insert an 8-bit D-Type Transparent Latch IC (universally the 74LS373 or 8212) onto the motherboard.

  • Wiring: The 8 input pins of the 74LS373 latch are wired directly to the 8085's pins.
  • Control: The 8085's ALE (Address Latch Enable) pin is wired directly to the Enable (G) pin of the 74LS373 latch.
  • Execution: During , the 8085 places the low-order address on the pins and pulses the ALE signal HIGH. The latch becomes transparent, allowing the address to flow through to its output pins. When ALE crashes LOW at the end of , the latch rigidly locks that 8-bit address on its output pins (creating a permanent, stable bus). The 8085 can now freely use the pins for data transfer, while the memory chip relies on the latched address.

Part II: Interfacing 1024 Bytes (1KB) of RAM

A 1024 Byte RAM chip requires exactly 10 address lines to uniquely select its internal memory cells, because . We will utilize address lines through .

  • Address Wiring: Connect the latched and the unlatched directly to the RAM chip's address pins.
  • Data Wiring: Connect the 8085's multiplexed pins directly to the RAM chip's bidirectional pins.
  • Address Decoding (Chip Select): The RAM chip possesses a Chip Select () pin that must be pulled LOW to activate it. We must ensure this RAM only turns on for a specific address range (e.g., to ). We must utilize a decoder logic gate (like a NAND gate or a 74LS138 decoder). All remaining unused high-order address lines ( through ) from the 8085 must be routed into this NAND gate. Only when are all exactly '0' will the NAND gate output a LOW signal to strictly enable the pin.
  • Control Wiring: Combine the and signals from the 8085 through an OR gate to generate a strict (Memory Read) signal, wired to the RAM's Output Enable (). Do the same for to generate for the RAM's Write Enable ().
Back to Paper