← Questions
Root-cause a Wi-Fi chip that stops after 30 minutes
0
I was asked this
No reports yet. Sign in to say where you were asked it.
A coding interview question asked in Apple's technical phone screen, last asked Mar 2026. It tests debugging, hardware and root cause analysis.
You are running automated tests on a Wi-Fi chip. It transmits normally at first, but after about 30 minutes it stops transmitting and no signal is observed. You can change the test, the firmware and the measurement setup. Describe how you would find the root cause, step by step.
What to cover
- The data you collect from the start: firmware logs, transmit counters and error codes, chip and board temperature, supply voltage and current, RF measurements from an analyzer, and the test's own logs, all on one clock.
- The hypotheses you rank first and why the steady 30-minute timing points at each: heat building up until thermal protection kicks in, power or regulator problems, a resource leak (memory, buffers, descriptors) running out, a counter or timer overflowing, a watchdog or power-saving state, the test harness itself, or the measurement equipment.
- The experiments that separate them: change one variable at a time, cool or heat the chip, vary the transmit duty cycle and power, check whether the time to failure moves, swap the chip, board or equipment, and run the firmware without the test script.
- How you confirm the cause: reproduce it on demand, show that the fix removes it, and run long enough to be sure.
Clarifying questions
- Is it exactly 30 minutes every time, or about 30 minutes with some spread?
- Does it recover on its own, after a reset, or only after a power cycle?
- Does it happen on every unit and board, or only some?
- Did it start after a firmware, test or hardware change?
- Does the chip still respond to commands while it isn't transmitting?
What a strong answer covers
- A method, not a guess: reproduce, instrument, form ranked hypotheses, test each with a controlled change.
- The physical side as well as software: temperature, power and RF are measured, not assumed.
- Using the timing as evidence: a fixed time suggests a timer or counter; time that shifts with load or temperature suggests heat or leaks.
- Keeping the measurement chain honest: the analyzer, cables and test script can be the cause.
- Writing up the root cause and a regression test that runs long enough to catch it.
Follow-ups
- Time to failure halves when you double the transmit duty cycle. What does that tell you?
- It only fails in the test lab, never on a bench. What differs?
- How would you add monitoring so a failure like this is caught in production units?
Where it's asked
- Apple · Technical phone screen · Last asked Mar 2026
What it tests
debugging · hardware · root cause analysis
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Sign in to submit your code; every attempt is kept here.
Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding
