Hello,
I purchased an inexpensive PCM5102a module from ebay.
I put a teensy on a breadboard with it, and connected it using the information on this page
https://www.pjrc.com/teensy/td_libs_AudioOutputI2S.html
I used this code to hopefully passthrough the USB->I2S
Here is the breadboard
I'm relatively new to this, but I had great success wiring up an Audio Shield to the teensy and proving my application. The above situation is not working. Does anyone have any advice on what I should do to get this to work? Could it be the "long i2s lines" issue? I don't know how much shorter I can get.
Thanks for your help.
Jay
I purchased an inexpensive PCM5102a module from ebay.
I put a teensy on a breadboard with it, and connected it using the information on this page
https://www.pjrc.com/teensy/td_libs_AudioOutputI2S.html
I used this code to hopefully passthrough the USB->I2S
Code:
#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
#include <SD.h>
#include <SerialFlash.h>
AudioInputUSB usb1; //xy=200,69 (must set Tools > USB Type to Audio)
AudioOutputI2S i2s1; //xy=365,94
AudioConnection patchCord1(usb1, 0, i2s1, 0);
AudioConnection patchCord2(usb1, 1, i2s1, 1);
AudioControlSGTL5000 sgtl5000_1; //xy=302,184
void setup() {
AudioMemory(12);
}
void loop() {
delay(100);
}
Here is the breadboard
I'm relatively new to this, but I had great success wiring up an Audio Shield to the teensy and proving my application. The above situation is not working. Does anyone have any advice on what I should do to get this to work? Could it be the "long i2s lines" issue? I don't know how much shorter I can get.
Thanks for your help.
Jay