<?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>Kinetis MicrocontrollersのトピックRe: How to synchronise two Kinetis SAI modules?</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-synchronise-two-Kinetis-SAI-modules/m-p/807191#M49045</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiangjun Rong,&lt;/P&gt;&lt;P&gt;Working fine now with I2S1_RCR2[MSEL]=0b10, I2S1_TCR2[MSEL]=0b10.&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Dec 2018 10:46:31 GMT</pubDate>
    <dc:creator>chris_f</dc:creator>
    <dc:date>2018-12-06T10:46:31Z</dc:date>
    <item>
      <title>How to synchronise two Kinetis SAI modules?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-synchronise-two-Kinetis-SAI-modules/m-p/807189#M49043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to configure a KS22 to operate with two stereo ADCs and two stereo DACs with everything synchronised.&lt;/P&gt;&lt;P&gt;A single set of MCK, BCK and SYNC generated by I2S0_TX is used for both ADCs and both DACs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I2S0 is working correctly:&lt;/P&gt;&lt;P&gt;I2S0_TCR2[SYNC]=0b00 // Asynchronous&lt;/P&gt;&lt;P&gt;I2S0_TCR2[MSEL]=0b01 // OSC -&amp;gt; MCK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I2S0_RCR2[SYNC]=0b01 // Synchronous&lt;/P&gt;&lt;P&gt;I2S0_RCR2[MSEL]=0b01 // OSC -&amp;gt; MCK&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've read that I can&amp;nbsp;use the&amp;nbsp;I2S0 MCK for I2S1:&lt;/P&gt;&lt;P&gt;I2S1_TCR2[MSEL]=0b10&lt;/P&gt;&lt;P&gt;I2S1_RCR2[MSEL]=0b10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the RM isn't clear how to sychronise the two modules?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I set both I2S1_TX and I2S1_RX to be sychronous with I2S0_TX?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2018 10:42:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-synchronise-two-Kinetis-SAI-modules/m-p/807189#M49043</guid>
      <dc:creator>chris_f</dc:creator>
      <dc:date>2018-11-28T10:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to synchronise two Kinetis SAI modules?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-synchronise-two-Kinetis-SAI-modules/m-p/807190#M49044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Chris, &lt;/P&gt;&lt;P&gt;Regarding your question, I think it is dependent on your external ADC and DAC features, if the external ADC and DAC modules can only be master, no way to synchronize.&lt;/P&gt;&lt;P&gt;If both of the external ADC and DAC modules can be slave, it is okay for everything to be synchronized. You can have one module for example I2S0_Transmitter module to be master, in detail, the&amp;nbsp;I2S0_TX_BCLK/ I2S0_TX_FS are output signals from KS22, all the other module are slave, in detail I2S0_receiver, I2S1_receiver, I2S1_transmitter are slave, you can connect the bit clock I2S0_TX_BCLK to I2S0_receiver_BCLK, I2S1_receiver_BCLK, I2S1_transmitter_BCLK of KS22 and corresponding external ADC and DAC. while you can&amp;nbsp; connect the I2S0_TX_FS to I2S0_receiver_FS, I2S1_receiver_FS, I2S1_transmitter_FS of KS22 and corresponding external ADC and DAC. The I2S0_TX_BCLK/ I2S0_TX_FS&amp;nbsp; can be from MCLK clock source or bus clock whatever. In this way, everything will be synchronized.&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2018 02:57:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-synchronise-two-Kinetis-SAI-modules/m-p/807190#M49044</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2018-11-30T02:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to synchronise two Kinetis SAI modules?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-synchronise-two-Kinetis-SAI-modules/m-p/807191#M49045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiangjun Rong,&lt;/P&gt;&lt;P&gt;Working fine now with I2S1_RCR2[MSEL]=0b10, I2S1_TCR2[MSEL]=0b10.&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2018 10:46:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-synchronise-two-Kinetis-SAI-modules/m-p/807191#M49045</guid>
      <dc:creator>chris_f</dc:creator>
      <dc:date>2018-12-06T10:46:31Z</dc:date>
    </item>
  </channel>
</rss>

