<?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: CAN receive issue in debug mode in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-receive-issue-in-debug-mode/m-p/2002610#M57316</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/211793"&gt;@Jaga123&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you check if there are any error messages in the CAN TX and RX registers?&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
    <pubDate>Wed, 27 Nov 2024 07:48:50 GMT</pubDate>
    <dc:creator>Harry_Zhang</dc:creator>
    <dc:date>2024-11-27T07:48:50Z</dc:date>
    <item>
      <title>CAN receive issue in debug mode</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-receive-issue-in-debug-mode/m-p/2000944#M57307</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using LPC4357 controller and Keil mdk 5.36 software. When I am in debug mode, and everything is working fine. if I stops code using breakpoint for some seconds and then allowing code to run without any break point then I am not able to receive CAN data but before stopping code CAN receive and transmitting is working fine. But I am able to send data after resuming the code. I checked through a CAN analyzer the data is available in the bus but I am not able to read. when I reset controller then again I am able to read data. what can be issue?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 09:43:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-receive-issue-in-debug-mode/m-p/2000944#M57307</guid>
      <dc:creator>Jaga123</dc:creator>
      <dc:date>2024-11-25T09:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: CAN receive issue in debug mode</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-receive-issue-in-debug-mode/m-p/2002610#M57316</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/211793"&gt;@Jaga123&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you check if there are any error messages in the CAN TX and RX registers?&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 07:48:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-receive-issue-in-debug-mode/m-p/2002610#M57316</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2024-11-27T07:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: CAN receive issue in debug mode</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-receive-issue-in-debug-mode/m-p/2002652#M57317</link>
      <description>No, there is no error in CAN registers.&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Nov 2024 08:28:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-receive-issue-in-debug-mode/m-p/2002652#M57317</guid>
      <dc:creator>Jaga123</dc:creator>
      <dc:date>2024-11-27T08:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: CAN receive issue in debug mode</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-receive-issue-in-debug-mode/m-p/2002654#M57318</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jaga123_0-1732696179027.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/312790i6B4BB68547EC9E90/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jaga123_0-1732696179027.png" alt="Jaga123_0-1732696179027.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;here CAN error register data just after CAN communication stopped.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 08:30:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-receive-issue-in-debug-mode/m-p/2002654#M57318</guid>
      <dc:creator>Jaga123</dc:creator>
      <dc:date>2024-11-27T08:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: CAN receive issue in debug mode</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-receive-issue-in-debug-mode/m-p/2003282#M57323</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/211793"&gt;@Jaga123&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think there are three more possibilities&lt;/P&gt;
&lt;P&gt;1. CAN Controller Buffer Overrun:&lt;BR /&gt;While the code is paused, the CAN peripheral continues to receive messages. If these messages are not handled (processed and cleared), the receive buffer may overflow, causing the CAN controller to stop receiving new messages.&lt;BR /&gt;2. Interrupt Handling:&lt;BR /&gt;When the debug mode is paused, pending CAN interrupts may not be serviced. Upon resuming, the CAN controller may remain in a state waiting for interrupt flags to be cleared.&lt;/P&gt;
&lt;P&gt;3. Debug Behavior Settings:&lt;BR /&gt;The debugger may disable peripheral clocks or interrupt handling during a pause, preventing the CAN peripheral from functioning correctly.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 02:49:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-receive-issue-in-debug-mode/m-p/2003282#M57323</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2024-11-28T02:49:58Z</dc:date>
    </item>
  </channel>
</rss>

