<?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 Interrupt only triggered after pausing debug?  in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Interrupt-only-triggered-after-pausing-debug/m-p/758011#M2140</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to deal with a weird issue where a CAN interrupt is only being triggered after I suspend a debug session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance, I have a break-point at "CAN0_ORed_0_15_MB_IRQHandler()" which is the first function called from the interrupt vector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Starting the code, I have the following, showing now CAN interrupts have been flagged:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="CAN_NoInterrupt.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28958i7F381F2B08300D35/image-size/large?v=v2&amp;amp;px=999" role="button" title="CAN_NoInterrupt.jpg" alt="CAN_NoInterrupt.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, I let the board run, and send a CAN message (verified that this occurs)... and nothing happens. When I suspend the debug session, the register shows there is a CAN interrupt:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="CAN_InterruptApparent.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29001iB2DDBD31C0810632/image-size/large?v=v2&amp;amp;px=999" role="button" title="CAN_InterruptApparent.jpg" alt="CAN_InterruptApparent.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After I resume the debug session, I suddenly hit my break-point!!&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="IRQ.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29028i9C1980301DE601A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="IRQ.jpg" alt="IRQ.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Why on earth would this happen *only* after pausing a debug session?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jan 2018 22:17:52 GMT</pubDate>
    <dc:creator>gearhead1107</dc:creator>
    <dc:date>2018-01-25T22:17:52Z</dc:date>
    <item>
      <title>Interrupt only triggered after pausing debug?</title>
      <link>https://community.nxp.com/t5/S32K/Interrupt-only-triggered-after-pausing-debug/m-p/758011#M2140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to deal with a weird issue where a CAN interrupt is only being triggered after I suspend a debug session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance, I have a break-point at "CAN0_ORed_0_15_MB_IRQHandler()" which is the first function called from the interrupt vector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Starting the code, I have the following, showing now CAN interrupts have been flagged:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="CAN_NoInterrupt.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28958i7F381F2B08300D35/image-size/large?v=v2&amp;amp;px=999" role="button" title="CAN_NoInterrupt.jpg" alt="CAN_NoInterrupt.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, I let the board run, and send a CAN message (verified that this occurs)... and nothing happens. When I suspend the debug session, the register shows there is a CAN interrupt:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="CAN_InterruptApparent.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29001iB2DDBD31C0810632/image-size/large?v=v2&amp;amp;px=999" role="button" title="CAN_InterruptApparent.jpg" alt="CAN_InterruptApparent.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After I resume the debug session, I suddenly hit my break-point!!&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="IRQ.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29028i9C1980301DE601A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="IRQ.jpg" alt="IRQ.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Why on earth would this happen *only* after pausing a debug session?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 22:17:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Interrupt-only-triggered-after-pausing-debug/m-p/758011#M2140</guid>
      <dc:creator>gearhead1107</dc:creator>
      <dc:date>2018-01-25T22:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupt only triggered after pausing debug?</title>
      <link>https://community.nxp.com/t5/S32K/Interrupt-only-triggered-after-pausing-debug/m-p/758012#M2141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kinda dumb, but still interesting - this happened because interrupts were disabled globally but not re-enabled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jan 2018 02:19:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Interrupt-only-triggered-after-pausing-debug/m-p/758012#M2141</guid>
      <dc:creator>gearhead1107</dc:creator>
      <dc:date>2018-01-26T02:19:11Z</dc:date>
    </item>
  </channel>
</rss>

