Embedded Systems Engineer Interview Prep
OverviewBuilds and owns firmware for microcontrollers and real-time embedded products: drivers, interrupt and task timing, and the memory and power budgets that decide what ships.
Curated: · Written: · Reviewed:
- Interview Q&A
- 106
- Practice MCQs
- 100
Top 100 Embedded Systems Engineer Interview Questions and Answers
The questions most likely to actually be asked, ranked by likelihood, with pro-level model answers.106 Q&ATop 100 Embedded Systems Engineer Practice MCQs
Quick multiple-choice self-checks covering the same high-value ground, with an explanation for every answer.100 MCQsThe role in one line
Owns the firmware between the silicon and the product: drivers, interrupt and task timing, and the flash and RAM budgets that decide what ships.
The interview loop
| Round | What it scores |
|---|---|
| Technical screen | Embedded C semantics: volatile, alignment, packing, undefined behavior, integer wrap |
| Hardware to firmware | Datasheet and schematic read into a driver; the fault path when the peripheral stays silent |
| Timing and RTOS | Deadline budget; the race or inversion named before the fix; jitter sources |
| Debug and reliability | Map file, fault decode, watchdog policy, reset-cause retention |
| Memory, power and update | Stack and heap numbers, sleep wake cost, bootloader and rollback boundary |
| Systems review | Tradeoffs with figures, and the test or trace that proves them |
Five must-know areas
- Interrupt and task timing: worst-case latency, critical section length, priority inversion through a shared mutex.
- Memory-mapped I/O: volatile versus barriers, read-modify-write on live registers, reserved bits kept at reset.
- Memory budgets: linker map totals, stack high-water marks, no heap in ISRs, DMA cache maintenance.
- Boot and update: vector table placement, image validation before the jump, rollback when the new image faults.
- Power and reliability: wake latency, watchdog ownership, what survives a reset in .noinit.
Numbers and formulas to have ready
State the budget before the design. ISR load on one core:
At 10 kHz on a 168 MHz core, each interrupt gets 16,800 cycles. A hypothetical 4,000-cycle worst path takes about 24 percent of the CPU before any task runs, so I would check the worst-case nesting before I accept it.
Image fit, with .data initializers stored in flash:
Task stack sizing:
USART divisor with 16x oversampling (the default on classic USART; check the reference manual for your part):
Wrap-safe deadline test, unsigned subtraction read as signed:
Reference architecture
Strong vs weak answers
| Topic | Strong answer sounds like | Weak answer sounds like |
|---|---|---|
| Volatile | volatile stops the compiler caching the read; bus ordering still needs a barrier or a dependent read | volatile makes it thread-safe |
| Stack overrun | MPU guard region faults on write; high-water mark read from the fill pattern; worst call depth stated | just make the stack bigger |
| 12 words of headroom | 12 words is 48 bytes on a 32-bit core; I need worst-case call depth and ISR nesting before I ship | yes, it has headroom |
| ISR timing | at 10 kHz the budget is 16,800 cycles at 168 MHz; here is the worst path against it | it should be fast enough |
| Overrun clear | on F4 the ORE flag clears by reading SR then DR, not by writing zero to SR | I write SR to clear everything |
| Malloc in ISR | heap lock can block; the ISR has no bounded time; a static ring buffer sized from line rate | it usually works |
| Reserved bits | I read the register, change only my fields, and write back the reserved bits as read | I OR in all ones for future use |
Interview tips
- State the clock and the cycle budget before writing any code.
- When a register misbehaves, name the rule it broke (reserved bits, read-clear sequence, clock enable before access) before proposing a fix.
- Put a number on stack and heap, and say where the worst case comes from.
- Close each answer with the trace or test: logic analyzer capture, map file diff, MPU fault, decoded HardFault.
- Name the option you rejected and the figure that rejected it.
Last-week checklist:
- Re-derive the 512 KiB flash fit from a real map file.
- Decode a HardFault by hand from CFSR, HFSR and the stacked PC.
- Write USART and SPI init from the reference manual, not from memory.
- Answer 10 Top 100 Q&A questions aloud, assumptions first.
- Run the Practice MCQs on volatile, alignment and interrupt masking.
- Walk the Concepts in study order and stop at any you cannot draw from memory.
Feedback on this overview
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.