Microprocessor
Microprocessor
Contents
1 Embedded Systems Fundamentals 1
1.1 Definition and Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Application Areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2 Microcontroller Architecture 2
2.1 8051 Core Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2.2 Special Function Registers (SFRs) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
3 Input/Output Subsystems 2
3.1 Signal Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
3.2 8051 Pin Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
4 Memory Addressing 3
4.1 Bit vs Byte Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
5 Processor Architectures 3
5.1 Microprocessor vs Microcontroller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
5.2 Modern Embedded Processors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1
2 Microcontroller Architecture
2.1 8051 Core Architecture
2×16-bit Timers
UART
4×8-bit I/O
3 Input/Output Subsystems
3.1 Signal Conversion
2
Pin Name Function
30 ALE Address Latch Enable (demuxes P0)
29 PSEN Program Store Enable (external ROM)
31 EA/VPP Internal/External memory selection
9 RST Reset (active high, 2 machine cycles)
4 Memory Addressing
4.1 Bit vs Byte Addressing
5 Processor Architectures
5.1 Microprocessor vs Microcontroller
ROM
RAM
RAMMicroprocessor SystemROM Microcontroller
I/O Chip