Thanks for your reply!
I’ve soldered a wire from a large ground test point to connect to the ESP. Do you think that’s sufficient? I tried to clamp it onto the spring pins, but they’re quite fragile and I didn’t want to damage them.
I perform a reset before configuring the TLVs, and after writing the registers I also verify that they’re set correctly.
Make sure any TLV you are not using are not writing anything onto the data bus (made that mistake more than once).
I assumed that should be handled by setting TDM mode on the TLVs. However, I also disabled one of the TLVs as a test and I’m still experiencing the same issue.
If you are setting a D-VAL (Page 0 registers 7 and 8) make sure you do the MSB immediately followed by the LSB. The linux driver does it the wrong way around. This won’t cause a problem if your DVAL is zero.
Enable 3-stating for DOUT (Page 0 register 27)
Finally, with a Pi and a 2nd Gen I’ve found that with the Pi as Bit and Word clock master I don’t get distortion but I do when the TLV is set as Bit and Word clock master. I suspect I have something wrong with my hardware setup rather than it being a TLV problem.
Thanks for these tips—I need to investigate your suggestions more thoroughly and I’m going to test them. In the meantime, I’ve experimented with various settings and now instead of distorted audio I’m getting a “Mickey Mouse” pitch-shifted effect so I’m not sure if I’m on the right track.
Do you get good/perfect audio from your setup?