AnsweredAssumed Answered

AD9889B I2s Audio is not output on the HDMI interface

Question asked by DaveD Employee on Mar 4, 2011
Latest reply on Sep 26, 2011 by gelke

[Posted on behalf of a customer]

 

Our design using the AD9889B does not reproduce I2s Audio on the HDMI interface.

The AD9889B outputs video correctly and the status register 0xb8/bit5=1 reports that audio input activity is detected.

 

As a base for our initialization driver we used your driver, however this driver has many conflicts towards the ADV9889 Programming Guide Rev A Oct. 2010.

These conflicts affect the following registers, which we set in the following way.

(address = data)

        0x0a = 0x00

        0x98 = 0x03;

        0x9c = 0x38;

        0x9d = 0x60;

        0x9f = 0x00;

        0xa2 = 0x87;

        0xa3 = 0x87;

        0xbb = 0xff

We tried to set them according to the Datasheet and according to the driver, but no success both ways.

 

We checked that the  I2S  signals (I2S[0], sclk, lrclk) arrive properly and set the interface the following way: fs = lrclk = 44100 Hz, sclk = 64 * fs

I2S is format is according to page 33 figure 9 of the "AD9889B_AD9389B Programmer's Guide Oct10 2010".

What is puzzling is that on your Engineering page we find a remark that: “Low power Tx use SPDIF or I2S: AD9889B does not support 32 clock per fs format I2S”

In user forums we find however, that only 32-bit format is functional.

 

When the device is operating, the register dump of the ADV9889B looks like this:

ADV9889 Register dump (address 0x00 - 0xff):

[0] à[f]

[0] 00 00 18 80   00 6c 8b 00   00 00 00 0e   04 10 01 13   

[1] 25 37 02 00   00 00 00 00   06 62 04 a8   00 00 1c 84   

[2] 1c bf 04 a8   1e 70 02 1e   00 00 04 a8   08 12 1b ac   

[3] 00 00 00 00   00 00 00 00   00 00 00 80   00 01 04 00   

[4] 00 10 e0 7e   78 80 00 80   00 00 00 00   00 00 00 00   

[5] 20 00 00 00   00 00 00 00   00 00 00 00   00 00 00 00   

[6] 00 00 00 00   00 00 00 00   00 00 00 00   00 00 00 00   

[7] 00 00 00 00   00 00 00 00   00 00 00 00   00 00 00 00   

[8] 00 00 00 00   00 00 00 00   00 00 00 00   00 00 00 00   

[9] 00 00 00 00   84 c0 20 00   03 02 00 18   38 60 10 00   

[a] 00 00 87 87   08 04 00 00   00 00 00 40   00 00 40 06   

[b] 78 2e 03 a2   aa ca 7e 74   b0 00 70 ff   00 00 00 00   

[c] 00 00 00 00   00 10 14 00   02 03 00 01   02 00 00 70    

[d] 70 70 70 70   70 70 70 70   70 70 70 70   70 70 70 70   

[e] 70 70 70 70   70 70 70 70   70 70 70 70   70 70 70 70   

[f] 70 70 70 70   70 70 70 70   70 70 7d aa   1c 00 b0 00

 

Reproducing audio is dependent on the TV connected. Audio fails on a Sony Bravia TV, but works on a HP LCD Monitor.

Outcomes