📝 Strobed Input of 8279 (7 MCQs)
External Data Capture Through the Strobed Input Mode
Strobed input mode allows the 8279 to receive an eight-bit data value from external hardware through return lines RL0–RL7. Instead of detecting individual keyboard positions through continuous key scanning, the device captures the complete return-line byte when the CNTL/STB input receives the required strobe transition. The received information is stored in FIFO RAM for processor retrieval.
Return-Line Data and Control Strobe Organization
RL0–RL7 act as an eight-bit input port, while CNTL/STB provides the external strobe input. SHIFT can provide additional status information. The 8279 supports both encoded and decoded display scanning in this input mode, allowing keyboard-related scanning outputs to continue serving display-refresh requirements.
Positive-Edge Triggered Data Capture
When the positive edge of the CNTL/STB signal occurs, the data present on RL0–RL7 is transferred into the FIFO. The controller stores the input byte so the processor can read it later. IRQ indicates that an input entry is available, provided the FIFO has available storage.
Example of Receiving an Eight-Bit Input Byte
Assume RL0–RL7 carry 5AH and an external circuit generates the required positive strobe edge at CNTL/STB. The 8279 captures 5AH into FIFO RAM. The processor responds to IRQ, issues the Read FIFO command and reads the stored byte through the data bus.
Applications in External Data Acquisition
Strobed input is useful when external hardware already generates encoded data and a control signal indicating that the byte is ready. It can interface with switch banks, encoded key sources and simple digital input circuits. FIFO buffering separates the external data arrival time from the CPU reading operation.
Misconceptions About Strobed Input
'Strobed input reads each return line separately' is incorrect because all eight lines provide one byte. 'The 8085 generates CNTL/STB' is incorrect because the external source supplies the strobe. 'The falling edge captures data' reverses the required positive-edge triggering behaviour.
Strobe Timing and FIFO-Input Examination Questions
Identify the functions of RL0–RL7, CNTL/STB and SHIFT. Trace the positive strobe edge and determine which byte enters FIFO RAM. Practise distinguishing strobed input from scanned keyboard and sensor matrix modes, and explain how FIFO storage and IRQ support subsequent CPU reading.
Strobed Input and Data-Capture Terminology
- Strobed Input - Captures an externally presented byte.
- CNTL/STB - Receives the input strobe signal.
- RL0–RL7 - Carry the eight input bits.
- FIFO - Stores captured input bytes.
- Positive Edge - Low-to-high signal transition.
- IRQ - Indicates available input data.
📝 All Strobed Input of 8279 MCQs
Q1. Which pin on the 8253 timer is designated as the Chip Select (CS) terminal?
📖 Explanation: Pin 21 is the Chip Select (CS) terminal on the 8253. The CS pin is used by the microprocessor to enable the timer; when it is driven low the device becomes active. Pin 21 is therefore the dedicated line for this function. Options B, C, and D refer to the Read (RD), Write (WR), and power (+VCC) pins, which serve different purposes and cannot act as CS. Knowing the pin numbers is essential for wiring the timer correctly in a hardware design.
Q2. Why is the CS (Chip Select) signal defined as active‑low on the 8253 timer?
📖 Explanation: The CS line is defined as active‑low because the timer is enabled only when the pin is driven to a low voltage level. In this state the internal circuitry is powered and ready to accept other control signals. If CS were high, the device would be in a high‑impedance or disabled state, preventing accidental operations. Option A is inaccurate; wiring simplicity is not the primary reason. Option B misstates power consumption, and Option D incorrectly claims that a high voltage would damage the chip. Therefore the correct answer is that low level enables the device.
Q3. A CPU needs to read the current count from counter 2. Which combination of CS, RD, WR, A1, and A0 must be asserted?
📖 Explanation: To read counter 2 the control‑signal table shows that CS must be low (0) to select the chip, RD must be low (0) to indicate a read, WR must be high (1) because write is not active, and the address bits must select counter 2, which corresponds to A1=1 and A0=0. This exact combination (CS=0, RD=0, WR=1, A1=1, A0=0) triggers the READ COUNTER 2 operation. The other options change one or more bits, causing a different action such as loading a counter or performing no operation, so they are incorrect.
Q4. How do the address lines A0 and A1 determine which counter or control word register is accessed in the 8253?
📖 Explanation: The A0 and A1 lines are tied to the address bus and act as selectors for the three counters and the control word register. When both are low (00) the device selects counter 0; 01 selects counter 1; 10 selects counter 2; and 11 selects the control word register. This binary encoding lets the CPU address each unit without extra pins. Option A incorrectly states that only A0 is used, Option C swaps the mapping, and Option D claims they are unused, which is false. Hence the correct mapping is described in option B.
Q5. If pin 14 (GATE 1) is held low while the WR line is also low, what operation is performed on counter 1?
📖 Explanation: When WR is asserted low, the CPU is writing data to the timer. If GATE 1 (pin 14) is also held low, the write operation is directed to counter 1, causing the counter to be loaded with the supplied count value. This is the 'Load counter 1' action defined in the control table. Option B (read) would require RD low, not WR. Option C (reset) is not a defined operation of the 8253, and Option D (no operation) would occur only if the address bits were undefined. Therefore loading counter 1 is the correct result.
Q6. When the CS line is high (inactive) and the WR line is low, what is the effect on the 8253 timer?
📖 Explanation: The CS pin must be low to enable any activity on the 8253. If CS is high (logic 1), the entire device is placed in a high‑impedance state, regardless of the states of other control lines. Consequently, even though WR is low, the timer will ignore the write request and perform no operation. Option A suggests loading counter 0, which cannot happen without CS low. Option B implies a read, which also needs CS low and RD low. Option D claims a reset, which is not triggered by these signals. Thus the correct answer is that no operation occurs.
Q7. What is the purpose of the CLK inputs (CLK0, CLK1, CLK2) for each counter in the 8253 timer?
📖 Explanation: The CLK inputs (CLK0, CLK1, CLK2) provide the timing pulses that drive each independent counter. Each counter increments (or decrements) on the rising or falling edge of its clock input, depending on the mode selected. Without these clock pulses the counters would not advance, rendering the timer useless. Option A misidentifies them as power supplies, Option C confuses them with reset lines, and Option D incorrectly says they select addresses. Therefore the primary purpose is to supply clock pulses for counting.