LRCK no output under 45M/49M MCLK

Technical questions regarding the XTC tools and programming with XMOS.
User avatar
akp
XCore Expert
Posts: 578
Joined: Thu Nov 26, 2015 11:47 pm

Post by akp »

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

Post by twittich »

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

Post by akp »

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

Post by twittich »

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: 56
Joined: Wed May 19, 2010 9:42 pm

Post by GeorgeIoak »

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
Post Reply