Other Parts Discussed in Thread: TAC5212
Tool/software:
Hi
I've been playing with the presets in PP3 with the TAC5212EVM-K development board.
The "Record AC-Couple Single-Ended IN1-IN2" preset allows me to record a stereo signal to my PC via Audacity.
The "Playback Single-Ended Mono LINEOUT OUT1-OUT2" preset allows the recording to be played from my PC out of the CODEC phono sockets.
This is great, but I noticed that the playback I2C settings includes "w a0 26 01", this basically tells the CODEC to expect DIN to be offset by 1 BCLK cycle compared to standard protocol definitions.
This can be seen in the GUI too:
If I remove this offset, the 800 Hz sine wave output distorts horribly:
Interestingly the TAx5x12EVM-K Evaluation Module User Guide (Jan 2024) has the same playback confguration listed on page 34 and it doesn't set register 0x26 meaning it is default and therefore no offset has been applied.
I cannot understand why the TDM interface to the AC-MB board would not be standard protocol.
I then connected my STM32 development board with standard I2S protocol settings and this too would only work if the offset was configured.
Can anyone shed any light on this please?
Many thanks
Graeme