MCLK and I2S Slave ?

Sub forums for various specialist XMOS applications. e.g. USB audio, motor control and robotics.
AlexAdvice
XCore Addict
Posts: 134
Joined: Sun Feb 23, 2014 11:30 am

MCLK and I2S Slave ?

Post by AlexAdvice »

Does MCLK required if I use I2S Slave Mode?

Usually, LRCLK and BCLK is enough, but maybe with XMOS also MCLK need?


User avatar
CousinItt
Respected Member
Posts: 303
Joined: Wed May 31, 2017 6:55 pm

Post by CousinItt »

Hi,

no the I2S slave does not need a separate MCLK. See the information on creating an i2s_slave component in the I2S/TDM library document.
User avatar
infiniteimprobability
XCore Legend
Posts: 1124
Joined: Thu May 27, 2010 10:08 am

Post by infiniteimprobability »

CousinItt is right - it's all done from the BCLK. However you didn't say whether you are using USB audio I2S or lib_i2s. If using the former, MCLK is still needed for the feedback calculation to the host for the ISO endpoint in asynch mode as standard.
AlexAdvice
XCore Addict
Posts: 134
Joined: Sun Feb 23, 2014 11:30 am

Post by AlexAdvice »

Thank you, not it's clear.