<?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: SGTL5000 and Non-Standard Sample Rates in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-and-Non-Standard-Sample-Rates/m-p/349815#M48544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And ... we have audio out! (It also helps to probe the line outs, not the line ins :smileyhappy:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Igor for your smooth response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Nov 2014 17:06:49 GMT</pubDate>
    <dc:creator>matthiash</dc:creator>
    <dc:date>2014-11-18T17:06:49Z</dc:date>
    <item>
      <title>SGTL5000 and Non-Standard Sample Rates</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-and-Non-Standard-Sample-Rates/m-p/349810#M48539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm in the process of developing a minimalist USB audio interface around the SGTL5000 and competition's LPC1347 (clocked at 72 MHz), and I am having a hard time figuring out the best clock configuration. Since MCLK is going to be obtained by integer frequency division, it is likely going to have to be 12 MHz. From what I can tell, this leaves me with three options:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Using the PLL and having the SGTL as I2S master (inconvenient for several reasons),&lt;/LI&gt;&lt;LI&gt;an "odd" sample rate of 46.875 kHz (12000000 Hz / 256, which would be by far my preferred choice), or&lt;/LI&gt;&lt;LI&gt;a just as hacky solution with 44.1 kHz LRCLK, 1.5 MHz SCLK, and transmission breaks in between samples.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;In order to figure this out, I would appreciate knowing more about how the SGTL internally synchronizes to I2S data - can I, for instance, use a higher SCLK and just wait with the transmission of the next sample until the end of the LRCLK interval? Are there any known cases where such situation has been successfully resolved with the SGTL as I2S slave? What would be the corresponding settings?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 11:29:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-and-Non-Standard-Sample-Rates/m-p/349810#M48539</guid>
      <dc:creator>matthiash</dc:creator>
      <dc:date>2014-11-18T11:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: SGTL5000 and Non-Standard Sample Rates</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-and-Non-Standard-Sample-Rates/m-p/349811#M48540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthias&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can use SGTL5000 internal PLL for obtaining necessary frequencies.&lt;/P&gt;&lt;P&gt;This is described in &lt;A href="http://cache.freescale.com/files/analog/doc/data_sheet/SGTL5000.pdf?fasp=1&amp;amp;WT_TYPE=Data%20Sheets&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;SGTL5000&lt;/A&gt; p.14&lt;/P&gt;&lt;P&gt;sect.2.2.2 PLL Configuration &lt;A href="http://cache.freescale.com/files/analog/doc/app_note/AN3663.pdf?fasp=1&amp;amp;WT_TYPE=Application%20Notes&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;AN3663&lt;/A&gt; AN3663, SGTL5000 Initialization and Programming&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="PLL1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47263i7C82386669DB2622/image-size/large?v=v2&amp;amp;px=999" role="button" title="PLL1.jpg" alt="PLL1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="PLL.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47265iEAD35D6830002B83/image-size/large?v=v2&amp;amp;px=999" role="button" title="PLL.jpg" alt="PLL.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regarding usage "higher SCLK", I am afraid SGTL5000 does not support such kind of algorithm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 13:50:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-and-Non-Standard-Sample-Rates/m-p/349811#M48540</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2014-11-18T13:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: SGTL5000 and Non-Standard Sample Rates</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-and-Non-Standard-Sample-Rates/m-p/349812#M48541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply. From the manual, I take it that using the PLL requires that the SGTL become master on the I2S bus, correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 15:01:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-and-Non-Standard-Sample-Rates/m-p/349812#M48541</guid>
      <dc:creator>matthiash</dc:creator>
      <dc:date>2014-11-18T15:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: SGTL5000 and Non-Standard Sample Rates</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-and-Non-Standard-Sample-Rates/m-p/349813#M48542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes correct, as described in &lt;A class="jive-link-external-small" href="http://cache.freescale.com/files/analog/doc/data_sheet/SGTL5000.pdf?fasp=1&amp;amp;WT_TYPE=Data%20Sheets&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;SGTL5000&lt;/A&gt; p.18 :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The I2S_LRCLK and I2S_SCLK can be programmed as&lt;/P&gt;&lt;P&gt;master (driven to an external target) or slave (driven from an&lt;/P&gt;&lt;P&gt;external source). When the clocks are in slave mode, they&lt;/P&gt;&lt;P&gt;must be synchronous to SYS_MCLK. For this reason the&lt;/P&gt;&lt;P&gt;SGTL5000 can only operate in synchronous mode (see&lt;/P&gt;&lt;P&gt;Clocking) while in I2S slave mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In master mode, the clocks are synchronous to&lt;/P&gt;&lt;P&gt;SYS_MCLK or the output of the PLL when the part is running&lt;/P&gt;&lt;P&gt;in asynchronous mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 16:03:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-and-Non-Standard-Sample-Rates/m-p/349813#M48542</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2014-11-18T16:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: SGTL5000 and Non-Standard Sample Rates</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-and-Non-Standard-Sample-Rates/m-p/349814#M48543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. Just implemented that, and by accident also found out that the sample rate can in fact be set to "odd" values, at least as long as they're in the interval of 44.1 to 48 kHz. To achieve f_target (in kHz), the PLL output freq (also in kHz can be calculated as pll_output_freq = 196608 / 48 * f_target. For f_target = 44.1 kHz, this results in pll_output_freq=180633.6 kHz. So the divider for 48 kHz is 16.384 -- accidentally rounding it to 16.000 results exactly in a sample rate of 46.875 kHz :-)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 16:52:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-and-Non-Standard-Sample-Rates/m-p/349814#M48543</guid>
      <dc:creator>matthiash</dc:creator>
      <dc:date>2014-11-18T16:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: SGTL5000 and Non-Standard Sample Rates</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-and-Non-Standard-Sample-Rates/m-p/349815#M48544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And ... we have audio out! (It also helps to probe the line outs, not the line ins :smileyhappy:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Igor for your smooth response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 17:06:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-and-Non-Standard-Sample-Rates/m-p/349815#M48544</guid>
      <dc:creator>matthiash</dc:creator>
      <dc:date>2014-11-18T17:06:49Z</dc:date>
    </item>
  </channel>
</rss>

