AnsweredAssumed Answered

How do I configure imx6q's I2S clock in master mode ?

Question asked by 明镜 明 on Aug 7, 2017
Latest reply on Aug 9, 2017 by 明镜 明

codec works in slave mode, ssi  generate the  sclk and  frame clock .

the sys's clock is 24M,  i follow  the nex table to configure registers :

Table 61-7. SSI Bit Clock and Frame Rate as a Function of PSR, PM, and DIV2. 

 

but  bit clock and  frame sync clock  dnot work correctly . 

how can i call  function imx_ssi_set_dai_clkdiv according to the sample_rate and sample_format?

 

Do you have relevant document or  demo to introduce  the configure ? 

 

 

Table 61-7. SSI Bit Clock and Frame Rate as a Function of PSR, PM, and DIV2

Outcomes