How to handle slight variation in MCLK Frequency Topic is solved

Sub forums for various specialist XMOS applications. e.g. USB audio, motor control and robotics.
avrobot
Member
Posts: 14
Joined: Mon Jun 04, 2018 4:26 am

How to handle slight variation in MCLK Frequency

Postby avrobot » Sat Jan 16, 2021 10:59 am

Hi, we have an industrial application with audio where we need to have dynamic control over MCLK frequency on the Xcore-200 MC audio board (This is due to a special application on the Host that has some variation).
The output of the PLL seems clean and the audio glitches happen a within one second of the change (not necessarily immediately).

Are there any constraints or buffering we can add to the app_usb_aud_xk_216_mc example application to allow for this?
How could we implement this in a glitch-less way?
Last edited by avrobot on Tue Jan 19, 2021 11:10 am, edited 1 time in total.
View Solution
User avatar
akp
Respected Member
Posts: 510
Joined: Thu Nov 26, 2015 11:47 pm

Postby akp » Mon Jan 18, 2021 2:00 pm

Just to clarify, is this in Speaker (DAC) mode or Mic (ADC) mode, or both? Honestly I probably won't be able to help but that information might be helpful to someone else who can.
avrobot
Member
Posts: 14
Joined: Mon Jun 04, 2018 4:26 am

Postby avrobot » Tue Jan 19, 2021 11:14 am

Thanks akp, actually we just tried changing some of the blocking chan to non-blocking streaming chans in our code - so I think our issue was some activity blocking the audio threads for a short time...

Who is online

Users browsing this forum: No registered users and 2 guests