Topic
Microcontrollers & architecture
What is inside the chip, how it reaches memory, and how it comes to life. Nine short insights, each with one diagram.
Start with MCU vs MPUInsights
-
MCU vs MPU
Why one chip runs your thermostat and another runs Linux.
-
Harvard vs von Neumann
One bus or two: how a CPU fetches code and data.
-
The memory map
Where Flash, SRAM and peripherals live in one address space.
-
Registers: GPRs vs SFRs
The CPU's scratchpad vs the switches that drive hardware.
-
Interrupts and the kinds you meet
How hardware gets the CPU's attention, and the kinds of interrupt you meet.
-
DMA: moving data without the CPU
Let the hardware copy bytes while the CPU does something useful.
-
The clock system
From a crystal to 72 MHz: oscillators, PLLs and prescalers.
-
Reset and boot sequence
What happens between power-on and the first line of
main(). -
The watchdog timer
A timer that resets the chip unless the firmware proves it is alive.