Hi,
I want to play a WAV-File using AudioPlaySdWav from the µSD-Slot on the Teensy 3.6. The very one soldered on the Teensy-PCB. Not the one from the audio shield. The output should be using the internal DAC. I already struggle with the SD-Card access. My console writes "Unable to access the SD card".
From what I have read on this forum this should be easy. I uncommented
// Use these with the Teensy Audio Shield
// #define SDCARD_CS_PIN 10
// #define SDCARD_MOSI_PIN 7
// #define SDCARD_SCK_PIN 14
and used
// Use these with the Teensy 3.5 & 3.6 SD card
#define SDCARD_CS_PIN BUILTIN_SDCARD
#define SDCARD_MOSI_PIN 11 // not actually used
#define SDCARD_SCK_PIN 13 // not actually used
Yet I get "Unable to acces..." While researching, more questions arose:
. SPI needs MOSI, MISO, SCK and CS to work. Why do I only configure the CS-Pin, no MISO and there are confusing comments "Not actually used"?
. I configure the code to use the "Pins" 11 and 13. When I look at the schematic of the Teensy 3.6, these pins go to C8/PTC6 and D8/PTC5. These pins have nothing to do with the pins of the µSD-Card-Reader on the Teensy PCB, which are on PTE[5..0].
Please help. Thank you.
I want to play a WAV-File using AudioPlaySdWav from the µSD-Slot on the Teensy 3.6. The very one soldered on the Teensy-PCB. Not the one from the audio shield. The output should be using the internal DAC. I already struggle with the SD-Card access. My console writes "Unable to access the SD card".
From what I have read on this forum this should be easy. I uncommented
// Use these with the Teensy Audio Shield
// #define SDCARD_CS_PIN 10
// #define SDCARD_MOSI_PIN 7
// #define SDCARD_SCK_PIN 14
and used
// Use these with the Teensy 3.5 & 3.6 SD card
#define SDCARD_CS_PIN BUILTIN_SDCARD
#define SDCARD_MOSI_PIN 11 // not actually used
#define SDCARD_SCK_PIN 13 // not actually used
Yet I get "Unable to acces..." While researching, more questions arose:
. SPI needs MOSI, MISO, SCK and CS to work. Why do I only configure the CS-Pin, no MISO and there are confusing comments "Not actually used"?
. I configure the code to use the "Pins" 11 and 13. When I look at the schematic of the Teensy 3.6, these pins go to C8/PTC6 and D8/PTC5. These pins have nothing to do with the pins of the µSD-Card-Reader on the Teensy PCB, which are on PTE[5..0].
Please help. Thank you.