We are using the adv7604 for our video encoding/decoding along with a TI-DaVinci chip. I'm using the adv7604 to capture an audio signal via HDMI & then playback using the HDMI on our board. I'm using all the recommended settings provided in the adv7604 manual, specifically, the HDMI receiver example in page 18 of the ModesofOperation manual attached. The HDMI input is directly fed into the adv7604 I2S0/I2S1 input pins. I send an audio signal via the HDMI and I observe intermittent audio signals!! Specifically, here are the settings:
7. Example Scripts
7.1. HDMI Receiver Mode Example
7.1.1. Example HDMI Script for HDMI Receiver Mode
40 0C 42 ; Power up CP core, Power down VDP
40 0B 44; Powerdown ESDP
40 F8 30 ; AFE Address to 30.
40 01 06 ; Prim_Mode =110b HDMI-GR
40 02 F4 ; Auto CSC, YPrPb out
40 03 42 ; 36 bit SDR 444 Mode 0
40 04 02 ; OP_CH_SWAP for configuration
40 05 28 ; AV Codes Off
40 06 A7 ; invert llc, invert VS and inver HS
40 14 7F ; Drive strength adjustment
44 BA 01 ; SEt HDMI FreeRun
30 C8 40 ; ADI recommended setting
68 01 00 ; Enable clock terminators
68 10 25 ; Set CTS Change Threshold
68 1A 0A ; Set Unmute Delay to 1_5 sec
68 1D 18 ; ADI Recommended Setting
68 1D 08 ; ADI Recommended Setting //Why am I setting the same register to 2 different values? This is probably an error & what's the right register?
68 3D 10 ; ADI Recommended Setting
68 57 90 ; Enable dynamic PLL control
68 58 01 ; Recommended PLL setting
68 91 20 ; Equaliser ADI recommended setting
68 93 8C ; Equaliser ADI recommended setting
68 94 2C ; Equaliser ADI recommended setting
68 96 01 ; Enable automatic EQ changing
40 15 80 ; Disable Tristate of Pins
After setting the above values, I'm monitoring the audio registers:
TMDS PLL is locked (refer to VIDEO_PLL_LCK_RAW)
I2SOUTMODE[1:0]: 01 Right I2S justified.
However, I'm not seeing the interrupt generated by AUDIO_CH_MD_ST even though I see video coming out of the adv7604. I have several questions:
1. What could this be due to & also, am I setting the registers correctly above?
2. What are the specific registers to be monitored for HDMI audio?
3. Is there another example for HDMI receiver mode in any of the manuals or any other forum that I can try?