</>EmbeddedInterview

Articles

Longer explanations of the ideas interviewers love to dig into.

Embedded C

The volatile Keyword in Embedded C, Explained Properly

What volatile really guarantees, the three places you must use it, and the four things it does not do.

4 min read
Memory

Memory Layout of a C Program on a Microcontroller

Where .text, .data, .bss, heap and stack live on a Cortex-M, how they get there at boot, and how to read a map file.

4 min read
Linux Kernel

Writing Your First Linux Character Driver

A complete, modern misc character driver with read, write and a wait queue, plus the questions interviewers ask about it.

4 min read
Protocols

UART vs SPI vs I2C vs CAN — Choosing a Serial Bus

How the four buses differ in wiring, speed, topology and reliability, and how to choose one for a design.

4 min read
ARM Cortex-M

Interrupt Latency on Cortex-M, Explained

What contributes to interrupt latency and jitter on Cortex-M, how to measure it, and how to reduce it.

4 min read
Career

How to Prepare for an Embedded Software Interview

What firmware, BSP and Linux driver interviews actually test, how to structure your preparation, and how to answer well.

4 min read