If so, how?
What is "Sync"?, is WS; FS - Frame Sync?
(datasheet)
alc883.pdf
If so, how?
What is "Sync"?, is WS; FS - Frame Sync?
(datasheet)
alc883.pdf
Is this good?
pin 10(sync) > pin23(teensy 3.2)
pin 6(bitclk)> pin9(teensy 3.2)
pin8(sdata in) > PIN22(teensy 3.2)
what about teensy pin 9 "Output, 11.3 MHz" and alc883 pin6 "24Mhz bit clock input"?
Used this code:
Code:#include <Audio.h> #include <Wire.h> #include <SPI.h> #include <SD.h> #include <SerialFlash.h> // GUItool: begin automatically generated code AudioSynthWaveformSine sine1; //xy=204.1999969482422,187.1999969482422 AudioInputUSB usb1; //xy=205.1999969482422,93.19999694824219 AudioOutputTDM tdm1; //xy=577.1999969482422,134.1999969482422 AudioConnection patchCord1(sine1, 0, tdm1, 0); AudioConnection patchCord2(sine1, 0, tdm1, 1); AudioConnection patchCord3(sine1, 0, tdm1, 2); AudioConnection patchCord4(sine1, 0, tdm1, 3); AudioConnection patchCord5(sine1, 0, tdm1, 4); AudioConnection patchCord6(sine1, 0, tdm1, 5); AudioConnection patchCord7(sine1, 0, tdm1, 6); AudioConnection patchCord8(sine1, 0, tdm1, 7); AudioConnection patchCord9(sine1, 0, tdm1, 8); AudioConnection patchCord10(sine1, 0, tdm1, 9); AudioConnection patchCord11(sine1, 0, tdm1, 10); AudioConnection patchCord12(sine1, 0, tdm1, 11); AudioConnection patchCord13(sine1, 0, tdm1, 12); AudioConnection patchCord14(sine1, 0, tdm1, 13); AudioConnection patchCord15(sine1, 0, tdm1, 14); AudioConnection patchCord16(sine1, 0, tdm1, 15); // GUItool: end automatically generated code void setup() { AudioMemory(60); sine1.amplitude(0.9); sine1.frequency(720); } void loop() { }
(I used the alc622 schematic, it has same pinout as alc883)
pins I connected to teensy 3.2:
AVDD1 / AVDD2 to 5v
AVSS1 / AVSS2 to agnd
DVDD1 / DVDD2 to 3.3v
DVSS1 / DVSS2 to gnd
JDREF 20k R(not 1%) to gnd
VREF with 10 uf cap to gnd
SYNC to pin23(teensy)
BITCLK to pin9(teensy)
SDATAIN to PIN22(teensy)
cheap headphones to pins(codec) 45,46(Left/Right channels)
2nd cheap headphones to pins(codec) 39,41(Left/Right channels)
line in from PC to pins(codec) 35,36(Left/Right channels)
(the only cap I used was on VREF)
Connected individually 50k pot to pins(codec) 13,34(sense pins) and gnd, changed slowly the pot, I did not hear a single sound from headphones or line in on pc.(tried with prob 5% resistors, and it was the same)
(probed the codec pins without the jacks attached, most of the pins sit at half the dvdd/avdd(~1.6v, ~2.5v)
Last edited by FlameOnion; 03-19-2023 at 01:08 AM.