Use Case 1: Synchronize Digital Features Using SYSREF for Single Device with AC- or DC-Coupling - 2.6 English

Zynq UltraScale+ RFSoC RF Data Converter v2.6 Gen 1/2/3/DFE LogiCORE IP Product Guide (PG269)

Document ID
PG269
Release Date
2024-05-30
Version
2.6 English
  1. Disable the analog SYSREF receiver with the API command.
    SysRefEnable = 0
    status_dac|=XRFdc_MTS_Sysref_Config(&InstancePtr, &DACSyncConfigPtr, &ADCSyncConfigPtr, SysRefEnable)
    
  2. Set the mixer settings, NCO phase reset, QMC, and/or coarse delay.
    XRFdc_Mixer_Settings Mixer_Settings; // Declare mixer settings struct
    u32 Type                           = XRFDC_DAC_TILE;
    u32 Tile_Id                        ;
    u32 Block_Id                       ;
    u32 Mixer_Settings.EventSource     = XRFDC_EVNT_SRC_SYSREF;
    // it is assumed other Mixer settings have been previously assigned in the user code 
     for (Tile_Id = 0; Tile_Id  < 4; Tile_Id++ ) {
         for (Block_Id = 0; Block_Id  < 4; Block_Id++ ) {
             XRFdc_SetMixerSettings(&RFdcInst, Type, Tile_Id, Block_Id, &Mixer_Settings);
             status_dac |= XRFdc_ResetNCOPhase(&RFdcInst,Type, Tile_Id,Block_Id);     // Note that Coarse mixer and QMC could also be part of this for loop.
            }
     }
    
  3. Wait for successful return of API calls to ensure all register writes have been completed.
    if (status_dac!=XST_SUCCESS) // Execute error code;
  4. Enable the analog SYSREF clock in continuous mode and ensure this clock is stable.
  5. Enable the analog SYSREF receiver with the API command.
    SysRefEnable = 1;
    status_dac|=XRFdc_MTS_Sysref_Config(&InstancePtr, &DACSyncConfigPtr, &ADCSyncConfigPtr, SysRefEnable);
    
  6. Wait long enough to ensure a rising edge has been detected, at this point the update would commence.
  7. Disable the analog SYSREF receiver with the API command.
    SysRefEnable = 0;
    status_dac|=XRFdc_MTS_Sysref_Config(&InstancePtr, &DACSyncConfigPtr, &ADCSyncConfigPtr, SysRefEnable);
    
  8. Disable the external analog SYSREF clock (optional).
Figure 1. Dynamic Update Event Trigger Using SYSREF for Single Device with AC- or DC-Coupling