The following programming sequence to enable embedding of audio onto the SDI stream:
- Configure the video resolution in SDI TX.
- After the video from SDI TX is stable, configure UHD-SDI Audio
(Embed).
- 0x14 - 0x0001_01B0 (Enable external line number and configure the video resolution. In this case it is 1920x1080p60)
- 0x18 - 0x0000_0008 (48 KHz audio with 24-bit precision)
- 0x20 - 0xFFFF_FFFF (Enable embedding of all the channels)
- 0x04 - 0x0000_0000 (Bring the system out of reset)
- 0x00 - 0x0000_0001 (Module enable to start embedding of audio data onto SDI)
- If you want to change the video resolution, reset or disable the
UHD-SDI Audio (Embed).
- 0x04 - 0x0000_0002 (Keep the system in reset)
- 0x00 - 0x0000_0000 (Module disable)
- Repeat from step 1.
The following programming sequence to enable extraction of audio from the SDI stream.
- Read the status of the incoming audio (Optional).
- 0x0C – 0x0000_0100 (Enable audio status update interrupt).
- As part of the ISR, check for the presence of audio data on the incoming SDI stream (read - 0x40).
- If the audio data is present, read the sample rate and active channel information.
- Disable the interrupt after reading all the information (if not disabled, audio status update interrupt comes once for each frame).
- Enable other interrupts to detect change in any of the information you are interested in (sample rate change, active channel change, active group change, etc.).
- Configure the UHD-SDI Audio (Extract).
- 0x20 - 0xFFFF_FFFF (Enable extraction of all the channels).
- 0x04 - 0x0000_0000 (Bring the system out of reset).
- 0x00 - 0x0000_0001 (Module enable to start extraction of audio data from SDI).