cgeber24
Active member
I have successfully accessed an SD card using the BUILTIN_SDCARD connector on the Teensy 4.1
I now wish to also access a 2nd SD card connected to a Teensy 4.1's SPI Port; thus I need to supply the CS pin to the SD.begin(pin) function call.
Can any digital pin be used for this function? When I make this call, how would I know and/or specify which of the two Teensy 4.1 SPI ports will be utilized?
The Pinout diagram for the Teensy 4.1 seems to have some green SPI pins labelled "CS" and "CS1" but it is not clear what that means...perhaps CS Pin 10 implies SPI0 and CS1 Pin 38 implies SPI1?
Thanks,
Chuck Geber
I now wish to also access a 2nd SD card connected to a Teensy 4.1's SPI Port; thus I need to supply the CS pin to the SD.begin(pin) function call.
Can any digital pin be used for this function? When I make this call, how would I know and/or specify which of the two Teensy 4.1 SPI ports will be utilized?
The Pinout diagram for the Teensy 4.1 seems to have some green SPI pins labelled "CS" and "CS1" but it is not clear what that means...perhaps CS Pin 10 implies SPI0 and CS1 Pin 38 implies SPI1?
Thanks,
Chuck Geber