PLL used for the synqrunization

New to XMOS and XCore? Get started here.
Posts: 1
Joined: Mon Apr 04, 2022 1:14 pm

PLL used for the synqrunization

Post by Mehdi »

Hello together,
I am for the first time using a XMOS for data transfer (TDIM -> USB).
I used the usb-audio6.15.2 code for my application, which also worked.
Since I have on an external clock, which I used for my synqrunisation I want to use that also as clock. on the boad is the PLL cs2100.
does anyone have an idea what I should change in the code to take the external clock as tackt.

thanks in advance.
You do not have the required permissions to view the files attached to this post.

User avatar
XCore Expert
Posts: 820
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

If you just want to frequency lock to the external word-clock input that should be fairly straight forward modification - mostly some control code to select the clock. If you want to use the word-clock input to drive the actual word-lock inputs to DAC/ADC (i.e. full phase locking to this external clock) that's going to take a bit more thought.