On Arduino Nano 33 BLE, the MCP2515 constructor locks up the device. Replacing the call to endSPI() at the end of the constructor with digitalWrite(SPICS, HIGH) fixes the issue.
Presumably it doesn't like the call to SPIn->endTransaction() without a matching beginTransaction().
On Arduino Nano 33 BLE, the
MCP2515
constructor locks up the device. Replacing the call toendSPI()
at the end of the constructor withdigitalWrite(SPICS, HIGH)
fixes the issue.Presumably it doesn't like the call to
SPIn->endTransaction()
without a matchingbeginTransaction()
.