<?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>MPC5xxxのトピックRe: MPC57xx external interrupt</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC57xx-external-interrupt/m-p/601249#M4544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have already resolved this issue via NXP support case, but I will place my answer also here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see example in the attachment. It shows, how to correctly configure external interrupt.&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, 22 Nov 2016 09:24:18 GMT</pubDate>
    <dc:creator>martinkovar</dc:creator>
    <dc:date>2016-11-22T09:24:18Z</dc:date>
    <item>
      <title>MPC57xx external interrupt</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC57xx-external-interrupt/m-p/601248#M4543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used MPC57xx platform in my project.&lt;/P&gt;&lt;P&gt;There is a question confused me about GPI and interrupt status.&lt;/P&gt;&lt;P&gt;I use &lt;EM&gt;&lt;STRONG&gt;PA2&lt;/STRONG&gt; &lt;/EM&gt;as GPI.&lt;/P&gt;&lt;P&gt;The following sitting is PA2 config setting.&lt;/P&gt;&lt;P style="min-height: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G&gt;SIUL2.DISR0.R = 1&amp;lt;&amp;lt;2;&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;// SIUL2.DIRER0.B.EIRE2 =1; //enable "external interrupt request_2"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;After above PA2 config. and Interrupt setting I have always read "SIUL2.DISR0.R" and handly tie PA2 high or low to generate edge trigger.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Unfortunately, I always can't get any external interrupt status .&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Does there something wrong in the above setting?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please help me or give me some reference code.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 05:51:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC57xx-external-interrupt/m-p/601248#M4543</guid>
      <dc:creator>jefferson_ll</dc:creator>
      <dc:date>2016-11-17T05:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: MPC57xx external interrupt</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC57xx-external-interrupt/m-p/601249#M4544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have already resolved this issue via NXP support case, but I will place my answer also here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see example in the attachment. It shows, how to correctly configure external interrupt.&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, 22 Nov 2016 09:24:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC57xx-external-interrupt/m-p/601249#M4544</guid>
      <dc:creator>martinkovar</dc:creator>
      <dc:date>2016-11-22T09:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: MPC57xx external interrupt</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC57xx-external-interrupt/m-p/601250#M4545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV dir="ltr" style="color: #222222; background-color: #ffffff; font-size: 14px;"&gt;Hi Martin,&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;I have found something&amp;nbsp;wrong setting in &lt;STRONG&gt;IREER0&lt;/STRONG&gt; after modified it the external interrupt ISR could be triggered.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Thanks for your help.&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #222222; background-color: #ffffff; font-size: 14px;"&gt;&lt;BR clear="all" /&gt;&lt;DIV&gt;&lt;DIV class="" data-smartmail="gmail_signature"&gt;&lt;DIV dir="ltr"&gt;&lt;DIV&gt;Best regards,&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Jeff&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 10:00:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC57xx-external-interrupt/m-p/601250#M4545</guid>
      <dc:creator>jefferson_ll</dc:creator>
      <dc:date>2016-11-22T10:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: MPC57xx external interrupt</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC57xx-external-interrupt/m-p/601251#M4546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Hi Jeff,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we have already resolved this issue via NXP support case, but I will place my answer also here.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see example in the attachment. It shows, how to correctly configure external interrupt.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 16:48:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC57xx-external-interrupt/m-p/601251#M4546</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-11-22T16:48:49Z</dc:date>
    </item>
  </channel>
</rss>

