A frame can wake the controller without reaching its receive buffer
The MCP25625 ignores the frame that wakes it from Sleep and any frames sent while it is still waking. A working 16 MHz crystal does not make that same frame both a wake signal and a valid business command. The controller wakes into Listen-Only, not directly into normal communication. Separate wake activity from the first substantive command, or define a reliable retry and acknowledgment mechanism, and verify the host returns both controller and transceiver to the required states.
This is different from a unit that never receives after cold boot. Before blaming oscillator accuracy, determine which message woke the node, when its clock became usable and when firmware completed the transition. A wake interrupt does not show the requested payload is in a receive buffer.
Controller Sleep and transceiver Standby are separate
| Event | Owner | What to check |
|---|---|---|
| CANCTRL Sleep request | Controller | Read CANSTAT OPMOD to verify entry |
| STBY pin high | Transceiver | Normal transmit path off; low-power detection can monitor activity |
| Bus wake activity | Wake path | Relevant supply rails, enables and interrupt state |
| Ready for normal communication | Both sections | Controller no longer Listen-Only; transceiver back in normal mode |
Why does a normal STBY pin not prove the controller is in Normal mode?
STBY governs the physical layer. Sleep is a controller state requested through a register. Read back actual state because pending transmissions can delay a transition. After wake, returning STBY to normal does not automatically enable controller acknowledgments or responses. Keep the required VDDA and VIO conditions for bus wake. Log interrupt, STBY and actual mode, and separate the earliest bus activity from the first usable reply. Preserve fault-state evidence before a test script clears it.
What does the 128-cycle startup timer mean?
The oscillator startup timer is 128 OSC1 cycles. At 16 MHz one cycle is 62.5 ns, so 128 cycles is 8 µs. That is the timer interval at the stable frequency, not a promise of normal bus communication 8 µs after the wake event. Detection, physical crystal startup, interrupt service and mode recovery are additional intervals.
Distinguish steady Sleep from the wake-up timer window. The data sheet allows SPI reads during Sleep but warns not to attempt SPI protocol operations before the oscillator startup timer expires. A successful read in steady Sleep does not qualify an immediate wake-up read. For observation through CLKOUT, verify enable and division. The controller emits sixteen additional CLKOUT cycles before entering Sleep. CLKOUT idles low in Sleep, whereas disabling that output makes it high impedance. These observations are not interchangeable diagnoses.
Make wake and the first real command separate events
Use known wake activity followed by a substantive command after a validated window, with response, bounded retries and timeouts as needed. Make repeated commands safe where repeating an action has side effects. Establish these behaviors on a controlled and authorized bench rather than repeatedly driving operational equipment.
Put four events on one timeline
Capture bus activity, wake indication, readback of Normal mode and the first expected business response. Establish a baseline at nominal conditions, then test the product's operating supply and temperature range. Separate bus wake from any other configured wake path and verify whether their timing differs. If only one fails, investigate its specific transition rather than averaging both.
Specify the crystal separately from the wake-up behavior
Epson's FA-238 Q22FA23800421xx is a documented 16 MHz, 10 pF passive crystal example. It illustrates how to specify frequency, load and full code, not a cure for the lost first frame. Verify the circuit's frequency limits, ESR, drive, load and temperature. Qualify startup and stability on their own; do not use a frame documented as ignored to judge crystal quality.
Record which frame is intended to wake the unit, which is the first real command and both mode readbacks in a failure. If the next frame is also missing, check whether the design expected acknowledgment in Listen-Only, whether acceptance filters and timing match, and whether firmware used SPI too early. Across board revisions check firmware and power first. Stable timing, readiness to receive and reliable delivery are separate outcomes.
If CLKOUT also serves other devices, capture their state while the clock stops and restarts. A host tasked with restoring the interface needs a clock path that actually operates then. Document this dependency rather than substituting a tighter crystal grade for a sequencing requirement. Expose separate observation points for the bus and divided clock so their timestamps cannot be mistaken for each other.
Use distinct test sequence numbers at sender and receiver to tell the ignored wake-up message from later traffic or fixture retries. When a fault appears only during temperature or supply changes, preserve separate pass and fail traces and compare interrupts and mode readbacks. Do not replace a failing record with one room-temperature success. For any latency requirement, identify both the starting event and the usable function that ends the measurement.
