I'm finally getting back to this and just wanted to update on some new progress-
I used a simpler CODEC (CS5343 on digilent PMOD I2S2 board) to test the I2S code above and it is working correctly, which to me reinforces the idea that I'm probably...
By default it starts in slave mode, which is also correct. With the ADC data internally routed to DAC it won't work if the externally supplied clock signals (Teensy) do not match the default i2s settings, hence the loopback mode also doesn't...
Looking at the Datasheet listing the startup seq, i see a bunch of power up commands and clk enabling, the I2S config holds the default values, i guess.
These values are almost correct, except the word length, which is by default set to 24bit...
Nice catch on both fronts @Pio! I appended the configuration of the word length to the end of my startup routine. The issue w/ the clock signals also just occurred to me so I adjusted it to start recording regardless of loopback state so it...
I'm not sure I'm following you on the loopback... I am not trying to output any digitally generated waveforms, so I shouldn't need any digitally generated signals in my code. It should send the signal received on the ADC directly to the DAC, and...
You might want to start by converting a simpler example, e.g. the PTS8211sine one - doesn’t get much simpler than that.
It seems loopback just sends your digital output back to the input. None of your code generates output, and the signal input...
Thank you for the feedback. Sorry, I should've specified that I am mainly trying to evaluate the ADCs at the moment. The relevant code here was converted from the recorder example, which seemed like a pretty straight forward example to work from...
Hello all,
I am trying to get the WM8904 audio codec eval board (AC328904) working with a Teensy 4.1, but I can't seem to get any signs of life from the ADCs or DACs.
I can communicate over I2C just fine (set and read back config registers...