Skip to content

Added 2 ms delay after SPI RESET

Compare
Choose a tag to compare
@pierremolinaro pierremolinaro released this 07 Apr 16:37
· 2 commits to master since this release

In the MCP2515 data sheet (DS20001801J), section 8.1, page 55: The MCP2515 utilizes an Oscillator Start-up Timer (OST) that holds the MCP2515 in Reset to ensure that the oscillator has stabilized before the internal state machine begins to operate. The OST keeps the device in a Reset state for 128 OSC1 clock cycles after the occurrence of a Power-on Reset, SPI Reset, after the assertion of the RESET pin, and after a wake-up from Sleep mode. It should be noted that no SPI protocol operations should be attempted until after the OST has expired.

This section has been updated after Revision H, revealing that a delay should be observed after SPI Reset, after the assertion of the RESET pin.