<?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: AutoTrim</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/AutoTrim/m-p/1022519#M56299</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/nxf54944"&gt;nxf54944&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did go through the document, I want to know the implication if I do not do the autotrim?&lt;/P&gt;&lt;P&gt;I also looked into the registers to configure the autotrim - MCG_ATCVH and&amp;nbsp;MCG_ATCVL, is there some upper and lower limit to configure these registers?&amp;nbsp;&lt;/P&gt;&lt;P&gt;An example in both cases would be very helpful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Feb 2020 06:27:22 GMT</pubDate>
    <dc:creator>smathad</dc:creator>
    <dc:date>2020-02-03T06:27:22Z</dc:date>
    <item>
      <title>AutoTrim</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/AutoTrim/m-p/1022517#M56297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody please give me some more input on what exactly is AUTOTRIM and what are its functions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are working on a project to switch external crystal clock to internal 48M IRC on the Kinetis K24.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see that an AUTOTRIM configuration has been done during bsp initialisations. I want to know if this will affect our project in anyway and the precaution/changes that we need to take with this particular subject.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2020 13:54:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/AutoTrim/m-p/1022517#M56297</guid>
      <dc:creator>smathad</dc:creator>
      <dc:date>2020-01-30T13:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: AutoTrim</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/AutoTrim/m-p/1022518#M56298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="354814" data-username="smathad@hubbell.com" href="https://community.nxp.com/people/smathad@hubbell.com"&gt;Sachin Mathad&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Along with clock multiplier and dividers, clock trimming offers a way for users to control the frequency of internal clocks in their target processors. Unlike multipliers and dividers, digital clock trimming allows changes to the internal clock through specific registers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The MCG Auto Trim (ATM) is a MCG feature that when enabled, it configures the MCG&lt;/P&gt;&lt;P&gt;hardware to automatically trim the MCG Internal Reference Clocks using an external&lt;/P&gt;&lt;P&gt;clock as a reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can find more detailed information at chapter 25.4.7 "MCG Auto TRIM (ATM)" of the Reference manual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if this is helpful, if you have more questions do not hesitate to ask me.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Omar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2020 18:31:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/AutoTrim/m-p/1022518#M56298</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2020-01-31T18:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: AutoTrim</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/AutoTrim/m-p/1022519#M56299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/nxf54944"&gt;nxf54944&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did go through the document, I want to know the implication if I do not do the autotrim?&lt;/P&gt;&lt;P&gt;I also looked into the registers to configure the autotrim - MCG_ATCVH and&amp;nbsp;MCG_ATCVL, is there some upper and lower limit to configure these registers?&amp;nbsp;&lt;/P&gt;&lt;P&gt;An example in both cases would be very helpful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2020 06:27:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/AutoTrim/m-p/1022519#M56299</guid>
      <dc:creator>smathad</dc:creator>
      <dc:date>2020-02-03T06:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: AutoTrim</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/AutoTrim/m-p/1022520#M56300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="354814" data-username="smathad@hubbell.com" href="https://community.nxp.com/people/smathad@hubbell.com"&gt;Sachin Mathad&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The implication of not use the Auto Trim is that you will not be able to change an internal clock frequency.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ATCVL and ATCVH register is a 16bits register, the max value that can be stored is 65,535.&lt;/P&gt;&lt;P&gt;The limit is taking in count that the maximum external clock value is 32Mhz.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This formula can be useful to calculate the register value.&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100702iE306FC585444A6A0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Note that if you want to modify the INT48Mhz you need to multiply for 128 the value obtained from the above formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Omar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2020 18:59:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/AutoTrim/m-p/1022520#M56300</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2020-02-04T18:59:28Z</dc:date>
    </item>
  </channel>
</rss>

