Programming Sequence - 2.0 English

UHD SDI Audio LogiCORE IP Product Guide (PG309)

Document ID
PG309
Release Date
2024-05-30
Version
2.0 English

The following programming sequence to enable embedding of audio onto the SDI stream:

  1. Configure the video resolution in SDI TX.
  2. 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)
  3. 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)
  4. Repeat from step 1.

The following programming sequence to enable extraction of audio from the SDI stream.

  1. 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.).
  2. 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).