All jobs / Embedded / hardware / Low-Power Design
Embedded / hardware interview question · 0–1 years
Your MCU offers several sleep modes. What actually differs between them?
The strongest answer
How much stays alive: deeper modes stop more clocks and power down more peripherals, may lose RAM contents, leave fewer sources able to wake you, and take longer to come back
Why it works
Right — the choice is a set of trade-offs: retention, wake sources, wake latency, and what your peripherals need.
What a good answer covers
- Deeper sleep costs retention and wake speed.
- List the wake sources you need.
- Check which RAM is retained.
- Budget the wake latency.
Answers that fall short
- Close, but not the strongest: The deeper the mode the less current it draws, so you pick the deepest one that can still wake up
That is the instinct; make the constraint explicit — which wake sources and how much RAM retention you need. - Weak: They all just stop the CPU; the difference is only what the datasheet chose to call them
They genuinely differ in what stays powered, what is retained, and what is allowed to wake the part. - Red flag: I use the deepest mode everywhere, and if something stops working I add a delay after waking
A delay added until it works hides lost peripheral state and will fail differently on the next board.
Who gets asked this
More Low-Power Design questions
- Battery dies in hours, not months. What do you measure first?
- How do you talk power without a fake “months of battery” slide?
- A sensor should sleep between readings, but the average current says it is barely sleeping at all. How do you…
- A product team wants a coin-cell sensor to run for years, and the first prototype is nowhere close. Which…
- Who owns battery life in a device company?