📝 Receiver Section in 8085A Microprocessor (9 MCQs)
Serial-to-Parallel Character Reception in the 8251A
The receiver section of the 8251A accepts serial information through RxD and reconstructs it into parallel character data for the 8085A. It uses a receiver buffer, shifting circuitry and control logic to identify character boundaries, sample incoming bits and detect communication errors. Completed characters are placed in the receive data register and indicated through RxRDY.
RxC Sampling and Character Assembly
RxC controls receiver timing, and incoming data is sampled on its rising edge. In asynchronous mode, the receiver detects a start-bit transition and checks the character's data, optional parity and stop information. In synchronous mode, it uses programmed synchronization characters or an external SYNDET input to establish character boundaries.
RxRDY and Error Detection During Reception
After a complete character is transferred into the receive data register, RxRDY becomes high to notify the processor. The status register can report parity error, overrun error and, in asynchronous mode, framing error. Reading the received character clears the receive-ready indication, allowing the next character to be collected.
Example of Receiving a Character and Checking Readiness
Suppose a remote device sends 41H using the configured asynchronous format. The 8251A samples the serial bits through RxD, removes the framing information and assembles the eight-bit character. When RxRDY becomes high, the 8085 reads the data port and obtains 41H in the accumulator.
Preventing Character Loss in Continuous Reception
The processor should read each received character before the next one is transferred into the output buffer. If a new character arrives while the previous one remains unread, the older character is overwritten and the overrun flag is set. Polling or interrupt-driven service can reduce this risk in systems with frequent serial input.
Separating Parity, Framing and Overrun Errors
'Parity error means a stop bit is missing' is incorrect because a missing valid stop bit causes framing error. 'Overrun occurs when the serial clock is absent' is incorrect because it occurs when unread data is replaced by a new character. 'RxRDY means the serial line has just become active' is incorrect because it indicates a completed character.
Receiver Timing and Error Conditions in Examination Questions
Identify RxD and RxC and explain the rising-edge sampling relationship. Trace the conversion from serial bits to a parallel character, and state when RxRDY becomes active. Distinguish parity, framing and overrun errors, and explain why the processor must read the receive buffer before the next character arrives.
Receiver and Error-Detection Terms
- RxD - Serial data input.
- RxC - Controls receiver sampling timing.
- RxRDY - Indicates a received character is available.
- PE - Reports a parity error.
- OE - Reports overwritten unread data.
- FE - Reports an invalid stop bit.
📝 All Receiver Section in 8085A Microprocessor MCQs
Q1. What is the number of bits used in the terminal count register to store the byte count for a DMA transfer?
📖 Explanation: The terminal count register uses the least‑significant 14 bits to hold the transfer count, allowing up to bytes (16 KB). This limitation defines the maximum block size a single DMA operation can handle. Options A, C, and D are incorrect because they either underestimate or vastly overestimate the register width, which would change the addressable range. Understanding this size is essential when planning DMA‑driven data moves.
Q2. Why are the two most significant bits of the terminal count register used to indicate the operation to be performed by the device on that channel?
📖 Explanation: The two high‑order bits act as operation flags, telling the peripheral whether to read, write, or perform other functions during the transfer. This encoding lets the DMA controller convey command information without extra pins. Choices A and B misinterpret their purpose, and C describes address handling, which is controlled elsewhere. Recognizing the role of these bits helps designers configure correct channel behavior.
Q3. A system needs to move 20 KB of data using the 8257 DMA controller. Which strategy correctly accomplishes the transfer without exceeding the 16 KB limit of a single DMA operation?
📖 Explanation: The controller can only handle up to 16 KB per operation because the terminal count register holds 14 bits. Therefore the transfer must be broken into two segments: a full 16 KB block followed by a 4 KB remainder. Option B exceeds the register capacity, C unnecessarily complicates the process, and D defeats the purpose of DMA by involving the CPU.
Q4. During a DMA cycle, which pin indicates that the DMA controller has granted the bus to the peripheral after a hold request?
📖 Explanation: HLDA (Hold Acknowledge) is asserted by the DMA controller to signal that it has granted bus control to the peripheral, allowing the DMA transfer to proceed. HRQ is the request line sent by the DMA controller, READY shows peripheral readiness, and HOLD is driven by the CPU to request the bus be given up. Confusing these pins leads to timing errors, so recognizing HLDA’s role is vital for correct bus arbitration.
Q5. How does the Mode Set Register influence the behavior of an individual DMA channel?
📖 Explanation: The Mode Set Register configures each channel’s operation, specifying whether transfers occur in single, block, or demand mode and whether the address counter increments or decrements after each byte. This determines data flow characteristics. Options A and C describe functions handled by other registers (channel select and priority), while D is unrelated to logical configuration. Properly setting this register ensures efficient and error‑free DMA transfers.
Q6. A microcontroller has four DMA channels, but Channel 0 is reserved for a high‑priority audio stream. An I/O device requires an 8‑bit interface and a 10 KB transfer. Which channel should be assigned to this device?
📖 Explanation: Channel 2 is the appropriate choice because Channel 0 is unavailable, and Channels 1 and 3 may already be allocated to other peripherals or have incompatible width constraints. Selecting Channel 2 keeps the high‑priority audio stream untouched and provides a free channel that can handle the 8‑bit device and the 10 KB block (within the 16 KB limit). Options A, B, and D either conflict with reserved usage or assume unavailable resources.
Q7. When the terminal count register reaches its maximum value, which bits are effectively ignored for the byte count?
📖 Explanation: Only the two most‑significant bits of the 16‑bit terminal count register are repurposed as operation flags, leaving the lower 14 bits to represent the actual byte count. Consequently, the high‑order bits do not contribute to the numeric count and are ignored for size calculations. Options A and C misstate which portion of the register holds the count, and D suggests no bits are ignored, contradicting the register’s design.
Q8. Why is the DMA Address Register loaded by the CPU rather than the DMA controller itself?
📖 Explanation: The CPU programs the DMA Address Register with the starting memory location, enabling flexible placement of the transfer source or destination for each operation. This flexibility is essential for varied data blocks. Option A is partially true but focuses on bus ownership rather than flexibility; B is false since the DMA can access memory; D misattributes the issue to timing rather than configurability.
Q9. A peripheral signals it is not ready to accept data during a DMA transfer. Which pin should the DMA controller monitor to pause the transfer until the peripheral becomes ready?
📖 Explanation: The READY pin reflects the peripheral’s ability to accept or provide data; when it is de‑asserted, the DMA controller must stall the transfer to avoid data loss. DRQ indicates a request for DMA, HRQ is a hold request from the DMA controller, and MEMR signals a memory read operation. Misreading these signals would cause premature or delayed transfers, so correctly using READY ensures reliable synchronization between DMA and the peripheral.