<?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 Development ToolsのトピックRe: Why Ammclib can not work in interrupt program?</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Why-Ammclib-can-not-work-in-interrupt-program/m-p/710076#M6304</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;was there any solution of this problem? I have the same problems too and use MPC5777C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to multiply in an ISR. If i call for test the function MLIB_Mul(FRAC32(0.185), FRAC32(0.195), F32) an IVOR1-exception occurs.&lt;/P&gt;&lt;P&gt;Then i tried the function&amp;nbsp; MLIB_Abs() within this ISR. Its result is the same as input (negative sign) - not ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In any loop, which is called from the main loop, all this functions works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give support?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jul 2019 11:44:17 GMT</pubDate>
    <dc:creator>robert_metzerot</dc:creator>
    <dc:date>2019-07-25T11:44:17Z</dc:date>
    <item>
      <title>Why Ammclib can not work in interrupt program?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Why-Ammclib-can-not-work-in-interrupt-program/m-p/710074#M6302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Follow the&amp;nbsp;User's Guide of Ammclib，I have integrated the lib into CW10.&amp;amp;. It works, when I use the lib in main（），but when I use the lib function in interrupt， it does not work.&lt;/P&gt;&lt;P&gt;extern void usrIsr (void)&lt;BR /&gt;{&lt;BR /&gt; PIT.CHANNEL[0].TFLG.R=0x1; /*Clear PIT0 Interrupt flag*/&lt;BR /&gt;..........&lt;BR /&gt; f32Angle = FRAC32 (0.5);&lt;BR /&gt; GFLIB_SinCos (f32Angle, &amp;amp;pf32Output);&lt;BR /&gt; scope1=pf32Output.f32Arg1;&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why? How to handle the mistake?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 04:19:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Why-Ammclib-can-not-work-in-interrupt-program/m-p/710074#M6302</guid>
      <dc:creator>amosxue</dc:creator>
      <dc:date>2017-10-19T04:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why Ammclib can not work in interrupt program?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Why-Ammclib-can-not-work-in-interrupt-program/m-p/710075#M6303</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;could you please specify, which microcontroller you use and could you please share some simple project?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 08:21:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Why-Ammclib-can-not-work-in-interrupt-program/m-p/710075#M6303</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2017-10-31T08:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why Ammclib can not work in interrupt program?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Why-Ammclib-can-not-work-in-interrupt-program/m-p/710076#M6304</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;was there any solution of this problem? I have the same problems too and use MPC5777C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to multiply in an ISR. If i call for test the function MLIB_Mul(FRAC32(0.185), FRAC32(0.195), F32) an IVOR1-exception occurs.&lt;/P&gt;&lt;P&gt;Then i tried the function&amp;nbsp; MLIB_Abs() within this ISR. Its result is the same as input (negative sign) - not ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In any loop, which is called from the main loop, all this functions works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give support?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2019 11:44:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Why-Ammclib-can-not-work-in-interrupt-program/m-p/710076#M6304</guid>
      <dc:creator>robert_metzerot</dc:creator>
      <dc:date>2019-07-25T11:44:17Z</dc:date>
    </item>
  </channel>
</rss>

