LRCK no output under 45M/49M MCLK

Technical questions regarding the xTIMEcomposer, xSOFTip Explorer and Programming with XMOS.
User avatar
akp
XCore Expert
Posts: 522
Joined: Thu Nov 26, 2015 11:47 pm

Re: LRCK no output under 45M/49M MCLK

Postby akp » Wed Jan 15, 2020 3:44 pm

I won't say it's impossible to solve it in software. It is very difficult, though. I think you might have a solution if you need to keep your 24 MHz MCLK. You will have to run the XMOS IP as I2S slave rather than I2S master. And set up the TLV320DAC3120 PLL to generate BCLK at 64 * 48 kHz = 3.072 MHz and WCLK at 48 kHz.
twittich
Member++
Posts: 16
Joined: Mon May 06, 2019 9:28 am

Postby twittich » Mon Jan 20, 2020 11:56 am

Solved it by changing the routing and calculation of the clocks and works now...
User avatar
akp
XCore Expert
Posts: 522
Joined: Thu Nov 26, 2015 11:47 pm

Postby akp » Mon Jan 20, 2020 1:45 pm

Great. Running with 24.576 now?
twittich
Member++
Posts: 16
Joined: Mon May 06, 2019 9:28 am

Postby twittich » Fri Feb 28, 2020 9:38 am

Yes i'm getting now the 24.576 MHz, generated by the codec and back to the xmos. Now all clocks and samples rates are correct.
User avatar
GeorgeIoak
Active Member
Posts: 52
Joined: Wed May 19, 2010 9:42 pm

Postby GeorgeIoak » Sat May 15, 2021 11:17 pm

akp wrote:
Tue Nov 26, 2019 6:34 pm
What IP are you referring to? If it's the USB reference design I don't know if it's possible. It's possible with lib_i2s with the i2s frame based master.
Would you mind providing some details on how I switch to using lib_i2s

Who is online

Users browsing this forum: No registered users and 4 guests