<?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 KEA64 IRC and FLL accuracy in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA64-IRC-and-FLL-accuracy/m-p/778740#M47375</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In order to decide whether the IRC of the KEA64 MCU is good enough for my application I have tried to find the accuracy of the bus clock (derived from the system clock) which drives the UARTs. I have a requirement to communicate at 115200bps with an allowed inaccuracy of +/-2%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the IRC-&amp;gt;FLL with IRC @ factory trimmed value 31250Hz is not an option as the baudrate will be far off even att room temperature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, questions is if the accuracy of the FLL stated in the datasheet (min:-2.3% max:0.8%) is relevant when using an external crystal? OR is the stated accuracy including the IRC inaccuracy of min-0.8% max: 0.8% (min: -1% max:0.8% when trimmed @ 25°C)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would also want to know, when changing the IRC frequency through the trim value, is the FLL accuracy affected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the app note&amp;nbsp;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN5300.pdf" title="https://www.nxp.com/docs/en/application-note/AN5300.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN5300.pdf&lt;/A&gt;&amp;nbsp; which suggest that the FLL output has a guaranteed accuracy of +/-4%. Where does this number come from?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Emanuel Wahlqvist&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2018 12:51:56 GMT</pubDate>
    <dc:creator>emanuelwahlqvis</dc:creator>
    <dc:date>2018-05-23T12:51:56Z</dc:date>
    <item>
      <title>KEA64 IRC and FLL accuracy</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA64-IRC-and-FLL-accuracy/m-p/778740#M47375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In order to decide whether the IRC of the KEA64 MCU is good enough for my application I have tried to find the accuracy of the bus clock (derived from the system clock) which drives the UARTs. I have a requirement to communicate at 115200bps with an allowed inaccuracy of +/-2%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the IRC-&amp;gt;FLL with IRC @ factory trimmed value 31250Hz is not an option as the baudrate will be far off even att room temperature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, questions is if the accuracy of the FLL stated in the datasheet (min:-2.3% max:0.8%) is relevant when using an external crystal? OR is the stated accuracy including the IRC inaccuracy of min-0.8% max: 0.8% (min: -1% max:0.8% when trimmed @ 25°C)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would also want to know, when changing the IRC frequency through the trim value, is the FLL accuracy affected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the app note&amp;nbsp;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN5300.pdf" title="https://www.nxp.com/docs/en/application-note/AN5300.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN5300.pdf&lt;/A&gt;&amp;nbsp; which suggest that the FLL output has a guaranteed accuracy of +/-4%. Where does this number come from?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Emanuel Wahlqvist&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 12:51:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA64-IRC-and-FLL-accuracy/m-p/778740#M47375</guid>
      <dc:creator>emanuelwahlqvis</dc:creator>
      <dc:date>2018-05-23T12:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: KEA64 IRC and FLL accuracy</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA64-IRC-and-FLL-accuracy/m-p/778741#M47376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;So, questions &lt;/EM&gt;is&lt;EM&gt; if the accuracy of the FLL stated in the datasheet (min:-2.3% max:0.8%) is relevant when using an external crystal?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Do you refer to the "Frequency accuracy of DCO output using factory trim value"? if so, as it is named, this value was taken using the factory trim value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;is the stated accuracy including the IRC inaccuracy of min-0.8% max: 0.8% (min: -1% max:0.8% when trimmed @ 25°C)?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The accuracy of -0.8% and 0.8% is the accuracy of the IRC, it doesn't take into account that it will pass through the FLL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I would also want to &lt;/EM&gt;know,&lt;EM&gt; when changing the IRC frequency through the trim value, is the FLL accuracy affected?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;No, it should remain the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 May 2018 01:01:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA64-IRC-and-FLL-accuracy/m-p/778741#M47376</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2018-05-26T01:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: KEA64 IRC and FLL accuracy</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA64-IRC-and-FLL-accuracy/m-p/778742#M47377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for looking into this issue. Please let me clarify my question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;EM style="border: 0px; font-weight: inherit;"&gt;So, questions&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;is&lt;EM style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;if the accuracy of the FLL stated in the datasheet (min:-2.3% max:0.8%) is relevant when using an external crystal?&lt;/EM&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Do you refer to the "Frequency accuracy of DCO output using factory trim value"? if so, as it is named, this value was taken using the factory trim value.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;- Yes, I was referring to that value. Then what is the accuracy of the FLL when using an external crystal to feed it? And do I interpret it correctly that if using the IRC to feed the FLL and the IRC frequency is changed with the trim value, the total accuracy of the FLL output will&amp;nbsp;not be changed&amp;nbsp;due to the lower IRC accuracy?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Best regards&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Emanuel W&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 13:53:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA64-IRC-and-FLL-accuracy/m-p/778742#M47377</guid>
      <dc:creator>emanuelwahlqvis</dc:creator>
      <dc:date>2018-05-29T13:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: KEA64 IRC and FLL accuracy</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA64-IRC-and-FLL-accuracy/m-p/778743#M47378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Emanuel &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the late reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; Then what is the accuracy of the FLL when using an external crystal to feed it?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, this value wasn't measured and so, it wasn't included in the datasheet specification, in those cases, you have to check crystal characteristics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; if using the IRC to feed the FLL and the IRC frequency is changed with the trim value, the total accuracy of the FLL output will&amp;nbsp;not be changed&amp;nbsp;due to the lower IRC accuracy?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;No, FLL accuracy shouldn't change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 21:09:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA64-IRC-and-FLL-accuracy/m-p/778743#M47378</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2018-06-11T21:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: KEA64 IRC and FLL accuracy</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA64-IRC-and-FLL-accuracy/m-p/778744#M47379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the clarifications. I do have another question which I cannot find an exact answer to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If one&amp;nbsp;reads the factory setting for the SCTRIM as&amp;nbsp;from ICS_C3 and adjusts this with a fixed offset as show in this code snippet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;// Adjust the internal oscillator frequency with this fixed offset&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#define FREQ_OFFSET_ADJUSTMENT 10U&lt;/SPAN&gt;
ICS_C3 &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; ICS_C3 &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;ICS_C3_SCTRIM&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;FREQ_OFFSET_ADJUSTMENT&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would the resulting frequency be the same for every device (as they all are calibrated for the same IRC frequency and the offset is fixed) or will it vary due to the non-linear behavior of the SCTRIM adjustments?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Emanuel W&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2018 07:59:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA64-IRC-and-FLL-accuracy/m-p/778744#M47379</guid>
      <dc:creator>emanuelwahlqvis</dc:creator>
      <dc:date>2018-06-19T07:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: KEA64 IRC and FLL accuracy</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA64-IRC-and-FLL-accuracy/m-p/778745#M47380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Emanuel Wahlqvist&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, this value is not the same for every device, all devices are calibrated to the same frequency, but you cannot apply the same formula, because every device varies in different ways.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Jorge Alcala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 20:00:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA64-IRC-and-FLL-accuracy/m-p/778745#M47380</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2018-06-21T20:00:26Z</dc:date>
    </item>
  </channel>
</rss>

