sync clock to digital in - how to PLL?
Posted: Sat Mar 04, 2017 12:54 am
Hi again,
I made some progress using the ADAT library and can read the sample array and hand it over to the i2s in frame_master to send it out. I hear audio but clicking and drops - I guess it's because the entire system runs on the PL611 to make the DACs happy (indeed the gpio are set accordingly) but now I want to slave to the incoming ADAT/SPDIF clock. The adat_rx library is free-flying and doesn't need a clock and I don't want to introduce an ASRC. I tried to set the gpio_output to select the CS2100 but then no master clock is generated and I wonder how to feed the PLL with my digital audio bitstream (is this done in hardware?). I also read about the clockgen but couldn't find an example on how to gain the clock and then: where to go with it? I'm on the xCore-200 MC board.
Can somebody please explain clocking/PLL in combination with digital input and without ASRC, the documentation isn't really helpful to me, it seems.
Thanks a lot!
I made some progress using the ADAT library and can read the sample array and hand it over to the i2s in frame_master to send it out. I hear audio but clicking and drops - I guess it's because the entire system runs on the PL611 to make the DACs happy (indeed the gpio are set accordingly) but now I want to slave to the incoming ADAT/SPDIF clock. The adat_rx library is free-flying and doesn't need a clock and I don't want to introduce an ASRC. I tried to set the gpio_output to select the CS2100 but then no master clock is generated and I wonder how to feed the PLL with my digital audio bitstream (is this done in hardware?). I also read about the clockgen but couldn't find an example on how to gain the clock and then: where to go with it? I'm on the xCore-200 MC board.
Can somebody please explain clocking/PLL in combination with digital input and without ASRC, the documentation isn't really helpful to me, it seems.
Thanks a lot!