<?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 Re: UART2 in KEAZ128 is causing problems in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART2-in-KEAZ128-is-causing-problems/m-p/856916#M51371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hugo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Where is your main function? In which file?&lt;/P&gt;&lt;P&gt;&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/76976i93F01CA2594F14A9/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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can your simplify your project, just leave the three UART and the LED code, then I will be easy to reproduce your problem, and check the details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Fri, 25 Jan 2019 07:21:21 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2019-01-25T07:21:21Z</dc:date>
    <item>
      <title>UART2 in KEAZ128 is causing problems</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART2-in-KEAZ128-is-causing-problems/m-p/856913#M51368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello I have to use the 3 uarts that I have available, using UART0 and UART1 are working fine once I add UART2 i cannot run my application ( but I can debug it without any problem ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UART2 initialization&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/77167i3007203857589EB8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UART0 and UART1&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/77226i33AD75E414412913/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only difference is the baudrate, but everything else is the same, but when I call UART2 I cannot run my application only if I am in debug mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen something weird each time I change the priority back and forward I can run the application 1 time but after the first time it stops working again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2019 16:44:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART2-in-KEAZ128-is-causing-problems/m-p/856913#M51368</guid>
      <dc:creator>tonymor90</dc:creator>
      <dc:date>2019-01-23T16:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: UART2 in KEAZ128 is causing problems</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART2-in-KEAZ128-is-causing-problems/m-p/856914#M51369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hugo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From your description, I think the problem still in the software side.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You said if you are using debug mode, it works OK, could you also share your project, and tell me what the IDE you are using? I will help you to check it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; When you just download it to your chip, you said it can't work, how you judge it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you comment UART0 and UART1, just leave UART2, whether it works OK without the debug mode?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; It's better to share your code, you can delete all other code which is important to you, just leave the three UART which can reproduce the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You said:&lt;STRONG&gt; I change the priority back and forward I can run the application 1 time but after the first time it stops working again.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please give me more details, eg, how you modify the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Thu, 24 Jan 2019 06:51:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART2-in-KEAZ128-is-causing-problems/m-p/856914#M51369</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-01-24T06:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: UART2 in KEAZ128 is causing problems</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART2-in-KEAZ128-is-causing-problems/m-p/856915#M51370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I think is software side but I don't know what could it be.&lt;/P&gt;&lt;P&gt;I am using Codewarrior, I will attach the project so you can check it.&lt;/P&gt;&lt;P&gt;I was able to judge it because I have an LED that blinks when I am reseting my other devices that are connected to the microcontroller but&amp;nbsp; when I add UART2 it gets stuck and y does not blink anymore, once I remove UART2 init everything works fine again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already tried just using UART2 but it did not work.&lt;/P&gt;&lt;P&gt;I was changing the priority manually with codewarrior and then I was trying to test back again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2019 13:56:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART2-in-KEAZ128-is-causing-problems/m-p/856915#M51370</guid>
      <dc:creator>antoniomoran</dc:creator>
      <dc:date>2019-01-24T13:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: UART2 in KEAZ128 is causing problems</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART2-in-KEAZ128-is-causing-problems/m-p/856916#M51371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hugo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Where is your main function? In which file?&lt;/P&gt;&lt;P&gt;&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/76976i93F01CA2594F14A9/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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can your simplify your project, just leave the three UART and the LED code, then I will be easy to reproduce your problem, and check the details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Fri, 25 Jan 2019 07:21:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART2-in-KEAZ128-is-causing-problems/m-p/856916#M51371</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-01-25T07:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: UART2 in KEAZ128 is causing problems</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART2-in-KEAZ128-is-causing-problems/m-p/856917#M51372</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;TargetMain_Main is my main, that project should run if you click yes, because that's my main.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot simplify the project it has a lot of callbacks to different files to make it work, I will send you the path to the UART configuration and LED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i simply the code it wont be possible to compile it&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TargetMain.c Function&amp;nbsp;&lt;/P&gt;&lt;P&gt;BLE_TPMS\BLE_TPMS\Sources\PlatformPackage\ActualPackage&lt;/P&gt;&lt;P&gt;UAR.c&lt;/P&gt;&lt;P&gt;BLE_TPMS\BLE_TPMS\Sources\PlatformPackage\ActualPackage\HalPackage&lt;/P&gt;&lt;P&gt;GPIO.c is for LED&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BLE_TPMS\BLE_TPMS\Sources\PlatformPackage\ActualPackage\HalPackage&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Lin.c has the configuariton for UART2, the one that does not work&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BLE_TPMS\BLE_TPMS\Sources\PlatformPackage\ActualPackage\HalPackage&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2019 14:46:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART2-in-KEAZ128-is-causing-problems/m-p/856917#M51372</guid>
      <dc:creator>tonymor90</dc:creator>
      <dc:date>2019-01-25T14:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: UART2 in KEAZ128 is causing problems</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART2-in-KEAZ128-is-causing-problems/m-p/856918#M51373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hugo Moran,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; This is the click the yes result:&lt;/P&gt;&lt;P&gt;&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/77371iB56C7D11FE7259F2/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;I will create a new project which use the 3 uart, then send it to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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, 28 Jan 2019 08:10:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART2-in-KEAZ128-is-causing-problems/m-p/856918#M51373</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-01-28T08:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: UART2 in KEAZ128 is causing problems</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART2-in-KEAZ128-is-causing-problems/m-p/856919#M51374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hugo Moran,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I create a cw KEA128 project, which based on PE, and contains 3 UARTs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; UART0:PTAA2,PTA3, send out 0XAA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; UART1:PTF2,PTF3, send out 0X11&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; UART2: PTD6,PTD7 , send out 0X22&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; LED pin:PTC0, will always blink.&lt;/P&gt;&lt;P&gt;My test platform is TRK-KEA128 revD board.&lt;/P&gt;&lt;P&gt;All the 3 uart works OK on my side.&lt;/P&gt;&lt;P&gt;So, I think you can check my project and test it on your side directly.&lt;/P&gt;&lt;P&gt;Please find the project from the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;After you test my project, please let me know the test result.&lt;/P&gt;&lt;P&gt;Just make sure whether the 3 uart can works OK together on your side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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, 28 Jan 2019 10:14:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART2-in-KEAZ128-is-causing-problems/m-p/856919#M51374</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-01-28T10:14:06Z</dc:date>
    </item>
  </channel>
</rss>

