<?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>CodeWarrior for MCUのトピックRe: Misaligned long word access interrupt</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Misaligned-long-word-access-interrupt/m-p/1538905#M15795</link>
    <description>&lt;P&gt;Having continued to develop the code for other functionality, the misaligned long word acccess has gone away.&amp;nbsp; If it pops up again, I will post the offending code.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Oct 2022 04:04:11 GMT</pubDate>
    <dc:creator>pgillaspy</dc:creator>
    <dc:date>2022-10-18T04:04:11Z</dc:date>
    <item>
      <title>Misaligned long word access interrupt</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Misaligned-long-word-access-interrupt/m-p/1535770#M15786</link>
      <description>&lt;P&gt;I am using CW 11.1 with DSC 2.7.3 on MC56F83000-EVK.&amp;nbsp; When I call a subroutine from an ISR I get vectored to the following default&amp;nbsp; interrupt routine:&lt;/P&gt;&lt;P&gt;/* misaligned long word access interrupt ($0A) */&lt;/P&gt;&lt;P&gt;#ifndef INT_VECTOR_ADDR_5&lt;BR /&gt;#define INT_VECTOR_ADDR_5 misalign&lt;/P&gt;&lt;P&gt;static asm void misalign(void)&lt;BR /&gt;{&lt;BR /&gt;debughlt&lt;BR /&gt;nop&lt;BR /&gt;rti&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;#endif&lt;/P&gt;&lt;P&gt;If I do not call the subroutine, the ISR performs correctly.&amp;nbsp; What is the cause of this misaligned long word access interrupt error?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 16:18:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Misaligned-long-word-access-interrupt/m-p/1535770#M15786</guid>
      <dc:creator>pgillaspy</dc:creator>
      <dc:date>2022-10-11T16:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Misaligned long word access interrupt</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Misaligned-long-word-access-interrupt/m-p/1538456#M15794</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Can you post the ISR code which will fire the unaligned ISR?&lt;/P&gt;
&lt;P&gt;As a workaround, if the api function you called in ISR takes a long time, I suggest you just set a bool flag in the ISR, in the main while(1), you can poll the flag, if it is set, call the api function, then clear the flag.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 09:00:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Misaligned-long-word-access-interrupt/m-p/1538456#M15794</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-10-17T09:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Misaligned long word access interrupt</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Misaligned-long-word-access-interrupt/m-p/1538905#M15795</link>
      <description>&lt;P&gt;Having continued to develop the code for other functionality, the misaligned long word acccess has gone away.&amp;nbsp; If it pops up again, I will post the offending code.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 04:04:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Misaligned-long-word-access-interrupt/m-p/1538905#M15795</guid>
      <dc:creator>pgillaspy</dc:creator>
      <dc:date>2022-10-18T04:04:11Z</dc:date>
    </item>
  </channel>
</rss>

