โ† Embedded Systems learning path
Embedded Systems ยท Module 2 of 10

Microcontroller architecture

Understand what's inside a microcontroller.

๐Ÿ“– Key ideas

  1. CPU core executes instructions.
  2. Flash stores program; RAM stores variables.
  3. Peripherals: GPIO, timers, ADC, UART, SPI, I2C, PWM.
  4. Clock sets processing speed.
  5. Popular families: AVR (Arduino), ARM Cortex-M (STM32), ESP32, PIC, 8051.
๐Ÿ’ก Real-life example: A microcontroller is a tiny factory: CPU workers, Flash recipe book, RAM workbench, peripherals as doors.
Flash memoryNon-volatile program storage
RAMVolatile working memory
PeripheralBuilt-in hardware module
ClockTiming signal for the CPU