So far this has been just a Toy Project, but with the addition of SPI we can now take on more complex Arduino projects.
In order to verfiy and test the implementation of the Arduino SPI interface. I added the SdFat library from Bill Greiman (https://github.com/greiman/SdFat) and just used the SdInfo example. SdFat Version 2 supports FAT16/FAT32 and exFAT SD cards.
You can find more examples in the SdFat/exampes directory.
The Arduino HardwareSPI interface is using the Pico API with the following default pins
On the master MISO = pinRx and MOSI = pinTx
| SD | Pico | 
|---|---|
| CS | SPI-CS0 (GPIO 17) | 
| SCK | SPI-SCK (GPIO 18) | 
| MOSI | SPI-TX (GPIO 19) | 
| MISO | SPI-RX (GPIO 16) | 
| VCC | VBUS (5V) | 
| GND | GND | 

When I first tested the functionality, I wondered why the functionality did not work properly.