Using different SPI bus for SD card with MKRZero

For the discussion of Arduino related topics.

Moderator: phalanx

Post Reply
Spleen
Posts: 1
Joined: Tue Jul 24, 2018 3:20 pm

Using different SPI bus for SD card with MKRZero

Post by Spleen » Tue Jul 24, 2018 3:29 pm

Hi there,

As the title suggests, I'm trying to use an Arduino MKRZero with a VS1053 breakout board. The MKRZero has 2 SPI buses and the on board SD card is attached to bus 2. I would like to use the SD card on the breakout board but the SPI bus broken out to the headers on the MKRZero is bus 1. Is there any way for the SD library to ignore the MKRZero's on board SD card in order to use an external SD card. Within the SD library itself i see a file called Sd2PinMap.h but i can't see the SAMD21 pin mapping. I feel like this would be the best way to do it.

Any ideas?

Cheers

Post Reply