<?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 MKE04Z8VTG4 internal clock issue in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE04Z8VTG4-internal-clock-issue/m-p/413491#M23488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I am facing internal clock issue in the park MKE04Z8VTG4 to get the UART communication work..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue:&lt;/P&gt;&lt;P&gt;PC tool is configured for 9600 baud rate and KE04 part is configured close to 8192 and communication works. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if KE04 is configured close to 9600, say 9500 the communication doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expected:&lt;/P&gt;&lt;P&gt;0x06, 0x07, 0x08, 0x09, 0x10, 0x11, 0x01, 0x04, 0x01, 0x00, 0x01, 0x00, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Received:&lt;/P&gt;&lt;P&gt;0x42, 0x88, 0x45, 0x48, 0x41, 0x28, 0x40, 0x20, 0x4B, 0x69, 0x70, 0x4B, 0xFC &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know your comments.And also can you suggest what settings i need change to get the accurate clock for peripherals from internal clock.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2015 08:40:12 GMT</pubDate>
    <dc:creator>umsankarkalluru</dc:creator>
    <dc:date>2015-07-15T08:40:12Z</dc:date>
    <item>
      <title>MKE04Z8VTG4 internal clock issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE04Z8VTG4-internal-clock-issue/m-p/413491#M23488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I am facing internal clock issue in the park MKE04Z8VTG4 to get the UART communication work..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue:&lt;/P&gt;&lt;P&gt;PC tool is configured for 9600 baud rate and KE04 part is configured close to 8192 and communication works. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if KE04 is configured close to 9600, say 9500 the communication doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expected:&lt;/P&gt;&lt;P&gt;0x06, 0x07, 0x08, 0x09, 0x10, 0x11, 0x01, 0x04, 0x01, 0x00, 0x01, 0x00, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Received:&lt;/P&gt;&lt;P&gt;0x42, 0x88, 0x45, 0x48, 0x41, 0x28, 0x40, 0x20, 0x4B, 0x69, 0x70, 0x4B, 0xFC &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know your comments.And also can you suggest what settings i need change to get the accurate clock for peripherals from internal clock.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 08:40:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE04Z8VTG4-internal-clock-issue/m-p/413491#M23488</guid>
      <dc:creator>umsankarkalluru</dc:creator>
      <dc:date>2015-07-15T08:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: MKE04Z8VTG4 internal clock issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE04Z8VTG4-internal-clock-issue/m-p/413492#M23489</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;I suggest you follow this article to trim the internal reference clock to 31.25k. then you can get a baud rate more close to 9600.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-95356"&gt;Yes, OSDA can trim the reference of internal clock source!&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can this solution work for you?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&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>Wed, 15 Jul 2015 09:42:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE04Z8VTG4-internal-clock-issue/m-p/413492#M23489</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-07-15T09:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: MKE04Z8VTG4 internal clock issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE04Z8VTG4-internal-clock-issue/m-p/413493#M23490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello umsankar kalluru:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jennie is correct, most probably the cause is the internal clock trimming. By default the KE04 is factory trimmed to 37.5 kHz. I think you are using Processor Expert, so please consider these 2 scenarios:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Case 1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If using the factory trimmed values, make sure Processor Expert uses the 37.5 kHz frequency, disable the "Initialize slow trim value" and disable the "Calculate Trim..." option from the debug configuration:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Case1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56294i0D0D6DA3199B8328/image-size/large?v=v2&amp;amp;px=999" role="button" title="Case1.png" alt="Case1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Case 2)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a different internal frequency (e.g. 31.25 kHz), set the frequency to Processor Expert, enable the "Initialize slow trim value", enable the "Calculate Trim..." option and also the "Use custom trim..." option with the desired frequency in the debug configuration:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Case2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56380iF626398775E0921C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Case2.png" alt="Case2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 23:16:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE04Z8VTG4-internal-clock-issue/m-p/413493#M23490</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-07-15T23:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: MKE04Z8VTG4 internal clock issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE04Z8VTG4-internal-clock-issue/m-p/413494#M23491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am not able to find the "Program Trim Register" window in debug configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using KDS 2.00 and Segger J link for debugging, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 06:30:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE04Z8VTG4-internal-clock-issue/m-p/413494#M23491</guid>
      <dc:creator>umsankarkalluru</dc:creator>
      <dc:date>2015-07-17T06:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: MKE04Z8VTG4 internal clock issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE04Z8VTG4-internal-clock-issue/m-p/413495#M23492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Segger J link does not have the option to trim the internal reference, only P&amp;amp;E connections. In your case go with case (1) mentioned in my reply above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 13:51:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE04Z8VTG4-internal-clock-issue/m-p/413495#M23492</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-07-17T13:51:14Z</dc:date>
    </item>
  </channel>
</rss>

