Embedded Systems 101

Bare metal.Real time.Full control.

Under every robot is firmware talking directly to silicon — reading registers, servicing interrupts, and hitting deadlines measured in microseconds. Embedded systems is where the code meets the chip.

Bare MetalRTOSInterruptsI2CSPIUARTGPIODMARegistersBootloader

/ what is embedded

Code that runs with no operating system to hide behind.

No garbage collector, no processes, no safety net — just your firmware, a datasheet, and a chip. A blinking LED, a UART print, and a timer interrupt are enough to start understanding how the bytes actually reach the silicon.

/ the firmware loop

Read → Compute → Write.

Read

Poll a peripheral or wake on an interrupt: sample a pin, read an I2C sensor, pull a byte off UART.

Compute

Run the logic: update state, run the control math, and decide which registers to touch.

Write

Drive the hardware: set a GPIO, load a PWM register, or kick off a DMA transfer.

/ inside the chip

The anatomy of a microcontroller.

CPU Core

The processor that fetches and executes your firmware, cycle by cycle, straight from flash.

Peripherals

GPIO, timers, ADC, and I2C/SPI/UART blocks — dedicated hardware you configure through registers.

Memory

Flash for code, RAM for state, and a memory map that ties every peripheral to an address.

Clocks & Power

Oscillators, PLLs, and low-power modes that set the pace and keep the current budget in check.

/ get hands-on

Ready to write bare-metal firmware?

Start with the Embedded Systems track — registers, interrupts, and RTOS from first principles.