Issues with SPI for MCP2515 Connection on Arduino Nano 33 IoT

Hi All,

I have a system on another board (MKR NB1500) that I'm trying to test by producing a CAN signal, Im trying to do this similar to how my other board works, i.e. using SPI connected to a MCP2515 (shifting SPI->CAN) which is connected to a MCP2551 (High Speed CAN Transceiver), unfortunately when I initially set this up, I didnt consider the board seemingly only provided 3v3 SPI, and therefore probably couldn't communicate to the MCP2515, however, now that I have set up a BiDirectional Logic Shifter, I still get the same error from the library "Error initialising MCP2515", which I'm fairly certain stems from the arduino board, as the other board doesn't have this issue. As per the pinout, I'm using D13 as SCK, D12 as MISO, D11 as MOSI, D10 as CS, as well as the standard 3v3 and GND for my shifter.

Is there perhaps some issue with how the Adafruit MCP2515 library defines SPI pins? As the only parameter I pass is for the CS pin.

Thanks in advance.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.