New to the Teensy and starting off with the 4.1 and audio board 4.0 and following the Audio Workshop with both boards on a breadboard rather than stacked. Jumper wires are all 4” long maximum.
The only area I cannot get to function is the SD card on the audio adapter. Taking a step back and simply using the example Teensy sketch - CardInfo, it reports a failed initialisation. I have selected the appropriate SPI I/O for the 4.1 combo: By default MOSI is 11, MISO 12, SCK 13 and CS is 10 but to make sure I have uncommented the audio board lines and changed them to the above.
If I move the SD card from the audio adapter into the 4.1 and change the chipSelect to BUILTIN_SDCARD then all works perfectly suggesting that the audio adapter is functioning fine.
Out of desperation, I have changed the SPI addressing to point towards the 4.1 built in SD card instead of using BUILTIN_SDCARD:
MOSI 43, MISO 42, SCK 45, CS 44 but again a fail initialisation. I have tried another external SD card and similar failed results.
I have buzzed out the jumper wires from the Teensy 4.1 right through to the pins on the audio adapter SD carrier and they are all good.
So, the SD card and audio adapter are fine as they play back the sample wav files when inserted into the Teensy 4.1 slot. Any attempt to use any SPI, SPI1 or SPI2 results in a failed initialisation.
Just a final point, in case the wrong duplicate libraries are being used, I have renamed the Arduino libraries folder to force it to use the Teensy libraries. Looking at the verbose output, references all look to be pointing towards hardware\\teensy etc
I am at a loss now as to what else to try so would welcome any suggestions.
The only area I cannot get to function is the SD card on the audio adapter. Taking a step back and simply using the example Teensy sketch - CardInfo, it reports a failed initialisation. I have selected the appropriate SPI I/O for the 4.1 combo: By default MOSI is 11, MISO 12, SCK 13 and CS is 10 but to make sure I have uncommented the audio board lines and changed them to the above.
If I move the SD card from the audio adapter into the 4.1 and change the chipSelect to BUILTIN_SDCARD then all works perfectly suggesting that the audio adapter is functioning fine.
Out of desperation, I have changed the SPI addressing to point towards the 4.1 built in SD card instead of using BUILTIN_SDCARD:
MOSI 43, MISO 42, SCK 45, CS 44 but again a fail initialisation. I have tried another external SD card and similar failed results.
I have buzzed out the jumper wires from the Teensy 4.1 right through to the pins on the audio adapter SD carrier and they are all good.
So, the SD card and audio adapter are fine as they play back the sample wav files when inserted into the Teensy 4.1 slot. Any attempt to use any SPI, SPI1 or SPI2 results in a failed initialisation.
Just a final point, in case the wrong duplicate libraries are being used, I have renamed the Arduino libraries folder to force it to use the Teensy libraries. Looking at the verbose output, references all look to be pointing towards hardware\\teensy etc
I am at a loss now as to what else to try so would welcome any suggestions.