I would like to use the audio outputs from the ADV7850, how are they enabled?
The ADV7850 is very flexible and can input audio data from the audio codec either analog video or digital video, or it can extract the Audio data from the HDMI stream.
For HDMI steam Audio extraction, once configured in a HDMI mode, if the audio pins are untristated, the data is available as I2S or SPDIF data on the AP pins. The tristate controls are found in IO Map register 0x15
For Analog data input, the data can be routed out through the digital output pins similar to the HDMI data as SPDIF or I2S data. This is carried out the same way by configuring the Audio Codec and enabling the Audio pins.
Additionally the analog data can be output on the HDMI stream by carrying out the following write IO Map 0xDF- > 0x20. This will allow the audio data to appear on the HDMI output.
For Digital inputs, the audio data can be inserted on the digital AP pins with an audio clock and the audio can be sent out the headphones DAC or inserted into the HDMI stream with the I2C write IO Map 0xDF- > 0x20.
There are sample Audio Codec scripts on the ADV7850 Design Support Page.
Retrieving data ...