Article Explain how to select CLKIN as input to PCG unit in GUL using driver APIs

Question:
Explain how to select CLKIN as input to PCG unit in GUL when application is running using SCLK0?

Answer:
Consider a scenario where user is providing clock via adi_pcg_Init() and then want to provide clock and framesync from CLKIN0 / External source, then they need to use adi_pcg_ClockSource() and adi_pcg_FrameSyncSource() APIs

Please refer "Precision Clock A Control 1" Register description. Here the CLKSRC bit decides whether the clock is generated from clkin / external DAI0.

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.