Embedded engineer interview questions, and what a good answer sounds like

Embedded interviews test whether you understand what the hardware is doing underneath your code. Expect C questions on a whiteboard, a debugging story you'll be pushed on, and at least one question about a device that failed in the field. Here's what each stage looks for and how to answer the questions that come up again and again.

The process

What happens in each round

  1. 1

    Recruiter or hiring manager screen

    What happens

    Whether your background matches the stack: bare-metal microcontrollers, an RTOS, or embedded Linux. They'll ask what boards you've brought up and which tools you've used on the bench.

  2. 2

    Technical phone screen

    What happens

    Core C knowledge: pointers, bit manipulation, volatile, memory layout, and how an interrupt changes the way you write code. Often a short shared-editor exercise like parsing a byte stream from a UART.

  3. 3

    Onsite or virtual loop

    What happens

    A system design round for a device, a debugging round built around a real failure, and a deeper coding round. Some teams add a bench session where you read a schematic or a logic analyzer trace.

  4. 4

    Team and hiring manager conversation

    What happens

    How you work with electrical engineers, how you handle a slipped board spin, and whether you'd push back when a schedule would ship an unsafe update path.

Questions you're likely to get

1.What does the volatile keyword do, and when do you need it?

Why they ask

It's the quickest way to find out whether you've written code that talks to real hardware or only read about it.

How to answer

  • It tells the compiler the value can change outside the normal flow of the program, so every read and write must actually happen
  • Use it for memory-mapped registers and for variables shared with an interrupt handler
  • Say plainly that volatile doesn't make access atomic and doesn't replace a mutex or disabling interrupts
  • Give a real case, like a flag set in an ISR that a main loop spins on and never sees without volatile at higher optimization
2.Walk me through what happens between power-on and main() on a microcontroller you've used.

Why they ask

Embedded engineers own startup. They want to know you understand the reset vector, not just the code after it.

How to answer

  • The core reads the initial stack pointer and reset vector from the vector table
  • Startup code copies initialized data from flash to RAM and zeroes the bss section
  • Clocks, and sometimes external memory, get configured before anything relies on them
  • Mention where you've had to change the linker script or startup file, and why
3.How would you design the update system for a device that ships to customers and can't be recalled easily?

Why they ask

A bad over-the-air update can brick every unit at once. This question shows whether you think about failure first.

How to answer

  • Use A and B partitions, or an equivalent, so a known-good image always remains
  • Verify the image with a signature before switching, and use a boot counter so a failing image rolls back automatically
  • Handle power loss at every step of the write
  • Stage the rollout to a small group of devices before everyone, and have a way to stop it
4.Tell me about a bug you found that turned out to be hardware, not software.

Why they ask

They're checking whether you can work across the line with electrical engineers instead of throwing problems over the wall.

How to answer

  • Describe the symptom and why it looked like software at first
  • Name the tools you used to prove otherwise, like a scope on the power rail or a logic analyzer on the bus
  • Explain how you worked with the hardware engineer to confirm it
  • Say what changed afterward, such as a firmware workaround until the next board revision
5.When would you pick bare metal, an RTOS like FreeRTOS or Zephyr, or embedded Linux?

Why they ask

Choosing the platform is one of the biggest calls on a new product, and embedded engineers are often the ones making it.

How to answer

  • Bare metal for simple, low-power devices with tight timing and a small part
  • An RTOS when you have several tasks with deadlines and want scheduling without a full operating system
  • Embedded Linux when you need networking stacks, file systems, a display or a large software ecosystem, and can afford the memory and boot time
  • Mention cost, power, boot time, and the team's skills as real factors
6.How do you share data safely between an interrupt handler and the main code?

Why they ask

Race conditions with interrupts are some of the hardest bugs in the field, and they're easy to write.

How to answer

  • Keep the ISR short: grab the data, set a flag or push to a queue, and get out
  • Use a lock-free ring buffer with one writer and one reader, or briefly disable interrupts around the critical section
  • Explain the cost of disabling interrupts for too long
  • Mention RTOS-safe queue calls if you're using an RTOS
7.A board you're bringing up doesn't boot. Where do you start?

Why they ask

Bring-up is a core part of this job, and your process matters more than a lucky guess.

How to answer

  • Check power first: rails, sequencing and current draw on a limited bench supply
  • Confirm the clock is running and the reset line is released
  • Get a JTAG connection and see how far the code gets, or get the earliest serial output working
  • Compare the pin mapping in your device tree or board config to the actual schematic
8.Write a function that sets, clears and toggles a bit in a register.

Why they ask

Bit manipulation is daily work here, and it's easy to test on a whiteboard.

How to answer

  • Use OR with a shifted mask to set, AND with the inverted mask to clear, XOR to toggle
  • Treat the register pointer as volatile
  • Point out that read-modify-write on a shared register isn't atomic, and mention set and clear registers where the part has them
9.How do you test code that runs on hardware?

Why they ask

Teams want engineers who don't rely on flashing a board and hoping.

How to answer

  • Unit test the logic on the host with a framework like Unity or GoogleTest, with the hardware layer mocked
  • Run hardware-in-the-loop tests on real boards in CI for drivers and timing
  • Use soak tests and power-cycle tests to catch rare failures
  • Say what you'd never mock, like the actual boot and update path
10.How would you cut a device's sleep current?

Why they ask

Battery life is a product feature, and embedded engineers are usually the ones who find the waste.

How to answer

  • Measure first with a current probe or power analyzer, not a guess
  • Put unused peripherals and GPIOs into their lowest-power state
  • Use the deepest sleep mode the wake source allows, and batch work to wake less often
  • Check for leakage through pull-ups or peripherals powered on the board
11.Tell me about a time a schedule and a technical risk were in conflict.

Why they ask

Hardware schedules slip, and shipping bad code to devices is expensive. They want to know how you handle that pressure.

How to answer

  • Describe the deadline and the specific risk you saw
  • Show how you made the risk concrete for non-engineers, with a demo or data
  • Explain the compromise you proposed and what happened

Mistakes that sink good candidates

Treating the hardware as someone else's problem when you describe a bug

Claiming you know embedded Linux when you've only used a Raspberry Pi with a stock image

Answering C questions with desktop habits like heavy dynamic allocation on a small part without saying why it's safe

Having no story about a bug that took you days to find

Need more Embedded Engineer interviews to prep for?

HeroApply applies to Embedded Engineer jobs that match you, every day.

Find Embedded Engineer jobs