🎓 BookMCQ
← Back to 10. Programmable Keyboard and Display Interface: 8279

📝 Display Write Inhibit/Blanking of 8279 (6 MCQs)

Independent Control of Display Data Writing and Blanking

The Display Write Inhibit/Blanking command controls whether the two four-bit display output groups of the 8279 accept changes from CPU-written display RAM data and whether their outputs are blanked. It is especially useful when OUT A0–A3 and OUT B0–B3 operate as separate four-bit display interfaces requiring independent writing or visibility control.

Command Format and Inhibit Bit Functions

The command format is 101X IW_A IW_B BL_A BL_B. The IW bits control writing into the A and B output nibbles, while the BL bits control their display blanking. Setting an inhibit bit prevents CPU display RAM writes from changing the corresponding output group, without inhibiting the other group.

Blanking Behaviour and Programmable Display Code

The BL_A and BL_B fields independently blank their corresponding output nibbles. The blanking pattern is determined by the code selected through the Clear command. Reissuing the Display Write Inhibit/Blanking command with a zero in a corresponding control field removes that inhibit or blanking condition.

Example of Inhibiting and Blanking Output Group A

Suppose output group A must retain its previous data and remain blank while group B continues displaying new characters. The processor sets IW_A and BL_A to one while clearing the equivalent B control bits. Subsequent display RAM writes then affect the permitted output group without changing A.

Applications in Dual Four-Bit Display Interfaces

Independent output control is useful in display systems where OUT A and OUT B drive different display sections. It allows one group to be updated while another retains its existing information, or one section to be hidden without blanking the entire display. This supports flexible multiplexed and split-display arrangements.

Misconceptions About Display Inhibit and Blanking

'IW blanks the physical display output' is incorrect because IW inhibits CPU writing to the selected nibble. 'BL prevents RAM from receiving data' confuses display blanking with writing control. 'Setting BL_A automatically blanks group B' is incorrect because A and B have independent blanking fields.

Display Control Word and Output-Group Questions

Identify the IW_A, IW_B, BL_A and BL_B fields and distinguish their functions. Practise interpreting control bytes and predicting which display group accepts new data or becomes blank. Questions may involve dual four-bit outputs, preservation of existing display patterns and the relationship between blanking codes and the Clear command.

Display Inhibit and Blanking Terminology

  • IW_A - Inhibits CPU writing to output A.
  • IW_B - Inhibits CPU writing to output B.
  • BL_A - Blanks output group A.
  • BL_B - Blanks output group B.
  • Nibble - Four-bit data group.
  • Blanking Code - Pattern used to hide display output.
1
Easy
3
Medium
2
Hard

📝 All Display Write Inhibit/Blanking of 8279 MCQs

Q1. Which pin on the 8253 is designated as the ground terminal?

A.Pin 12 ✅
B.Pin 21
C.Pin 24
D.Pin 18
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: The ground connection for the 8253 is fixed on pin 12, providing the reference voltage for the entire chip. Pin 21 is the chip‑select line, pin 24 supplies +5 V, and pin 18 is the clock input for counter 2, so they cannot serve as ground. Recognizing the correct ground pin is essential when wiring the timer in any hardware project, because an incorrect ground will cause the device to malfunction or not power up at all.

Q2. A microcontroller wants to load a count value into counter 1 while keeping other counters unchanged. Which combination of control signals should be asserted?

A.CS=0, RD=0, WR=0, A1=0, A0=1 ✅
B.CS=0, RD=1, WR=0, A1=0, A0=1
C.CS=0, RD=1, WR=0, A1=1, A0=0
D.CS=0, RD=0, WR=1, A1=0, A0=1
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: Loading counter 1 requires the control‑word that selects counter 1 (A1 = 0, A0 = 1) while the chip‑select (CS) is active low (0) and write (WR) is low (0) to permit data transfer. Read (RD) stays high (1) because no read operation is occurring. Option A uses RD = 0, which would trigger a read instead of a load; option C addresses counter 2; option D also sets RD = 0, causing a read. Using the correct combination ensures only counter 1 is programmed, preventing unintended changes to the other counters in a real‑time system.

Q3. Why is the CS (Chip Select) signal on the 8253 designed as an active‑low input?

A.Active‑low reduces power consumption. ✅
B.Active‑low ensures the device is disabled when the line floats.
C.Active‑low allows a simple NAND gate to generate the enable signal, preventing bus contention.
D.Active‑low makes the pin compatible with CMOS logic only.
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: An active‑low CS allows the device to be enabled by pulling the line low, which can be generated easily with a NAND gate that many microprocessors already provide. This arrangement also guarantees that when the line is left floating or driven high, the timer remains disabled, protecting the shared bus from accidental contention. Option A mentions power saving but is not the primary reason; option B describes a safety feature that is secondary; option D incorrectly limits compatibility to CMOS only. Understanding this logic level choice helps designers connect the 8253 to various processors without extra circuitry.

Q4. In a system, the CPU needs to read the current count of counter 2 while also ensuring that the write inhibit (blanking) feature prevents any accidental writes during the read. Which control signal states achieve this operation?

A.CS=0, RD=0, WR=0, A1=1, A0=0 ✅
B.CS=0, RD=0, WR=1, A1=1, A0=0
C.CS=0, RD=1, WR=1, A1=1, A0=0
D.CS=0, RD=0, WR=1, A1=0, A0=1
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: Reading counter 2 uses the address bits A1 = 1, A0 = 0, with CS low (0) to select the chip. The read line RD must be low (0) to indicate a read, and the write line WR must be high (1) so that no write can occur, effectively blanking the write path. Option A asserts WR low, which would allow a write; option C keeps RD high, preventing the read; option D selects the wrong counter. Applying the correct signals guarantees that the CPU obtains an accurate count without risking unintended modifications, a critical requirement in timing‑sensitive applications.

Q5. Explain how the combination of A0, A1, CS, RD, and WR determines whether a “No operation” 3‑state condition occurs on the 8253, and why this is important for system stability.

A.When CS=1, all other signals are ignored, placing the device in a high‑impedance state, which protects the bus. ✅
B.When CS=0, RD=1, WR=1 (regardless of A0/A1), the device performs no operation but remains driven, which can cause bus contention.
C.When CS=0, RD=1, WR=1, the device enters a three‑state (high‑impedance) condition, isolating its outputs.
D.When CS=0, RD=0, WR=0, the device resets, ensuring stability.
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: The 8253 enters a three‑state (high‑impedance) condition only when CS is low (0) and both RD and WR are high (1), regardless of the address lines A0/A1. In this state the chip releases its data bus, preventing it from driving signals that might conflict with other devices. Option A describes the disabled state when CS = 1, which also isolates the chip but is not the defined “no‑operation” 3‑state. Option B incorrectly states that the device remains driven, which could cause bus contention. Option D mixes a reset condition that is unrelated. Knowing the exact 3‑state condition ensures reliable multi‑device bus designs.

Q6. A designer connects the OUT 0 pin to an LED that should turn on only when counter 0 reaches zero. Which additional pin must be properly configured to enable this behavior, and what logic level should it have?

A.OUT 0 must be pulled low; GATE 0 should be low. ✅
B.OUT 0 must be pulled high; GATE 0 should be high.
C.GATE 0 must be high (logic 1) to allow counting; OUT 0 will toggle when the count reaches zero.
D.GATE 0 must be low (logic 0) to enable the LED; OUT 0 is irrelevant.
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: The OUT 0 pin reflects the terminal count condition, but the counter only advances when its gate input (GATE 0) is asserted. Setting GATE 0 to a high logic level (1) enables counting, allowing the timer to decrement to zero and toggle OUT 0, which then drives the LED. Option A incorrectly ties the LED to a constant low; option B suggests pulling OUT 0 high, which would keep the LED on regardless of count; option D proposes disabling the gate, which stops counting entirely. Properly configuring GATE 0 ensures the LED illuminates precisely at the intended moment, a common requirement in visual timing indicators.)

🔗 Related Topics (MCQs)