<?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: RT1064: SAI settings in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1470321#M19994</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181268"&gt;@mrecoskie&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Thanks a lot for your effort.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; So, your TI codec is master, the MCLK is from RT1064, then SYNC, BCLK are all from TI codec to RT1064, right?&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;I mean, the master connection like the following:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1654657301235.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/182513i56A1F205FF805293/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1654657301235.png" alt="kerryzhou_0-1654657301235.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So, now, the data from slave TX to master RX, find the&amp;nbsp;&lt;SPAN&gt;misalignment, right?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please debug your code, check this register:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;TCR4[FSE], whether it is 0, or 1?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_1-1654657677608.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/182514i05155E55DF4501C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_1-1654657677608.png" alt="kerryzhou_1-1654657677608.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can share all the TCSR, and TCR1-TCR5 data, just check the configuration, and whether there are some clues or not.&lt;/P&gt;
&lt;P&gt;What's the BCLK clock frequency now?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_2-1654657931717.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/182515i9AD06470C2105BD9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_2-1654657931717.png" alt="kerryzhou_2-1654657931717.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Just make sure the clock is not larger than the datasheet's data.&lt;/P&gt;
&lt;P&gt;Also make sure your SAI root clock higher than BCLK, that's should be good.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jun 2022 03:15:32 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2022-06-08T03:15:32Z</dc:date>
    <item>
      <title>RT1064: SAI settings</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1469406#M19950</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am settings up an audio codec (TI3106) as master to the SAI bus on the RT1064. &amp;nbsp;The protocol being used is DSP mode. &amp;nbsp;I am using the 'sai_edma_transfer' sample - with modification for codec integration.&lt;/P&gt;&lt;P&gt;While I am able to transmit bits, it seems as though the audio samples sent are missing a zero to start. &amp;nbsp;I have tried several SAI settings to correct this but I am unable to make this work. &amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, the sample code starts sending 0x2f, 0x2f. &amp;nbsp;Below is a&amp;nbsp;trace from a logic analyzer. &lt;EM&gt;&amp;nbsp;If there was an additional zero at the front of each sample (or a shift) the data would be correct.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-06-06 at 10.02.08 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/182316i461A467AB210BDD3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2022-06-06 at 10.02.08 AM.png" alt="Screen Shot 2022-06-06 at 10.02.08 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For reference the expected format for the TI audio codec is the following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-06-06 at 10.02.33 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/182317i99C77166DA934907/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2022-06-06 at 10.02.33 AM.png" alt="Screen Shot 2022-06-06 at 10.02.33 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; Any insight is appreciated. &amp;nbsp;Thanks,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 14:14:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1469406#M19950</guid>
      <dc:creator>mrecoskie</dc:creator>
      <dc:date>2022-06-06T14:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: RT1064: SAI settings</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1469769#M19966</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181268"&gt;@mrecoskie&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; It should still related to the code configuration and the data sendout.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Please check my doc:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/RT10xx-SAI-basic-and-SDCard-wave-file-play/ta-p/1259608" target="_blank"&gt;https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/RT10xx-SAI-basic-and-SDCard-wave-file-play/ta-p/1259608&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;Pic 19&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I am using the edma+SAI, and I can sendout the 2ch data correct, the data just put in the C array.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; The difference with you just the SYNC bit number,&amp;nbsp;TCR4[SYWD].&lt;/P&gt;
&lt;P&gt;&amp;nbsp; So you can try my doc attached project, and change the music array to your data, eg, you want to sendout 0X002F,0X002F, you can set:&lt;/P&gt;
&lt;P&gt;_ALIGN_BEGIN const uint8_t music[] __ALIGN_END =&lt;BR /&gt;#endif&lt;BR /&gt;#endif&lt;BR /&gt;{&lt;BR /&gt;0x2f, 0x00, 0x2f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,..&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;After it can output the correct data, then you can change the&amp;nbsp;TCR4[SYWD]=0, for one bit clock.&lt;/P&gt;
&lt;P&gt;Please try it!&lt;/P&gt;
&lt;P&gt;If you still have the issues, just debug the code, and share me all your SAI register data, and the related SAI wave.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wish it helps you!&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;kerry&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 07:01:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1469769#M19966</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2022-06-07T07:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: RT1064: SAI settings</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1470169#M19985</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The document is very good and this scenario is working.&lt;/P&gt;&lt;P&gt;I believe the difference in my case is the fact that the SAI interface is acting as a Slave to the TI audio codec.&lt;/P&gt;&lt;P&gt;My unique changes include:&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;saiConfig.masterSlave = kSAI_Slave&lt;/P&gt;&lt;P&gt;saiConfig.bitclock.bclkSrcSwap = true&lt;/P&gt;&lt;P&gt;The IOMUXC_GPR_GPR1_SAI1_MCLK_DIR_MASK bit is removed.&lt;/P&gt;&lt;P&gt;The bus clock of the RT1064 is internal 12.288.&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;The BCLK/WCLK is externally generated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data sent through DMA is confirmed correct.&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;I feel there must be some data misalignment however it is difficult to see what is happening.&lt;/P&gt;&lt;P&gt;In the case of operating the SAI interface as a slave, what settings should be checked?&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 20:42:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1470169#M19985</guid>
      <dc:creator>mrecoskie</dc:creator>
      <dc:date>2022-06-07T20:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: RT1064: SAI settings</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1470321#M19994</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181268"&gt;@mrecoskie&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Thanks a lot for your effort.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; So, your TI codec is master, the MCLK is from RT1064, then SYNC, BCLK are all from TI codec to RT1064, right?&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;I mean, the master connection like the following:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1654657301235.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/182513i56A1F205FF805293/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1654657301235.png" alt="kerryzhou_0-1654657301235.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So, now, the data from slave TX to master RX, find the&amp;nbsp;&lt;SPAN&gt;misalignment, right?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please debug your code, check this register:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;TCR4[FSE], whether it is 0, or 1?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_1-1654657677608.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/182514i05155E55DF4501C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_1-1654657677608.png" alt="kerryzhou_1-1654657677608.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can share all the TCSR, and TCR1-TCR5 data, just check the configuration, and whether there are some clues or not.&lt;/P&gt;
&lt;P&gt;What's the BCLK clock frequency now?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_2-1654657931717.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/182515i9AD06470C2105BD9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_2-1654657931717.png" alt="kerryzhou_2-1654657931717.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Just make sure the clock is not larger than the datasheet's data.&lt;/P&gt;
&lt;P&gt;Also make sure your SAI root clock higher than BCLK, that's should be good.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 03:15:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1470321#M19994</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2022-06-08T03:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: RT1064: SAI settings</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1470910#M20016</link>
      <description>&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;Thank you for the help.&lt;/P&gt;&lt;P&gt;Yes.&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;The TI codec is master.&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;The MCLK is set as input to the RT1064. &amp;nbsp;However the plan is to remove the MCLK physical line in the final design.&lt;SPAN class=""&gt;&amp;nbsp; Will this be a problem for the RT1064? &amp;nbsp;&lt;/SPAN&gt;The SYNC and BCLK are from the TI codec.&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;Correct.&lt;/P&gt;&lt;P&gt;Yes. The data from the slave TX to the master RX is not good.&lt;/P&gt;&lt;P&gt;The TCR4[FSE] is 0 however I have tried varying this setting to 1 also.&lt;/P&gt;&lt;P&gt;TCSR, TCR1 -TCR5 values are listed below.&lt;/P&gt;&lt;P&gt;TCSR = 0x00000400&lt;/P&gt;&lt;P&gt;TCR1 = 0x00000010&lt;/P&gt;&lt;P&gt;TCR2 = 0x24000003&lt;/P&gt;&lt;P&gt;TCR3 = 0x00000000&lt;/P&gt;&lt;P&gt;TCR4 = 0x10010038&lt;/P&gt;&lt;P&gt;TCR5 = 0x0F0F0F00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The BCLK frequency is 657 kHz.&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;The SAI root clock is set to 12.288MHz&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 19:15:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1470910#M20016</guid>
      <dc:creator>mrecoskie</dc:creator>
      <dc:date>2022-06-08T19:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: RT1064: SAI settings</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1471197#M20027</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181268"&gt;@mrecoskie&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;If the TI can send out the clock by itself without the external MCLK, it's also to the RT1064 receive the BCLK and SYNC.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Please check your code, set the TCR4[FSE]=0.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; As, I find your data set FSE =1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Then test the wave again, whether that have any improvement or not?&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 04:24:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1471197#M20027</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2022-06-09T04:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: RT1064: SAI settings</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1471882#M20051</link>
      <description>&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;TCR4[FSE]=0 is no improvement. &lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Do you have a tested example of this configuration?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 01:38:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1471882#M20051</guid>
      <dc:creator>mrecoskie</dc:creator>
      <dc:date>2022-06-10T01:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: RT1064: SAI settings</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1471916#M20052</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181268"&gt;@mrecoskie&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;In fact, I don't have your TI codec, so I didn't test it like that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;I normally test it which I told you, and another test, one RT as master, another as slave. The wave like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1654828225500.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/182922iB767CE0118DA1628/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1654828225500.jpeg" alt="kerryzhou_0-1654828225500.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The connection is:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_1-1654828250835.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/182923i0D3F4715A8AB84AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_1-1654828250835.jpeg" alt="kerryzhou_1-1654828250835.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can see my slave TX data is also correct, no shift.&lt;/P&gt;
&lt;P&gt;I also attach my slave code for your reference, and a doc, but I am write it in chinese, you can just check the pictures.&lt;/P&gt;
&lt;P&gt;My understand is, your situation is similar, just the channel, and SYNC width has difference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 02:33:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1471916#M20052</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2022-06-10T02:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: RT1064: SAI settings</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1472994#M20096</link>
      <description>&lt;P&gt;Thank you Kerry.&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;I reviewed the code but I see the lines:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BOARD_EnableSaiMclkOutput(true);&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;saiConfig.bitclock.bclkSrcSwap not set to true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you sure the clocks are slave by evkbimxrt1050_sai2_edma_record_playback_48K32bit_sync ?&lt;/P&gt;&lt;P&gt;I don’t understand how this is possible with these settings.&lt;/P&gt;&lt;P&gt;Also I noticed you are using SAI2. &amp;nbsp;Can SAI1 be used or is there a limitation with this interface?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 15:49:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1472994#M20096</guid>
      <dc:creator>mrecoskie</dc:creator>
      <dc:date>2022-06-13T15:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: RT1064: SAI settings</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1473301#M20103</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181268"&gt;@mrecoskie&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Good question!&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;You can check the above reply, the block connection picture.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;In fact, the MCLK didn't connect to the master side.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;So, you don't need to care about it, as I modify the code based on the SDK, the SDK enable it, but I am using the SAI2, you just need to care about the SAI2 configuration is OK, this MCLK won't influence slave function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;kerry&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 02:55:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1473301#M20103</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2022-06-14T02:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: RT1064: SAI settings</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1473309#M20105</link>
      <description>&lt;P&gt;Makes sense. &amp;nbsp;What about setting the BCLK direction?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 03:10:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1473309#M20105</guid>
      <dc:creator>mrecoskie</dc:creator>
      <dc:date>2022-06-14T03:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: RT1064: SAI settings</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1473313#M20107</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181268"&gt;@mrecoskie&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;A href="https://community.nxp.com/t5/image/serverpage/image-id/182923i0D3F4715A8AB84AF/image-size/medium?v=v2&amp;amp;px=400" target="_blank"&gt;https://community.nxp.com/t5/image/serverpage/image-id/182923i0D3F4715A8AB84AF/image-size/medium?v=v2&amp;amp;px=400&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The above picture already indicate it, to slave, BCLK is input, to master, BCLK is output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;kerry&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 03:23:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1473313#M20107</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2022-06-14T03:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: RT1064: SAI settings</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1473318#M20108</link>
      <description>&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;I see the picture but in the slave code shouldn't the bclk direction be set - &amp;nbsp;specifically the&amp;nbsp;&lt;SPAN&gt;'config-&amp;gt;&lt;/SPAN&gt;bitClock&lt;SPAN&gt;.&lt;/SPAN&gt;bclkSrcSwap' variable? &amp;nbsp;I don't see this set to 'true'.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 03:35:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1473318#M20108</guid>
      <dc:creator>mrecoskie</dc:creator>
      <dc:date>2022-06-14T03:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: RT1064: SAI settings</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1473336#M20109</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181268"&gt;@mrecoskie&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Check the driver code, you will be clear:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1655180360211.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/183202iA2CE8AE5016FCEAD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1655180360211.png" alt="kerryzhou_0-1655180360211.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;When it is slave:&lt;/P&gt;
&lt;P&gt;saiConfig.masterSlave = kSAI_Slave&lt;/P&gt;
&lt;P&gt;Even you set&amp;nbsp;&lt;SPAN&gt;config-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;bitClock&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;bclkSrcSwap, it won't be configure the real register.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Wish it helps you!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Kerry&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 04:20:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1473336#M20109</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2022-06-14T04:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: RT1064: SAI settings</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1489612#M20616</link>
      <description>&lt;P&gt;To confirm - in your diagram TXBCLK is connected to TXBCLK between the master and slave.&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;Is this correct?&lt;/P&gt;&lt;P&gt;The hardware connections should be the following??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Master.&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;Slave.&lt;BR /&gt;&lt;BR /&gt;MCLK. &lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;—&amp;gt; MCLK&lt;BR /&gt;&lt;BR /&gt;TXSYNC&lt;SPAN class=""&gt;&amp;nbsp;   &lt;/SPAN&gt;&amp;lt;—&amp;gt; TXSYNC&lt;BR /&gt;&lt;BR /&gt;TXBCLK.&lt;SPAN class=""&gt;&amp;nbsp;  &lt;/SPAN&gt;&amp;lt;—&amp;gt; TXBCLK&lt;BR /&gt;&lt;BR /&gt;TXDATA &lt;SPAN class=""&gt;&amp;nbsp;  &lt;/SPAN&gt;——&amp;gt; RXDATA&lt;BR /&gt;&lt;BR /&gt;RXDATA &lt;SPAN class=""&gt;&amp;nbsp;  &lt;/SPAN&gt;&amp;lt;—-&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;TXDATA&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Jul 2022 15:59:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1489612#M20616</guid>
      <dc:creator>mrecoskie</dc:creator>
      <dc:date>2022-07-14T15:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: RT1064: SAI settings</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1490048#M20627</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181268"&gt;@mrecoskie&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;&amp;nbsp; MCLK is not must to connect, others is correct!&lt;/P&gt;
&lt;P&gt;&amp;nbsp; BTW, this post is really very old, more than one month, if you have any issues, please help to create the new question post, thanks. Don't update the old post.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 05:01:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1490048#M20627</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2022-07-15T05:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: RT1064: SAI settings</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1491076#M20665</link>
      <description>&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;Final question - is it possible TXBCLK (master) connected to RXBCLK (slave) also works?? &amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 13:17:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1491076#M20665</guid>
      <dc:creator>mrecoskie</dc:creator>
      <dc:date>2022-07-18T13:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: RT1064: SAI settings</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1491284#M20666</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181268"&gt;@mrecoskie&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; It is determined by your slave&amp;nbsp;Synchronous mode, you can find it from the RM:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1658183171643.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/187037i187B6895CAD3FBFF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1658183171643.png" alt="kerryzhou_0-1658183171643.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As this case is very old, more than one month, if you have any question or updated information, please help to create the new question post, we also can help you in the new question post, thanks.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 22:27:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-SAI-settings/m-p/1491284#M20666</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2022-07-18T22:27:08Z</dc:date>
    </item>
  </channel>
</rss>

