<?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: PN7462 GPIO Interrupts in NFC</title>
    <link>https://community.nxp.com/t5/NFC/PN7462-GPIO-Interrupts/m-p/722365#M2894</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Davide,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using the NFC reader library? If yes, What is the version? Please help to clarify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your patience!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day!&lt;/P&gt;&lt;P&gt;Kan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Dec 2017 03:46:07 GMT</pubDate>
    <dc:creator>Kan_Li</dc:creator>
    <dc:date>2017-12-29T03:46:07Z</dc:date>
    <item>
      <title>PN7462 GPIO Interrupts</title>
      <link>https://community.nxp.com/t5/NFC/PN7462-GPIO-Interrupts/m-p/722364#M2893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having a heck of a time getting the interrupt on change to work. &amp;nbsp;I got it to the point that the interrupt is triggering, but for whatever reason, it's not calling the callback.. Instead I find it in a while(1) loop because it says there was no handler defined for the interrupt. &amp;nbsp;But I can't seem to figure out how to tell what interrupt actually got called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;// enable interrupt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; uint32_t dwPcrIRQMessage = (PCR_INT_STATUS_REG_GPIO7_PAD_HIGH_INT_STATUS_MASK | PCR_INT_STATUS_REG_GPIO_INT_STATUS_MASK ); // no idea if this is right&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; status = phhalPcr_RegCallBack(&amp;amp;phExDoorAccess_PcrCallBack,dwPcrIRQMessage);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Then for the callback:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;static void phExDoorAccess_PcrCallBack(uint32_t dwIRQMessage)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;// never gets here&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; return ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;My program ends up here when GPIO7 goes high:&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;void UnExpected_IRQHandler(void)&lt;BR /&gt;{&lt;BR /&gt; /* Since application enabled this IRQ without providing any handler&lt;BR /&gt; * for the same, halt here */&lt;BR /&gt; while ( 1 ) {&lt;BR /&gt; __WFI();&lt;BR /&gt; }&lt;BR /&gt;}&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Any help would be awesome! Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 23:54:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7462-GPIO-Interrupts/m-p/722364#M2893</guid>
      <dc:creator>turbo2ltr</dc:creator>
      <dc:date>2017-12-13T23:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: PN7462 GPIO Interrupts</title>
      <link>https://community.nxp.com/t5/NFC/PN7462-GPIO-Interrupts/m-p/722365#M2894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Davide,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using the NFC reader library? If yes, What is the version? Please help to clarify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your patience!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day!&lt;/P&gt;&lt;P&gt;Kan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 03:46:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7462-GPIO-Interrupts/m-p/722365#M2894</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2017-12-29T03:46:07Z</dc:date>
    </item>
  </channel>
</rss>

