Electrical Fundamentals and Signal Integrity Questions
The electrical and physical-layer knowledge firmware and embedded engineers need to work correctly with real hardware. Covers voltage, current, resistance, logic levels, pull-up and pull-down configuration, clocking, and reading schematics and datasheets, as well as ensuring reliable signals across board interconnects through noise, crosstalk, timing margins, termination, and grounding. Includes debugging intermittent hardware faults with oscilloscopes and logic analyzers and connecting physical-layer issues to observable firmware and system misbehavior.
Metastability and input jitter cause occasional corrupted reads from asynchronous digital inputs. Describe software-level mitigations (synchronizers, double-flop, oversampling, majority voting, hysteresis), their cost in latency and CPU usage, and outline how to design tests to estimate the MTBF (mean time between failures) for metastability on your target.
You suspect electromagnetic interference (EMI) from a nearby motor is causing random resets on your embedded board. Describe a practical diagnostic and mitigation plan: measurements to take with scope/logic analyzer, power-rail checks, decoupling, grounding and PCB layout fixes, shielding, and any software hardening you might do to tolerate transient disturbances.
An SPI peripheral returns correct data at low clock speeds but yields corrupted bytes when the clock is increased beyond a threshold. List likely electrical and software causes and propose a methodical debug approach using a scope and logic analyzer. Include potential hardware fixes (termination, series resistor, pull-ups) and software mitigations (adjust CPOL/CPHA, manage CS timing).
That is every published Electrical Fundamentals and Signal Integrity question for Embedded Developer so far. Browse the other topics in this category, or practice this one interactively.