<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: I2S Mclk 8x bit clock with Processor expert in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/I2S-Mclk-8x-bit-clock-with-Processor-expert/m-p/421857#M3402</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kinetis Design Studio 2.0.0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jul 2015 13:36:00 GMT</pubDate>
    <dc:creator>tomwood</dc:creator>
    <dc:date>2015-07-03T13:36:00Z</dc:date>
    <item>
      <title>I2S Mclk 8x bit clock with Processor expert</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/I2S-Mclk-8x-bit-clock-with-Processor-expert/m-p/421850#M3395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to set up the I2S signals with processor expert using the SSI_LDD .&amp;nbsp; I don't seem to be able to get the bit clock and master clock to be in an 8:1 ratio.&amp;nbsp; The master clock seems to always include a divide by 250 in the divider chain and the bit clock does not.&amp;nbsp; I have tried various frequencies but they always have the divide by 250 in the chain. Other ratios are acceptable such as 16:1 and 12:1. In the I2S0_MclkDiv line of the clock path tab of the Master Clock, Clock rate select button there appears to be a 256 divide option but I can't seem to select it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 21:18:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/I2S-Mclk-8x-bit-clock-with-Processor-expert/m-p/421850#M3395</guid>
      <dc:creator>tomwood</dc:creator>
      <dc:date>2015-06-22T21:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: I2S Mclk 8x bit clock with Processor expert</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/I2S-Mclk-8x-bit-clock-with-Processor-expert/m-p/421851#M3396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) Do you mean this can not change ? -&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/57033i372BE54379E08F87/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;These configuration of "Clock path" are calculated after we choose "Clock rate", so it can not change by hand.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/57034iD6CEC79B0BC14D29/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(2) How to configure the clock&amp;nbsp; ? first we need configure the CPU clock :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/57035iD3212DAECCCFEF44/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;then , refer to your demand calculate the Clock rate of I2S, then choose it on clock rate.&lt;/P&gt;&lt;P&gt;(3) Where&amp;nbsp; is the "bit clock" ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 07:52:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/I2S-Mclk-8x-bit-clock-with-Processor-expert/m-p/421851#M3396</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-06-24T07:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: I2S Mclk 8x bit clock with Processor expert</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/I2S-Mclk-8x-bit-clock-with-Processor-expert/m-p/421852#M3397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I have found all of that.  If I desire a master clock of 12.288 Mhz it gives me 11.901.   For 11.901 then the bit clock should be 1/8 of 11.901 or 1.487625.  If I type 1.487625 I get 1.5 Mhz.  It is not critical for the frequencies to be any exact number but I think it is important for the bit clock to be 1/8 of the master.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 14:15:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/I2S-Mclk-8x-bit-clock-with-Processor-expert/m-p/421852#M3397</guid>
      <dc:creator>tomwood</dc:creator>
      <dc:date>2015-06-24T14:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: I2S Mclk 8x bit clock with Processor expert</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/I2S-Mclk-8x-bit-clock-with-Processor-expert/m-p/421853#M3398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I pick 1.4996 Mhz as the bit clock which is an exact power of 2 down from the 95.997 then the bit clock divides by 2 and then 32.  Using 11.997 for the master should be attainable as an exact power of 2 division.  PE however chooses to first divide by 250 then x 30 .  rather than 256 and 32.  This gives 11.517 mhz instead of 11.997.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 15:36:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/I2S-Mclk-8x-bit-clock-with-Processor-expert/m-p/421853#M3398</guid>
      <dc:creator>tomwood</dc:creator>
      <dc:date>2015-06-24T15:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: I2S Mclk 8x bit clock with Processor expert</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/I2S-Mclk-8x-bit-clock-with-Processor-expert/m-p/421854#M3399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tom,&lt;/P&gt;&lt;P&gt;Could you tell me which chip ? And send me your project which have configuration I2S, i will test and calculate on my side .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 08:38:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/I2S-Mclk-8x-bit-clock-with-Processor-expert/m-p/421854#M3399</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-07-01T08:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: I2S Mclk 8x bit clock with Processor expert</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/I2S-Mclk-8x-bit-clock-with-Processor-expert/m-p/421855#M3400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe I attached a project already.  I am using the MK10DN512VLK10.  If you try to enter 11.997 for the master clock which is an exact power of 2 down from 95.977 it chooses to divide by 250 instead of 256.  I have attached the spec sheet for the codec that I am interfacing to. See the table on page 9.  If I try 12.288 for the mclk it chooses to divide by 250 and multiply by 31 to give me 11.901 instead of  multiplying by 32  and giving me 12.28512.   If I choose  1.536 for the bit clock it chooses 1.6 Mhz  when it could have divided by 250 and multiplied by 4 to give me the correct frequency. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the I2S0:Init_I2S component allows the bit clocks to be derived from the mclk giving the precise ratio however I have not been able to get the  I2S_PDD to work properly as noted above and in the attached project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I enquired as to if a non-exact mclk could work  here is the reply, which I pretty much expected:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MCLK/BICK/LRCK does require exactly their respective power-of-two relationships.  Otherwise, internal synchronization will not be correct and the converter will periodically reset itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joel Jones&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Applications Engineer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AKM Semiconductor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(408) 436-8580 x5530&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1731 Technology Dr., Ste. 500&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;San Jose, CA 95110&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 15:50:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/I2S-Mclk-8x-bit-clock-with-Processor-expert/m-p/421855#M3400</guid>
      <dc:creator>tomwood</dc:creator>
      <dc:date>2015-07-02T15:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: I2S Mclk 8x bit clock with Processor expert</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/I2S-Mclk-8x-bit-clock-with-Processor-expert/m-p/421856#M3401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which IDE ? and the version .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2015 07:11:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/I2S-Mclk-8x-bit-clock-with-Processor-expert/m-p/421856#M3401</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-07-03T07:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: I2S Mclk 8x bit clock with Processor expert</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/I2S-Mclk-8x-bit-clock-with-Processor-expert/m-p/421857#M3402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kinetis Design Studio 2.0.0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2015 13:36:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/I2S-Mclk-8x-bit-clock-with-Processor-expert/m-p/421857#M3402</guid>
      <dc:creator>tomwood</dc:creator>
      <dc:date>2015-07-03T13:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: I2S Mclk 8x bit clock with Processor expert</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/I2S-Mclk-8x-bit-clock-with-Processor-expert/m-p/421858#M3403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;I have configure the i2s clock on KDS2.0 , i have not found error .&lt;/P&gt;&lt;P&gt;I'm sorry i really can not understand your problem :&lt;/P&gt;&lt;P&gt;(1) "the bit clock should be 1/8 of 11.901" , what's mean the "1/8" ?&lt;/P&gt;&lt;P&gt;&amp;nbsp; the bit clock :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48020i9399D0C80682983D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;after we finish the configuration of PE , we can got the code (for example the transmit clock (bit clock ) ) :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48113i2AC0CED3685E70C5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;you can refer to the reference manual to check the "I2Sx_TCR2" register .&lt;/P&gt;&lt;P&gt;(2) In general, the clock data is close to the data which&amp;nbsp; configure form the register ,there have the "Allowed error" .&lt;/P&gt;&lt;P&gt; And if you really want one clock , while the PE have not , you can change the register by hand in the "SSI1.C" file .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 12:49:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/I2S-Mclk-8x-bit-clock-with-Processor-expert/m-p/421858#M3403</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-07-06T12:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: I2S Mclk 8x bit clock with Processor expert</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/I2S-Mclk-8x-bit-clock-with-Processor-expert/m-p/421859#M3404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The receive clock and the master clock must be in an exact 1:8 ratio.  If I set the master clock to 12.288 Mhz then it gives me 11.901 Mhz.  It is actually 11.901148 (95.977/250*31).  So I must then have a receive clock of  11.901 divided by 8 which would be 1.487625 or more precisely 1.4876435  (11.901148/8). The receive clock generated is 1.500 Mhz (actually 1.499640) which is not 1.487625 or 1.4876435.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An allowed error in frequency is acceptable when interfacing to a codec but the clocks must be in an exact ratio. This exact ratio is achievable in the processor hardware but processor expert does not allow this to be achieved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 15:44:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/I2S-Mclk-8x-bit-clock-with-Processor-expert/m-p/421859#M3404</guid>
      <dc:creator>tomwood</dc:creator>
      <dc:date>2015-07-06T15:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: I2S Mclk 8x bit clock with Processor expert</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/I2S-Mclk-8x-bit-clock-with-Processor-expert/m-p/421860#M3405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry i don't know why 1:8 ratio .&lt;/P&gt;&lt;P&gt;While it doesn't matter,&amp;nbsp; if yo want the receive clock is 1.487625 or more precisely 1.4876435&amp;nbsp; (11.901148/8) , do you know the how to&lt;/P&gt;&lt;P&gt;configure the&amp;nbsp; related register, for example&amp;nbsp; I2S0_RCR2 ?&amp;nbsp;&amp;nbsp; If yes,&amp;nbsp; the workaround is configure the register by hand .&lt;/P&gt;&lt;P&gt;For the receive clock is configure by the registers .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 03:52:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/I2S-Mclk-8x-bit-clock-with-Processor-expert/m-p/421860#M3405</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-07-07T03:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: I2S Mclk 8x bit clock with Processor expert</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/I2S-Mclk-8x-bit-clock-with-Processor-expert/m-p/421861#M3406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found a work around by not using this component and I now completely understand the registers. It is essential that the ratio be precisely 8:1 as confirmed by the manufacturer of the codec.  I sent his reply to this  in a previous email.  It appears that there is a bug in this component, the software is not generating the correct frequencies when it should be able to.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 14:31:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/I2S-Mclk-8x-bit-clock-with-Processor-expert/m-p/421861#M3406</guid>
      <dc:creator>tomwood</dc:creator>
      <dc:date>2015-07-07T14:31:50Z</dc:date>
    </item>
  </channel>
</rss>

