RTUEE / EC / EEEYr 2022 · Sem 52022

Q9Microprocessor

Question

2 marks

Q.9. Draw the block diagram of 8051 microcontroller and label it properly.

Answer

The 8051 block diagram comprises the CPU (ALU, register array, PSW), internal ROM/RAM, four I/O ports (P0-P3), two 16-bit timers, a serial port (UART), an interrupt control unit, and an oscillator/clock circuit, all interconnected via an internal bus system.

The 8051 microcontroller's block diagram comprises the following major functional blocks, interconnected via an internal bus: the CPU core (containing the ALU for arithmetic/logic operations, the register array including the Accumulator, B register, and general-purpose register banks, and the Program Status Word for condition flags); on-chip Program Memory (ROM/Flash, typically 4KB in the original 8051, larger in modern variants) storing the executable program code; on-chip Data Memory (RAM, typically 128 bytes in the original 8051) for temporary data storage during program execution; four bidirectional 8-bit I/O ports (P0, P1, P2, P3) providing 32 total I/O lines, with P0 and P2 doubling as the external memory address/data bus when external memory is used, and P3 pins doubling as alternate special-function signals (INT0, INT1, T0, T1, RxD, TxD, RD, WR); two 16-bit Timer/Counter units (Timer 0 and Timer 1) for timing, event counting, and baud-rate generation; a full-duplex serial port (UART) for asynchronous serial communication, with its own dedicated control (SCON) and data buffer (SBUF) registers; an Interrupt Control Unit managing the five interrupt sources, their individual enable bits (IE register) and priority levels (IP register); and an on-chip oscillator/clock generation circuit, which together with an external crystal connected to the XTAL1/XTAL2 pins, generates the internal clock signal driving all synchronous operations of the chip.

8051 Microcontroller Block DiagramCPU (ALU, Regs,PSW)ROM (Program)RAM (Data)Timers 0,1Interrupt CtrlPort 0Port 1Port 2Port 3 / Serial (UART)Internal Bus
Back to Paper