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?
How to handle slight variation in MCLK Frequency Topic is solved
-
- Member++
- Posts: 17
- Joined: Mon Jun 04, 2018 4:26 am
How to handle slight variation in MCLK Frequency
Last edited by avrobot on Tue Jan 19, 2021 11:10 am, edited 1 time in total.
View Solution
-
- XCore Expert
- Posts: 580
- Joined: Thu Nov 26, 2015 11:47 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.
-
- Member++
- Posts: 17
- Joined: Mon Jun 04, 2018 4:26 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...