AnsweredAssumed Answered

ADV7513 Audio sample

Question asked by S.Griebsch on Aug 1, 2017
Latest reply on Aug 8, 2017 by JeyasudhaMuthuPerumal

Hi,

 

I'm struggling with the audio over HDMI.

I have my own hardware with the ADV7513 and also the ADV7612-7511P eval board.

If I connect my source (test pattern generator with audio) directly to the eval board and run the script 6-1e from

ADV7612-VER.2.9c_AVEB.txt the audio will be fine on the connected monitor.

If I use the I2S input from my hardware and connect it to the evalboard, the audio is also fine.

But if I connect my hardware to the monitor i only get the video display without audio.

 

For testing I did connect my hardware as source to the eval board and looked into the ADV7612 register I saw, that the

audio_sample_pckt_det bit is not set. So that brings me to the point, that there must be somthing wrong with my register setup.

 

I just can't find my mistake. I used the script as a reference. My settings are:

 

Reg 0x01 --> 0x00

Reg 0x02 --> 0x18

Reg 0x03 --> 0x00

Reg 0x15 --> 0x22      // 48kHz audio and 16-bit emb sync input

Reg 0x16 --> 0x38      // output 4:4:4, 8bit color depth, input style 3  

Reg 0x17 --> 0x03      // aspect ratio 16:9, de generation enabled

 

Reg 0x18 to 0x2F         // are setup for color space conversion (should not effect audio setup)

Reg 0x30 to 0x34         // emb sync adjustment (should also not effect audio settings)

Reg 0x35 to 0x3A         // de generation (same as above)

Reg 0x40 --> 0x80        // enabled gc packet

Reg 0x41 --> 0x12

Reg 0x44 --> 0x79

Reg 0x48 --> 0x00

Reg 0x49 --> 0xA8

Reg 0x4C --> 0x00

Reg 0x55, 0x00,                    
Reg 0x56, 0x2A,              
Reg 0x73, 0x01,
Reg 0x76, 0x02,
Reg 0x96, 0x20,
Reg 0x98, 0x03,     /* Recommended setting R0x98=0x03*/
Reg 0x99, 0x02,
Reg 0x9A, 0xE0,     /* Recommended setting R0x9A[7:5] = 0b111 */
Reg 0x9B, 0x18,
Reg 0x9C, 0x30,     /* Recommended setting R0x9C=0x30*/
Reg 0x9D, 0x61,     /* Recommended setting R0x9D[1:0]=0b01 */
Reg 0x9F, 0x00,
Reg 0xA2, 0xA4,     /* Recommended setting R0xA2=0xA4 */
Reg 0xA3, 0xA4,     /* Recommended setting R0xA3=0xA4 */
Reg 0xA5, 0x04,    
Reg 0xAF, 0x04,     /*0x16,*/
Reg 0xBA, 0x60,        //*sg --> 0xC0,     /* Recommended setting  */
Reg 0xBB, 0x00,     /* 0xFF */
Reg 0xD0, 0x02,      
Reg 0xD1, 0xFF,
Reg 0xD5, 0x00,

 

 

Maybe someone can find out why the audio sample packet are not send from my hardware.

 

Thanks for supporting

Outcomes