phil123456
Active member
Hello,
I try to use a PCM1802 and I noticed that the output was sliced, the data coming in are sliced too (parts are missing, DOUT is outputing nothing here and there)
so I checked the BCK signal and I noticed that the teensy (3.6) outputs 32 clocks of each L/R channel (LRCK)
while the datasheet says it has to be 48 in total, 24 BCK edges per channel
is there a way to change this in the audio code library ?
here is my test code
thanks in advance
I try to use a PCM1802 and I noticed that the output was sliced, the data coming in are sliced too (parts are missing, DOUT is outputing nothing here and there)
so I checked the BCK signal and I noticed that the teensy (3.6) outputs 32 clocks of each L/R channel (LRCK)
while the datasheet says it has to be 48 in total, 24 BCK edges per channel
is there a way to change this in the audio code library ?
here is my test code
Code:
AudioInputI2S i2s1;
AudioOutputAnalog dac1;
AudioConnection patchCord2(i2s1, 0, dac1, 0);
#define FSYNC 12 // has to be high on normal usage
void setup() {
AudioMemory(32);
pinMode(FSYNC,OUTPUT);
digitalWrite(FSYNC,HIGH);
}
void loop() {
}
thanks in advance
