Post Go back to editing

ADV7842 I2S output with compressed audio input

Thread Summary

The user encountered issues with no I2S output on AP1 when receiving Dolby Digital audio over HDMI with the ADV7842. The solution involved setting bit 7 of the HDMI Map 0x03 register (DIS_I2S_ZERO_COMPR) to 1, which is not documented in the current HW reference manual. The engineer provided the documentation for this bit and a related one (NEW_MUTE_COMPRS) that will be included in the next revision of the docs.
AI Generated Content

This is an open letter to the ADV7842 design team.

I was not able to get any output on AP1 in the I2S format with a compressed audio signal (Dolby Digital) coming in over HDMI. Every status indicator showed that it should be working and that audio was unmuted. I tried playing with I2SOUTMODE and finally found some activity on the pin when I set it to RAW SPDIF. But the SPDIF signal didn't look right so I set it back to I2S mode and just for the heck of it I tried setting bit 7 of the register (HDMI Map 0x03). Lo and behold I got the correct I2S output!

Bit 7 in this register is not documented in the HW reference manual or the register map. This register is not written to in any of the HDMI scripts. Needless to say I am really pissed off about the lack of documentation, having wasted several days trying to get it to work. This is such a basic operation for this part, most cable channels use Dolby Digital for their audio, that I can't believe this wouldn't have been tested and documented properly.