<?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>LPC MicrocontrollersのトピックRe: USART3 and USART4 not working on LPC845</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/USART3-and-USART4-not-working-on-LPC845/m-p/1076563#M41453</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Burghard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I create a simple project for you , use UART3, TX-PIO0_18, TX-PIO0_19 as your code,&lt;/P&gt;&lt;P&gt;the UART3 can work well on my side, you can refer it to check your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jul 2020 07:50:24 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2020-07-14T07:50:24Z</dc:date>
    <item>
      <title>USART3 and USART4 not working on LPC845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USART3-and-USART4-not-working-on-LPC845/m-p/1076560#M41450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've setup USART1-4 (USART0 configured for debugger output) but can only get Data through USART1 and 2. 3 and 4 cause the MCU to lock up and freeze.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;init before my main loop is the same for all USART&lt;/P&gt;&lt;P&gt;PRINTF("Init started\n\r");&lt;/P&gt;&lt;P&gt;USART_TransferCreateHandle(usart_3, &amp;amp;usart3_handle, USARTUserCallback, &amp;amp;callbackUserData3);&lt;/P&gt;&lt;P&gt;PRINTF("Handle created\n\r");&lt;/P&gt;&lt;P&gt;USART_TransferStartRingBuffer(usart_3, &amp;amp;usart13_handle, ringBuffer3, 100);&lt;/P&gt;&lt;P&gt;PRINTF("Init finished\n\r");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both messages are printed, but when the USART recives data / sends data on 3 or 4 the MCU frezes up and dosn't react to anything. But also there is no stack trace.&lt;BR /&gt;When I try to stop the program in debug mode, it seems to always be inside the interrupts. Breakpoints in the main loop never fire after "hanging".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pins and Clock are configured with the Configuration Tool and looks correct:&lt;/P&gt;&lt;P&gt;#define USART4_PERIPHERAL ((USART_Type *)USART4)&lt;BR /&gt;#define USART4_CLOCK_SOURCE 18000000UL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SWM_SetMovablePinSelect(SWM0, kSWM_USART3_TXD, kSWM_PortPin_P0_19);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SWM_SetMovablePinSelect(SWM0, kSWM_USART3_RXD, kSWM_PortPin_P0_18);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SWM_SetMovablePinSelect(SWM0, kSWM_USART4_TXD, kSWM_PortPin_P0_15);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SWM_SetMovablePinSelect(SWM0, kSWM_USART4_RXD, kSWM_PortPin_P0_14);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2020 21:37:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USART3-and-USART4-not-working-on-LPC845/m-p/1076560#M41450</guid>
      <dc:creator>DasKeks</dc:creator>
      <dc:date>2020-07-07T21:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: USART3 and USART4 not working on LPC845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USART3-and-USART4-not-working-on-LPC845/m-p/1076561#M41451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="361565" data-username="nxp@3bleuchtmittel.de" href="https://community.nxp.com/people/nxp@3bleuchtmittel.de" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;Burghard Bode&lt;/A&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;Please send your whole project , I will help you check it.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;If it can't public, you can send me a private message.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2020 05:53:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USART3-and-USART4-not-working-on-LPC845/m-p/1076561#M41451</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2020-07-08T05:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: USART3 and USART4 not working on LPC845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USART3-and-USART4-not-working-on-LPC845/m-p/1076562#M41452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Find the test project here: &lt;A href="https://nextcloud.3b-troisdorf.de/index.php/s/RetwqML8NRqGkb7"&gt;Project zipped&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2020 14:48:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USART3-and-USART4-not-working-on-LPC845/m-p/1076562#M41452</guid>
      <dc:creator>DasKeks</dc:creator>
      <dc:date>2020-07-10T14:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: USART3 and USART4 not working on LPC845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USART3-and-USART4-not-working-on-LPC845/m-p/1076563#M41453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Burghard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I create a simple project for you , use UART3, TX-PIO0_18, TX-PIO0_19 as your code,&lt;/P&gt;&lt;P&gt;the UART3 can work well on my side, you can refer it to check your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2020 07:50:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USART3-and-USART4-not-working-on-LPC845/m-p/1076563#M41453</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2020-07-14T07:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: USART3 and USART4 not working on LPC845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USART3-and-USART4-not-working-on-LPC845/m-p/1076564#M41454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This code does use the blocking interface, not the interupt functions. I debugged my code further and it seems to be stuck in an endless loop inside PIN_INT6_USART3_IRQHandler. - But the interupt handler is not called in the blocking functions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2020 08:11:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USART3-and-USART4-not-working-on-LPC845/m-p/1076564#M41454</guid>
      <dc:creator>DasKeks</dc:creator>
      <dc:date>2020-07-14T08:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: USART3 and USART4 not working on LPC845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USART3-and-USART4-not-working-on-LPC845/m-p/1076565#M41455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Burghard,&lt;/P&gt;&lt;P&gt;You can create a simple project, use MCUXpresso Config tool to config , or you can change code in UART demo under SDK. Then porting code into your project.&lt;/P&gt;&lt;P&gt;I add UART3 configration to SDK demo “lpcxpresso845max_usart_transfer_interrupt”, just test USART_TransferSendNonBlocking() function, it can send word successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 06:50:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USART3-and-USART4-not-working-on-LPC845/m-p/1076565#M41455</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2020-07-16T06:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: USART3 and USART4 not working on LPC845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USART3-and-USART4-not-working-on-LPC845/m-p/1076566#M41456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finaly found the root cause. There was an interupt conflict with the PINT component. After removing PINT everything worked as expected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2020 08:06:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USART3-and-USART4-not-working-on-LPC845/m-p/1076566#M41456</guid>
      <dc:creator>DasKeks</dc:creator>
      <dc:date>2020-08-11T08:06:49Z</dc:date>
    </item>
  </channel>
</rss>

