<?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: TWR-KW24D512 UART issue</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KW24D512-UART-issue/m-p/491420#M30331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response to my issue!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The jumpers are correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is that I configured MCGCLKOUT uses external reference clock(32MHz) via MCG_C1, and divide value (SIM_CLKDIV1) is set to 1 (divided by 2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set the UART module clock to 327678*512 based on the formula in section 53.4.3. And it is not working properly. The baud rate is set to 115200 (8N1).&lt;/P&gt;&lt;P&gt;But the UART works, if I set UART module clock to 32768*460.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I know where is the cause of this problem? Is my understanding of the manual correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Lu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Feb 2016 04:24:39 GMT</pubDate>
    <dc:creator>luwan</dc:creator>
    <dc:date>2016-02-10T04:24:39Z</dc:date>
    <item>
      <title>TWR-KW24D512 UART issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KW24D512-UART-issue/m-p/491418#M30329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used TWR-KW24D512 Dev Board.&lt;/P&gt;&lt;P&gt;The OpenSDA chip is programmed the firmware downloaded from segger website.(JLink_OpenSDA_2015-10-13.sda)&lt;/P&gt;&lt;P&gt;The UART 1 is configured to baud rate 115200, 8N1.&lt;/P&gt;&lt;P&gt;But PC fails to tx/rx frames from the dev board from the mini USB port.&lt;/P&gt;&lt;P&gt;Can you help point out what is the cause of the issue?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 08:31:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KW24D512-UART-issue/m-p/491418#M30329</guid>
      <dc:creator>luwan</dc:creator>
      <dc:date>2016-02-05T08:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-KW24D512 UART issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KW24D512-UART-issue/m-p/491419#M30330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lu Wang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for my delay. Regarding the problem you're having may be caused by several reasons, however I would recommend to check the jumpers in your board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This might be the reason you're not getting records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take a look to this link in page 14, you will see the jumpers configuration, specially J17 and J18:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://cache.nxp.com/files/rf_if/doc/ref_manual/TWR-KW2XHWRM.pdf?fpsp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" rel="nofollow"&gt;http://cache.nxp.com/files/rf_if/doc/ref_manual/TWR-KW2XHWRM.pdf?fpsp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you have further concerns.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 21:47:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KW24D512-UART-issue/m-p/491419#M30330</guid>
      <dc:creator>franciscomezana</dc:creator>
      <dc:date>2016-02-09T21:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-KW24D512 UART issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KW24D512-UART-issue/m-p/491420#M30331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response to my issue!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The jumpers are correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is that I configured MCGCLKOUT uses external reference clock(32MHz) via MCG_C1, and divide value (SIM_CLKDIV1) is set to 1 (divided by 2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set the UART module clock to 327678*512 based on the formula in section 53.4.3. And it is not working properly. The baud rate is set to 115200 (8N1).&lt;/P&gt;&lt;P&gt;But the UART works, if I set UART module clock to 32768*460.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I know where is the cause of this problem? Is my understanding of the manual correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Lu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 04:24:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KW24D512-UART-issue/m-p/491420#M30331</guid>
      <dc:creator>luwan</dc:creator>
      <dc:date>2016-02-10T04:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-KW24D512 UART issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KW24D512-UART-issue/m-p/491421#M30332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope you’re doing well. Sorry for my delay regarding the formula I am not very sure how did you get the numbers to set the UART. The formula comes from this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/53294i5B7624CD4D4A2AC6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Core Clock is the one you should set this is a known value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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/53336i05D40331DE328614/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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would check your Core Clock and the Baud rate fine adjust (BRFA).&lt;/P&gt;&lt;P&gt;You can see this information in page 1374 of the MKW2xD Reference Manual. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this information helps.&lt;/P&gt;&lt;P&gt;Please let me know if you have further concerns.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 23:27:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KW24D512-UART-issue/m-p/491421#M30332</guid>
      <dc:creator>franciscomezana</dc:creator>
      <dc:date>2016-02-15T23:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-KW24D512 UART issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KW24D512-UART-issue/m-p/491422#M30333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you give me some sample register values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to set UART baud rate to 115200. And the reference external clock is 32MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Lu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 09:41:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KW24D512-UART-issue/m-p/491422#M30333</guid>
      <dc:creator>luwan</dc:creator>
      <dc:date>2016-02-17T09:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-KW24D512 UART issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KW24D512-UART-issue/m-p/491423#M30334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you give me a sample code for initializing System Clock and Uart baud rate?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to configure System Clock and baud rate via manipulating MCG_C1, OUTDIV1, but they are not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 09:06:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KW24D512-UART-issue/m-p/491423#M30334</guid>
      <dc:creator>luwan</dc:creator>
      <dc:date>2016-02-19T09:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-KW24D512 UART issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KW24D512-UART-issue/m-p/491424#M30335</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;I hope you're doing well. I recommend to download KINETIS-SDK: Software Development Kit for Kinetis MCUs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/products/software-and-tools/run-time-software/kinetis-software-and-tools/development-platforms-with-mbed/software-development-kit-for-kinetis-mcus:KINETIS-SDK?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1" title="http://www.nxp.com/products/software-and-tools/run-time-software/kinetis-software-and-tools/development-platforms-with-mbed/software-development-kit-for-kinetis-mcus:KINETIS-SDK?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1"&gt;Software Development Kit for Kinetis MCUs|NXP&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you have download this, please follow this path for the UART samples:&lt;/P&gt;&lt;P&gt;C:\Freescale\KSDK_1.3.0\examples\twrkw24d512\driver_examples\uart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this information helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 17:29:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KW24D512-UART-issue/m-p/491424#M30335</guid>
      <dc:creator>franciscomezana</dc:creator>
      <dc:date>2016-02-19T17:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-KW24D512 UART issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KW24D512-UART-issue/m-p/491425#M30336</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;Do you have any simple example to show how the clock is initialized?&lt;/P&gt;&lt;P&gt;The source code is too much to get a quick start…&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 03:39:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KW24D512-UART-issue/m-p/491425#M30336</guid>
      <dc:creator>luwan</dc:creator>
      <dc:date>2016-02-26T03:39:36Z</dc:date>
    </item>
  </channel>
</rss>

