<?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>S12 / MagniV MicrocontrollersのトピックXGATE ISR size question</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/XGATE-ISR-size-question/m-p/2197645#M20773</link>
    <description>&lt;P&gt;From what I've read in the manuals and application notes, XGATE is designed to service ISRs to take some load off of the CPU. It also states that these ISRs should be kept as short as possible, so I have 2 questions.&lt;/P&gt;&lt;P&gt;First, how short is short? Is there a guide line for the number of instructions that the ISR should be limited to?&lt;/P&gt;&lt;P&gt;Second, why is it necessary to keep these ISRs short, and what happens if they get too long?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;</description>
    <pubDate>Mon, 03 Nov 2025 17:15:27 GMT</pubDate>
    <dc:creator>roberthiebert</dc:creator>
    <dc:date>2025-11-03T17:15:27Z</dc:date>
    <item>
      <title>XGATE ISR size question</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/XGATE-ISR-size-question/m-p/2197645#M20773</link>
      <description>&lt;P&gt;From what I've read in the manuals and application notes, XGATE is designed to service ISRs to take some load off of the CPU. It also states that these ISRs should be kept as short as possible, so I have 2 questions.&lt;/P&gt;&lt;P&gt;First, how short is short? Is there a guide line for the number of instructions that the ISR should be limited to?&lt;/P&gt;&lt;P&gt;Second, why is it necessary to keep these ISRs short, and what happens if they get too long?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2025 17:15:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/XGATE-ISR-size-question/m-p/2197645#M20773</guid>
      <dc:creator>roberthiebert</dc:creator>
      <dc:date>2025-11-03T17:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: XGATE ISR size question</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/XGATE-ISR-size-question/m-p/2198067#M20775</link>
      <description>That's just a standard to make Interrupt Service Routines taking as short as possible. ISR's taking longer lead to longer interrupt latency and other potential application issues.&lt;BR /&gt;Smaller code often means faster code (small loopy code of some may take very long).&lt;BR /&gt;XGATE ISR code is limited by XGATE memory space, which is 64k.&lt;BR /&gt;Regarding shortness of ISR, you may decide to not use XGATE interrupts at all and instead trigger one (software) interrupt and never exit from its ISR.</description>
      <pubDate>Tue, 04 Nov 2025 07:23:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/XGATE-ISR-size-question/m-p/2198067#M20775</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2025-11-04T07:23:55Z</dc:date>
    </item>
  </channel>
</rss>

