loading demo track
Silicon Validation Intern
Write a real answer. It is graded against the question's stored rubric, the mastery movement is computed by the same engine the product uses, and — the part worth watching — the next question is chosen by the real scheduler from what you have already answered. Nothing is saved and no tokens are spent.
32-bit ARM Cortex-M part; the sensor value is a 64-bit timestamped struct.
A board controller occasionally reports a sensor value that is physically impossible — a mix of an old and a new reading. The sensor is read in an ISR and consumed in the main loop. What is going on, and how do you fix it without disabling interrupts for long?