- 2070 Bhadra · 4+4 marks
8051 internal structure and family chart
Show the internal structure of the 8051 microcontroller. Provide a comparison chart of the 8051 family members.
Internal structure of the 8051
+------------------------------------------------------+
| Interrupt control +----------+ On-chip |
| (INT0,INT1,T0,T1, | 4K ROM | oscillator |
| serial) | (code) | and clock |
| +----------+ |
| +--------+ +-----+ +----------+ +----------------+ |
| | CPU: | | PC | | 128 B RAM| | Timer 0, 1 | |
| | ALU, | |DPTR | | + SFRs | | Serial port | |
| | A, B, | | SP | +----------+ | (UART) | |
| | PSW | +-----+ +----------------+ |
| +--------+ internal bus |
| +------+ +------+ +------+ +------+ +-------------+ |
| | P0 | | P1 | | P2 | | P3 | | Bus control | |
| +--+---+ +--+---+ +--+---+ +--+---+ +-------------+ |
+-----|--------|--------|--------|----------------------+
v v v v
Port pins P0.0-P0.7 ... P3.0-P3.7 (32 I/O lines)
- CPU: 8-bit ALU, accumulator A, register B, PSW (flags), registers R0-R7 (4 banks), PC, DPTR, stack pointer.
- Memory: 4 KB on-chip ROM and 128 B RAM, plus SFRs.
- Timers/counters: two 16-bit (T0, T1). Serial port: one full-duplex UART.
- Interrupt logic: five sources with two priority levels.
- I/O ports: P0-P3, 32 lines; P0 and P2 also carry the address/data bus for external memory.
- Oscillator and bus control: XTAL1/XTAL2, ALE, PSEN, EA, RST.
8051 family comparison
| Device | On-chip program memory | RAM | Timers | Interrupts | I/O lines |
|---|---|---|---|---|---|
| 8031 | none (external ROM) | 128 B | 2 | 5 | 32 |
| 8051 | 4 KB ROM (mask) | 128 B | 2 | 5 | 32 |
| 8751 | 4 KB EPROM | 128 B | 2 | 5 | 32 |
| AT89C51 | 4 KB Flash | 128 B | 2 | 5 | 32 |
| 8032 | none | 256 B | 3 | 6 | 32 |
| 8052 | 8 KB ROM | 256 B | 3 | 6 | 32 |
| 8752 | 8 KB EPROM | 256 B | 3 | 6 | 32 |
| AT89C52 | 8 KB Flash | 256 B | 3 | 6 | 32 |
| AT89C2051 | 2 KB Flash | 128 B | 2 | 5 | 15 (20-pin) |
The 52 series adds Timer 2 and 128 more bytes of RAM; flash versions can be reprogrammed electrically.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Microcontroller vs microprocessor; 8051 features · Embedded System, chapter 9 · asked 2×
- Microprocessor vs microcontroller; 8051 addressing · Embedded System, chapter 9
- Addressing modes of 8051 · Embedded System, chapter 9 · asked 4×
- Why 8051 / its operational features · Embedded System, chapter 9 · asked 2×
- Purpose of port 3 and port 2 of 8051 · Embedded System, chapter 9 · asked 2×
- 8051 data memory organization · Embedded System, chapter 9
- Sending structure members to a function · Computer Programming, chapter 8
- Flowchart vs structure chart · Object Oriented Analysis and Design, chapter 1
- Internal structure of the earth · Engineering Geology I, chapter 2 · asked 7×
- Internal structure of earth and basis of study · Engineering Geology I, chapter 2