Raspberry Pi Audio Hats with Teensy 3

Status
Not open for further replies.

n0npr0phet

New member
Hi,
I have at least 3 Raspberry Pi Audio Hats collecting dust. Can I use these with my Teensy 3.6 and its amazing Audio Library?
If somebody has done this I would love some guidance.

I have 2 like this:
https://fe-pi.com/products/fe-pi-audio-z-v2 and https://fe-pi.com/products/fe-pi-audio-v1
pinouts https://drive.google.com/file/d/0B6Iw7GrAjGT_NWdJV2VaM2NrUWs/view

Could i use these SGTL5000 based board with AudioOutputI2Sslave?
09<- 12
22-> 40
23<- 35
maybe AudioControlSGTL5000 with:
19-> 5
18-> 3

And I have a Pimoroni pHAT DAC from Adafruit.
https://www.adafruit.com/product/3016
pinout here https://pinout.xyz/pinout/phat_dac
would it hookup similarly?

Thanks!
 
Hi,
I have at least 3 Raspberry Pi Audio Hats collecting dust. Can I use these with my Teensy 3.6 and its amazing Audio Library?
If somebody has done this I would love some guidance.

I have 2 like this:
https://fe-pi.com/products/fe-pi-audio-z-v2 and https://fe-pi.com/products/fe-pi-audio-v1
pinouts https://drive.google.com/file/d/0B6Iw7GrAjGT_NWdJV2VaM2NrUWs/view

Could i use these SGTL5000 based board with AudioOutputI2Sslave?
09<- 12
22-> 40
23<- 35
maybe AudioControlSGTL5000 with:
19-> 5
18-> 3

And I have a Pimoroni pHAT DAC from Adafruit.
https://www.adafruit.com/product/3016
pinout here https://pinout.xyz/pinout/phat_dac
would it hookup similarly?

Thanks!

I have only checked on the Web the V1. As it is 3.3V there should be no problem. you may have to tune the Audio library somewhat. The PJRC audio board with SGTL5000 is configured as slave (Teensy master) and gets also the MCLK from the Teensy. So some work may be necessary.
 
you may have to tune the Audio library somewhat. The PJRC audio board with SGTL5000 is configured as slave (Teensy master) and gets also the MCLK from the Teensy. So some work may be necessary.

Thanks WMXZ! I am a Teensy n00b so I apologize in advance for dumb questions.

I was under the impression that AnalogOutputI2Sslave was to be used for this exact instance. I remember seeing a chart where MCLK was an input to Teensy when using this object.

I am going to get a Teensy Audio Board so I have something to compare it to but in the meantime I tried to compare to AudioOutputAnalog. How do I select the pin my Teensy 3.6 has two right? :confused:

I hooked it up and got nothing. I used the Hardware Test Tonesweep but I got no sound and my serial log said Setup Done. I added more debug serial lines and it seemed to never leave the first playing loop.
 
Last edited:
Status
Not open for further replies.
Back
Top