<?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: iMXRT1064 uart interrupt stops resuming from breakpoint in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/iMXRT1064-uart-interrupt-stops-resuming-from-breakpoint/m-p/1009930#M6379</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="293898" data-username="anujtanksali" href="https://community.nxp.com/people/anujtanksali"&gt;Anuj Tanksali&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where you put the breakpoint?&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have tested the SDK2.7.0 evkmimxrt1064_lpuart_interrupt_transfer on my side, but I am using the CMSIS DAP debugger, please check my test 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/103740iC680B5786EABB1CE/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;remove the breakpoint, you can find I still can receive the uart data:&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/103705iF22FBC6A4F4F16CC/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;&amp;nbsp; So, please tell me your breakpoint code line number, then I do more testing with P&amp;amp;E multilink, at least, the CMSIS DAP has no problem on my side, my test platform is the MIMXRT1064-EVK board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any updated information, please kindly let me know.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Kerry&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Mar 2020 03:00:01 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2020-03-25T03:00:01Z</dc:date>
    <item>
      <title>iMXRT1064 uart interrupt stops resuming from breakpoint</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/iMXRT1064-uart-interrupt-stops-resuming-from-breakpoint/m-p/1009929#M6378</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 am facing an peculiar issue related to debug. Am using iMXRT1064 device and debugging my code through PE Micro.&lt;/P&gt;&lt;P&gt;Am using a uart interrupt where i received bytes. When i put break point in application code the break point hits. when i continue the program the uart interrupt stops and am not able to receive any bytes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;this happens only if any break point is hit and i continue the program. Am using MCUXpresso 11.1 and SDK 2.7.0&lt;/P&gt;&lt;P&gt;This happens only for uart interrupt. Other interrupts work fine even after resuming from debug breakpoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anuj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2020 16:08:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/iMXRT1064-uart-interrupt-stops-resuming-from-breakpoint/m-p/1009929#M6378</guid>
      <dc:creator>anujtanksali</dc:creator>
      <dc:date>2020-03-24T16:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: iMXRT1064 uart interrupt stops resuming from breakpoint</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/iMXRT1064-uart-interrupt-stops-resuming-from-breakpoint/m-p/1009930#M6379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="293898" data-username="anujtanksali" href="https://community.nxp.com/people/anujtanksali"&gt;Anuj Tanksali&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where you put the breakpoint?&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have tested the SDK2.7.0 evkmimxrt1064_lpuart_interrupt_transfer on my side, but I am using the CMSIS DAP debugger, please check my test 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/103740iC680B5786EABB1CE/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;remove the breakpoint, you can find I still can receive the uart data:&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/103705iF22FBC6A4F4F16CC/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;&amp;nbsp; So, please tell me your breakpoint code line number, then I do more testing with P&amp;amp;E multilink, at least, the CMSIS DAP has no problem on my side, my test platform is the MIMXRT1064-EVK board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any updated information, please kindly let me know.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Kerry&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2020 03:00:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/iMXRT1064-uart-interrupt-stops-resuming-from-breakpoint/m-p/1009930#M6379</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-03-25T03:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: iMXRT1064 uart interrupt stops resuming from breakpoint</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/iMXRT1064-uart-interrupt-stops-resuming-from-breakpoint/m-p/1009931#M6380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/kerryzhou"&gt;kerryzhou&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am testing on my prototype board and code is different than EVK example. Am using PE micro debugger. Can you please check with PE micro universal debugger and let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anuj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2020 15:36:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/iMXRT1064-uart-interrupt-stops-resuming-from-breakpoint/m-p/1009931#M6380</guid>
      <dc:creator>anujtanksali</dc:creator>
      <dc:date>2020-04-01T15:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: iMXRT1064 uart interrupt stops resuming from breakpoint</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/iMXRT1064-uart-interrupt-stops-resuming-from-breakpoint/m-p/1009932#M6381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="293898" data-username="anujtanksali" href="https://community.nxp.com/people/anujtanksali" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: underline; font-size: 1.286rem;"&gt;Anuj Tanksali&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Today, I have tested the MIMXRT106x-EVK board with P&amp;amp;E Multilink debugger, totally the same result as CMSIS DAP. The breakpoint still works.&lt;/P&gt;&lt;P&gt;&amp;nbsp; My IDE is&amp;nbsp;MCUXpresso IDE v11.1.0 [Build 3209] [2019-12-12].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Kerry&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2020 04:07:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/iMXRT1064-uart-interrupt-stops-resuming-from-breakpoint/m-p/1009932#M6381</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-04-02T04:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: iMXRT1064 uart interrupt stops resuming from breakpoint</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/iMXRT1064-uart-interrupt-stops-resuming-from-breakpoint/m-p/1009933#M6382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/kerryzhou"&gt;kerryzhou&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me if any UART registers are needed to be cleared as in my interrupt routine i don't see any register flags cleared.&lt;/P&gt;&lt;P&gt;This issue may be because of this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anuj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2020 05:07:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/iMXRT1064-uart-interrupt-stops-resuming-from-breakpoint/m-p/1009933#M6382</guid>
      <dc:creator>anujtanksali</dc:creator>
      <dc:date>2020-04-03T05:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: iMXRT1064 uart interrupt stops resuming from breakpoint</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/iMXRT1064-uart-interrupt-stops-resuming-from-breakpoint/m-p/1009934#M6383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/kerryzhou"&gt;kerryzhou&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the issue. I had not cleared the overrun and parity flags in the rx interrupt. due to break point these flags were being set.&lt;/P&gt;&lt;P&gt;The interrupt works now even with breakpoints.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anuj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2020 08:53:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/iMXRT1064-uart-interrupt-stops-resuming-from-breakpoint/m-p/1009934#M6383</guid>
      <dc:creator>anujtanksali</dc:creator>
      <dc:date>2020-04-03T08:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: iMXRT1064 uart interrupt stops resuming from breakpoint</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/iMXRT1064-uart-interrupt-stops-resuming-from-breakpoint/m-p/1009935#M6384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="293898" data-username="anujtanksali" href="https://community.nxp.com/people/anujtanksali" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: none; font-size: 1.286rem;"&gt;Anuj Tanksali&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Thanks for your updated information, and the solution sharing.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The overrun need to be cleared.&lt;/P&gt;&lt;P&gt;/* If RX overrun. */&lt;BR /&gt; if ((uint32_t)kLPUART_RxOverrunFlag == ((uint32_t)kLPUART_RxOverrunFlag &amp;amp; status))&lt;BR /&gt; {&lt;BR /&gt; /* Clear overrun flag, otherwise the RX does not work. */&lt;BR /&gt; base-&amp;gt;STAT = ((base-&amp;gt;STAT &amp;amp; 0x3FE00000U) | LPUART_STAT_OR_MASK);&lt;/P&gt;&lt;P&gt;/* Trigger callback. */&lt;BR /&gt; if (NULL != (handle-&amp;gt;callback))&lt;BR /&gt; {&lt;BR /&gt; handle-&amp;gt;callback(base, handle, kStatus_LPUART_RxHardwareOverrun, handle-&amp;gt;userData);&lt;BR /&gt; }&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any other question in the future, welcome to create the new question post, thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; margin: 20px 0px;"&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;Kerry&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;/DIV&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px; margin: 20px 0px 0px;"&gt;&lt;DIV class="" data-comment-id="1292527" style="color: #646464; border: none; font-weight: inherit; font-size: 0.8571rem;"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2020 09:35:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/iMXRT1064-uart-interrupt-stops-resuming-from-breakpoint/m-p/1009935#M6384</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-04-03T09:35:39Z</dc:date>
    </item>
  </channel>
</rss>

