<?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: How to configure DEC in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/How-to-configure-DEC/m-p/725578#M9775</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry,Its a silly question,Because the &amp;nbsp;MSR[EE] is 0, so it cannot trigger interrupt.But Why MSR[EE] cleared unexpected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 May 2018 08:59:06 GMT</pubDate>
    <dc:creator>xiaofangu</dc:creator>
    <dc:date>2018-05-11T08:59:06Z</dc:date>
    <item>
      <title>How to configure DEC</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-configure-DEC/m-p/725576#M9773</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 need to use DEC in S32DS.Power.2017.r1.And I have configured it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;First time,it can run into&amp;nbsp;DECisr()function,the related registers is look like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12565i2F7427BFC2DA498C/image-size/large?v=v2&amp;amp;px=999" title="Image 1.png" alt="Image 1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and in the DECisr function,I clear the DIS flag:&lt;/P&gt;&lt;P&gt;__asm("e_lis %0, 0x0800\n\t"&lt;BR /&gt; "mttsr %0\n\t"&lt;BR /&gt; :"=r" (regi0));//if it is right&lt;/P&gt;&lt;P&gt;but,it seem not to clear DIS bit,and it is still 1.And then，the program can run back to main function successfully,and it cannot run into DECisr() anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so,what's wrong with my progress?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 May 2018 10:46:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-configure-DEC/m-p/725576#M9773</guid>
      <dc:creator>xiaofangu</dc:creator>
      <dc:date>2018-05-06T10:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure DEC</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-configure-DEC/m-p/725577#M9774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry,I forgot to mention that the MCU is MPC5634m&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 03:25:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-configure-DEC/m-p/725577#M9774</guid>
      <dc:creator>xiaofangu</dc:creator>
      <dc:date>2018-05-09T03:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure DEC</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-configure-DEC/m-p/725578#M9775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry,Its a silly question,Because the &amp;nbsp;MSR[EE] is 0, so it cannot trigger interrupt.But Why MSR[EE] cleared unexpected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 08:59:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-configure-DEC/m-p/725578#M9775</guid>
      <dc:creator>xiaofangu</dc:creator>
      <dc:date>2018-05-11T08:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure DEC</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-configure-DEC/m-p/725579#M9776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Him it is because EE affects External input (i.e. interrupt controller), decrementer, and fixed-interval timer. See MSR description below from core reference manual:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29593i67332EDA48A81E7E/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 08:52:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-configure-DEC/m-p/725579#M9776</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2018-05-23T08:52:11Z</dc:date>
    </item>
  </channel>
</rss>

