Clock System
Digital hardware needs timing. An MCU may have an oscillator, PLL and clock dividers feeding the CPU and peripheral buses. Clock configuration affects instruction speed, timer periods and communication baud rates. Therefore, a peripheral driver cannot be designed correctly without understanding the clock supplied to that peripheral.
CORE IDEA
Clock source
ENGINEERING VIEW
PLL / multiplier
WHAT TO CHECK
Prescalers / dividers
REMEMBER
Peripheral bus clocks
Engineer’s checklist
- Clock source
- PLL / multiplier
- Prescalers / dividers
- CPU clock
- Peripheral bus clocks
// Level 0 practical notes
// Next iteration: register diagrams + full STM32 examples.