I am trying to build a CAN data logger. I have the MKR WAN 1300, MKR Proto shield with the SD port, and the CAN shield. I have found that when I have the CAN shield plugged in the SD card fails to initialize (Using the simple SD library CardInfo script and others). Same setup but if I unplug the CAN shield the card initializes. They both use SPI, but I believe the SD is tied to CS on pin 4 and the CAN shield is tied to pin 3. I have tried both with and without initializing the CAN bus. I am not an expert on SPI but believe it should work with multiple slave with different CS pins.
Am I missing anything?
Arduino IDE v1.8.9
SD library v1.2.3
For the board I used both the default SAMD MKR WAN and the pull request #400... and it didn't work for either.
Any help is appreciated.