<?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 How to output I2S0_RX_FS in master mode? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-output-I2S0-RX-FS-in-master-mode/m-p/175879#M1489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Device: MK60DN512ZVDM10 - mask 0M33Z&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm struggling a bit to understand how to output an&amp;nbsp;I2S&amp;nbsp;RX frame clock signal out of the K60's PTE8/&lt;STRONG&gt;I2S0_RX_FS&lt;/STRONG&gt; pin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the setup:&amp;nbsp; I have a Cirrus Logic CS42488 audio chip that I am attempting to run in TDM slave mode, with the K60 supplying all the clocks to the audio chip (MCLK, LRCK, SCLK).&amp;nbsp; I wish to receive 8 channels of audio from this chip in TDM mode.&amp;nbsp; For this application, I don't need to output any audio&amp;nbsp;to this chip - just receive from it.&amp;nbsp;&amp;nbsp; The chip needs 12.288 Mhz MCLK and SCLK, and a LRCK clock at 48kHz.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am successful in outputting the MCLK &amp;amp; SCLK (12.288 Mhz) from the K60, but I cannot seem to get the I2S0_RX_FS clock to output anything.&amp;nbsp; By experimenting with different configurations, I am able&amp;nbsp;to get the TX section (which I don't need) to output a frame clock on &lt;STRONG&gt;I2S0_TX_FS pin&lt;/STRONG&gt;, but I cannot seem to output anyting on the&amp;nbsp;I2S0_RX_FS pin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running the I2S system as a network master, in synchronous mode, using the MUX(4) standard configuration for all the I2S pins.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have any examples of code that drives the I2S0_RX_FS pin as an output? Or am I approaching this design incorrectly? Do I&amp;nbsp;just need to wire the I2S0_TX_FS pin to the audio chip's LRCK?&amp;nbsp; Or am I completely missing the boat here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Confused...&amp;nbsp; &lt;IMG alt=":smileysad:" class="emoticon emoticon-smileysad" id="smileysad" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-sad.gif" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jun 2012 23:00:41 GMT</pubDate>
    <dc:creator>cfgmgr</dc:creator>
    <dc:date>2012-06-28T23:00:41Z</dc:date>
    <item>
      <title>How to output I2S0_RX_FS in master mode?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-output-I2S0-RX-FS-in-master-mode/m-p/175879#M1489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Device: MK60DN512ZVDM10 - mask 0M33Z&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm struggling a bit to understand how to output an&amp;nbsp;I2S&amp;nbsp;RX frame clock signal out of the K60's PTE8/&lt;STRONG&gt;I2S0_RX_FS&lt;/STRONG&gt; pin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the setup:&amp;nbsp; I have a Cirrus Logic CS42488 audio chip that I am attempting to run in TDM slave mode, with the K60 supplying all the clocks to the audio chip (MCLK, LRCK, SCLK).&amp;nbsp; I wish to receive 8 channels of audio from this chip in TDM mode.&amp;nbsp; For this application, I don't need to output any audio&amp;nbsp;to this chip - just receive from it.&amp;nbsp;&amp;nbsp; The chip needs 12.288 Mhz MCLK and SCLK, and a LRCK clock at 48kHz.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am successful in outputting the MCLK &amp;amp; SCLK (12.288 Mhz) from the K60, but I cannot seem to get the I2S0_RX_FS clock to output anything.&amp;nbsp; By experimenting with different configurations, I am able&amp;nbsp;to get the TX section (which I don't need) to output a frame clock on &lt;STRONG&gt;I2S0_TX_FS pin&lt;/STRONG&gt;, but I cannot seem to output anyting on the&amp;nbsp;I2S0_RX_FS pin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running the I2S system as a network master, in synchronous mode, using the MUX(4) standard configuration for all the I2S pins.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have any examples of code that drives the I2S0_RX_FS pin as an output? Or am I approaching this design incorrectly? Do I&amp;nbsp;just need to wire the I2S0_TX_FS pin to the audio chip's LRCK?&amp;nbsp; Or am I completely missing the boat here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Confused...&amp;nbsp; &lt;IMG alt=":smileysad:" class="emoticon emoticon-smileysad" id="smileysad" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-sad.gif" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 23:00:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-output-I2S0-RX-FS-in-master-mode/m-p/175879#M1489</guid>
      <dc:creator>cfgmgr</dc:creator>
      <dc:date>2012-06-28T23:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to output I2S0_RX_FS in master mode?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-output-I2S0-RX-FS-in-master-mode/m-p/175880#M1490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured it out (all it takes is an embarrasing post to the forum!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I should not have been running in "synchronous" mode.&amp;nbsp;&amp;nbsp; If I had read the manual more carefully, I would have noticed that synchronous mode&amp;nbsp;share a common STCK and STFS port....&amp;nbsp; Clearing the SYN bit in I2S0_CR solved teh problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry to bother you all...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 23:57:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-output-I2S0-RX-FS-in-master-mode/m-p/175880#M1490</guid>
      <dc:creator>cfgmgr</dc:creator>
      <dc:date>2012-06-28T23:57:41Z</dc:date>
    </item>
  </channel>
</rss>

