<?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 ProcessorsのトピックRe: SGTL5000 datasheet formula error</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-datasheet-formula-error/m-p/490411#M78596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just throwing out some guesses&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its an overflow ticker, so &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#1 = 0x10000 / Clock * dBsecond&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#2 = 0x100000 / Clock * dBsecond&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These come out in the ballpark anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Feb 2016 19:47:31 GMT</pubDate>
    <dc:creator>erikfriesen</dc:creator>
    <dc:date>2016-02-04T19:47:31Z</dc:date>
    <item>
      <title>SGTL5000 datasheet formula error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-datasheet-formula-error/m-p/490410#M78595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Page 56 of the sgtl5000 datasheet has two formulas for calculating the attack and release rate.&amp;nbsp; They both don't work for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excel calcs are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#1 = (1-(10^(-(A9/(20*B9))))*2^19) and the result for (A9 or rate_dBs = 32) and (B9 or SYS_FS = 44.1) = -482267 or FFFFF8a425&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#1 = (1-(10^(-(A9/(20*B9))))*2^19) and the result for (A9 or rate_dBs = 32) and (B9 or SYS_FS = 1) = -13168 or FFFFFFCC90&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raw formula says (1 - (10^(-(Rate_dBs/(20*SYS_FS)))) * 2^19&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, this formula shouldn't be this complex.&amp;nbsp; Just give the clock calculations and the math should be straitforward.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 19:34:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-datasheet-formula-error/m-p/490410#M78595</guid>
      <dc:creator>erikfriesen</dc:creator>
      <dc:date>2016-02-04T19:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: SGTL5000 datasheet formula error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-datasheet-formula-error/m-p/490411#M78596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just throwing out some guesses&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its an overflow ticker, so &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#1 = 0x10000 / Clock * dBsecond&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#2 = 0x100000 / Clock * dBsecond&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These come out in the ballpark anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 19:47:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-datasheet-formula-error/m-p/490411#M78596</guid>
      <dc:creator>erikfriesen</dc:creator>
      <dc:date>2016-02-04T19:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: SGTL5000 datasheet formula error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-datasheet-formula-error/m-p/490412#M78597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have checked the formula, it is correct. The point is that the SYS_FS value in the formula should be specified in the units of Hz, not kHz. So, for example, for the sampling rate of 48kHz (48000Hz) and attack rate of 32dB/s the calculation is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1-(10^(-(32/(20*48000)))))*524288 = approx. 40.239 = approx. 40 = 0x28&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that corresponds to the example value, given in the Data Sheet document.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Artur&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 07:46:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-datasheet-formula-error/m-p/490412#M78597</guid>
      <dc:creator>art</dc:creator>
      <dc:date>2016-02-15T07:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: SGTL5000 datasheet formula error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-datasheet-formula-error/m-p/490413#M78598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I suppose I should have tried adding the ')' where you did, but look at the datasheet again, the closing ')' is missing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 12:55:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SGTL5000-datasheet-formula-error/m-p/490413#M78598</guid>
      <dc:creator>erikfriesen</dc:creator>
      <dc:date>2016-02-15T12:55:27Z</dc:date>
    </item>
  </channel>
</rss>

