Teensy 3.2 Audio Shield Project with external SD card

Status
Not open for further replies.

antsfail

New member
Hello all,

I've been working on a modular synthesizer/sampler project meant to be an addition to the Eurorack synth with a few friends. We were able to get our design working on an Arduino paired with a Raspberry Pi. The basic concept of our design is the module has 4 separate channels which will allow the user to select a channel, assign a .wav file from a microSD card and manipulate the file using a Gate button, Level potentiometer and Pitch potentiometer. Each channel will also have control voltage inputs for each gate, level and pitch.
We decided to pursue the design with the Teensy 3.2 with two Audio Shields to provide outputs to each channel. Our proof of concept design had the audio samples in program memory which is not how we want it to work. We want to allow the user to be able to change the audio samples on the fly with a microSD card.

Our challenges have been utilizing the I2S from the audio shield to ensure CD quality 44.1KHz audio output with an external SD card reader rather than using the SD reader on the audio shield. This is only for ease of use since the SD reader needs to be out at the face of the module while the audio shields are mounted on the teensy with the bulk of the electrical components behind the scene. How viable is this option? Can we use the sgtl5000 codec on the audio shield without using the SD reader while using another external SD reader?

The other question we had was concerning the DSP with the pitch and level manipulation. It also ties in with the previous question, is it possible to use an external SD reader to read in the .wav file into the teensy, manipulate the file and then send it back out through the audio shield without using the built-in SD reader? As of yet we are unable to utilize another SD reader while accessing the audio shield. On a side note, the audio library has been a good source for audio manipulation examples and we will also be adding a BLE module to allow the user to control the channels via a mobile app.

Any feedback would be great!
I'm happy to add any additional information that would be helpful...
4VS Original Drawing.png
 
Can we use the sgtl5000 codec on the audio shield without using the SD reader while using another external SD reader?
Yes you can. You only have to use another chip select line, i.e. not pin 10 that is connected to the uSD card on the Audio board. if you have populated the flash chip location also pin 6 is in use. See the schematic in https://www.pjrc.com/store/teensy3_audio.html for potential free pins.

Edit: simply not inserting a uSD card may also word, as the uSD card holder is simply passive.
 
Last edited:
We have tried a few different chip selects with mixed results. Sometimes the card is seen by the teensy but it won't actually read the card using the hardware testing sketch provided under examples. How important is the wire length of the interconnects between the teensy and the sd reader?
 
We have tried a few different chip selects with mixed results. Sometimes the card is seen by the teensy but it won't actually read the card using the hardware testing sketch provided under examples. How important is the wire length of the interconnects between the teensy and the sd reader?

Hi! I am trying to use an external SD card reader with the teensy 3.2 + audio shield.
How should the connections be? As far as I understood, I should connect MOSI to pin 7, MISO to pin 12 and SCLK to pin 14. Then, SC should not be connected to pin 10 because it is being used by the SD card of the audio shield, so I chose pin 5.
Could someone tell me why doesn't this work?
While running the CardInfo, I always get the "initialization failed!" message.

Thanks in advance!
 
Status
Not open for further replies.
Back
Top