<?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: API-interrupt in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/API-interrupt/m-p/615923#M13248</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I read the Register,&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;When machine exception occurs:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;MMCECH=0x11;&lt;SPAN&gt;MMCECL=0x11;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;MMCPCH=0xFF;MMCPCM=0xF1;MMCPCL=0x00;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;MMCCCRH=0x00;MMCCCRL=0x40;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;But I still donot know what is the problem.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Feb 2017 15:29:14 GMT</pubDate>
    <dc:creator>xiaohui200808</dc:creator>
    <dc:date>2017-02-22T15:29:14Z</dc:date>
    <item>
      <title>API-interrupt</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/API-interrupt/m-p/615919#M13244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I am now using S12ZVC .I meet API interrupt .What is the&amp;nbsp;CPMUACLKTR meaning.? When I set&amp;nbsp;CPMUAPICTL_APICLK=1,little time later application will die.&lt;/P&gt;&lt;P&gt;My code API_init(){&lt;/P&gt;&lt;P&gt;CPMUAPIR=0x1234;&lt;/P&gt;&lt;P&gt;CPMUACLKTR=0;&lt;/P&gt;&lt;P&gt;CPMUAPICTL=0x99;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CPMUAPICTL_APIF=1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CPMUAPICTL_APIFE=1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CPMUAPICTL_APIF=1;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 15:40:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/API-interrupt/m-p/615919#M13244</guid>
      <dc:creator>xiaohui200808</dc:creator>
      <dc:date>2017-02-08T15:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: API-interrupt</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/API-interrupt/m-p/615920#M13245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;The CPMUACLKTR register configures the trimming of API. &lt;/SPAN&gt;The example project attached shows use of it. API period is measured with a timer and then increased or decreased accordingly using ACLKTR [5:0] bits.&lt;/P&gt;&lt;P&gt;I don’t know why your application dies, please try the attached code and if the problem remains, let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 07:58:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/API-interrupt/m-p/615920#M13245</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2017-02-10T07:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: API-interrupt</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/API-interrupt/m-p/615921#M13246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Recently,I test a bootloader which used API interrupt.When I donot use bootloader ,downloaded the app into MCU ,API and other interrupts can work normally.&lt;/P&gt;&lt;P&gt;when downloaded the app into MCU by CAN bus.Other interrupts can work normally,except API interrupt .I test the app, find than when&amp;nbsp;&lt;SPAN&gt; downloaded the app into MCU by CAN bus.API interrupt occured normally,but a Machine Exception interrupt occured at the sametime. &amp;nbsp;Idonot know why the&amp;nbsp;M&lt;SPAN&gt;achine &lt;/SPAN&gt;&lt;SPAN&gt;E&lt;/SPAN&gt;&lt;SPAN&gt;xceptioncould happen.Is there any solution to this problem?Attenchment is my code. Thank you!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Feb 2017 14:49:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/API-interrupt/m-p/615921#M13246</guid>
      <dc:creator>xiaohui200808</dc:creator>
      <dc:date>2017-02-19T14:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: API-interrupt</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/API-interrupt/m-p/615922#M13247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Have you tried to find the source of the issue that cause the Machine exception. When machine exception occurs, several registers (MMCEC, MMCPC,…) contain information about the failure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 11:54:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/API-interrupt/m-p/615922#M13247</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2017-02-22T11:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: API-interrupt</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/API-interrupt/m-p/615923#M13248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I read the Register,&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;When machine exception occurs:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;MMCECH=0x11;&lt;SPAN&gt;MMCECL=0x11;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;MMCPCH=0xFF;MMCPCM=0xF1;MMCPCL=0x00;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;MMCCCRH=0x00;MMCCCRL=0x40;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;But I still donot know what is the problem.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 15:29:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/API-interrupt/m-p/615923#M13248</guid>
      <dc:creator>xiaohui200808</dc:creator>
      <dc:date>2017-02-22T15:29:14Z</dc:date>
    </item>
  </channel>
</rss>

