<?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>i.MX RT Crossover MCUsのトピックaudio i2s external mclk adjust bitclock</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/audio-i2s-external-mclk-adjust-bitclock/m-p/1203173#M11811</link>
    <description>&lt;P&gt;I have an imx rt1062 (teensy 4.1) setup as master i2s and have mclk set as input.&lt;/P&gt;&lt;P&gt;IOMUXC_GPR_GPR1 = (IOMUXC_GPR_GPR1&lt;BR /&gt;&amp;amp; ~(IOMUXC_GPR_GPR1_SAI1_MCLK1_SEL_MASK))&lt;BR /&gt;| (IOMUXC_GPR_GPR1_SAI1_MCLK1_SEL(3))&lt;BR /&gt;| (IOMUXC_GPR_GPR1_SAI1_MCLK2_SEL(3));&lt;/P&gt;&lt;P&gt;IOMUXC_SAI1_MCLK2_SELECT_INPUT = 1; // 1=GPIO_AD_B1_09_ALT3, page 868 pin 23&lt;/P&gt;&lt;P&gt;I can see that the bit clock is synced to the incoming mclk.&amp;nbsp; The input freq is 12.5Mhz.&amp;nbsp; How do I adjust the clock to get it to 48Khz.&lt;/P&gt;&lt;P&gt;I have tried registers CCM_CSCMR1 and CCM_CS1CDR but they do not seem to change the bitclock.&lt;BR /&gt;&lt;BR /&gt;.Thank You&lt;/P&gt;</description>
    <pubDate>Tue, 22 Dec 2020 17:13:05 GMT</pubDate>
    <dc:creator>devond76180</dc:creator>
    <dc:date>2020-12-22T17:13:05Z</dc:date>
    <item>
      <title>audio i2s external mclk adjust bitclock</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/audio-i2s-external-mclk-adjust-bitclock/m-p/1203173#M11811</link>
      <description>&lt;P&gt;I have an imx rt1062 (teensy 4.1) setup as master i2s and have mclk set as input.&lt;/P&gt;&lt;P&gt;IOMUXC_GPR_GPR1 = (IOMUXC_GPR_GPR1&lt;BR /&gt;&amp;amp; ~(IOMUXC_GPR_GPR1_SAI1_MCLK1_SEL_MASK))&lt;BR /&gt;| (IOMUXC_GPR_GPR1_SAI1_MCLK1_SEL(3))&lt;BR /&gt;| (IOMUXC_GPR_GPR1_SAI1_MCLK2_SEL(3));&lt;/P&gt;&lt;P&gt;IOMUXC_SAI1_MCLK2_SELECT_INPUT = 1; // 1=GPIO_AD_B1_09_ALT3, page 868 pin 23&lt;/P&gt;&lt;P&gt;I can see that the bit clock is synced to the incoming mclk.&amp;nbsp; The input freq is 12.5Mhz.&amp;nbsp; How do I adjust the clock to get it to 48Khz.&lt;/P&gt;&lt;P&gt;I have tried registers CCM_CSCMR1 and CCM_CS1CDR but they do not seem to change the bitclock.&lt;BR /&gt;&lt;BR /&gt;.Thank You&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 17:13:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/audio-i2s-external-mclk-adjust-bitclock/m-p/1203173#M11811</guid>
      <dc:creator>devond76180</dc:creator>
      <dc:date>2020-12-22T17:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: audio i2s external mclk adjust bitclock</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/audio-i2s-external-mclk-adjust-bitclock/m-p/1203771#M11831</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I highly recommend you to use our MCUXpresso Config Tools so you can see in an easier way how to modify the clocks to get the desired frequency.&lt;/P&gt;
&lt;P&gt;As you can see in the snippet below if you select MCLK1 from SAI1_MCLK then there is no way to modify the 12.5 MHz clock that you are receiving.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133435i0B4B1812C5033436/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;An option to have 48 KHz in SAI1_MCLK1 is to modify the incoming MCLK as below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133436i6059941F6C5FE3C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133437iA3846EFDC57AA2B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope it helps!&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;/P&gt;
&lt;P&gt;Felipe&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;Note:&lt;/P&gt;
&lt;P&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored. Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;/P&gt;
&lt;P&gt;------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 18:57:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/audio-i2s-external-mclk-adjust-bitclock/m-p/1203771#M11831</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2020-12-23T18:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: audio i2s external mclk adjust bitclock</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/audio-i2s-external-mclk-adjust-bitclock/m-p/1204337#M11879</link>
      <description>&lt;P&gt;You have to decide what the common master clock source is for the I2S system.&lt;/P&gt;&lt;P&gt;The SAME clock source must be used for both the CODEC and the SAI peripheral.&lt;/P&gt;&lt;P&gt;If it is an external clock, then the external source must be set to 12.288 MHz (48 kHz x 256), or whatever your CODEC can use.&lt;/P&gt;&lt;P&gt;If it is an internal iMX clock source, then set it to 12.288 or whatever your CODEC can use, and then export the MCLK to the CODEC.&lt;/P&gt;&lt;P&gt;--- Graham&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Dec 2020 15:34:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/audio-i2s-external-mclk-adjust-bitclock/m-p/1204337#M11879</guid>
      <dc:creator>gh78731</dc:creator>
      <dc:date>2020-12-26T15:34:23Z</dc:date>
    </item>
  </channel>
</rss>

