<?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 SPI Master Receive Interrupt in NFC</title>
    <link>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883218#M5166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sanath Rai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually the callback is trigger when number of bytes are received or sent, so for your case, you need something to trigger the callback, though I am not sure the details of your application, just for instance, if there are 2 bytes sent out before 6 bytes&amp;nbsp; received, you should set the water level to 2 before calling phhalSPIM_Transmit(), and after 2 bytes sent out, the callback function will be triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Apr 2019 07:41:05 GMT</pubDate>
    <dc:creator>Kan_Li</dc:creator>
    <dc:date>2019-04-11T07:41:05Z</dc:date>
    <item>
      <title>PN7462 SPI Master Receive Interrupt</title>
      <link>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883215#M5163</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;i am working on PN7462&amp;nbsp; NFC based Microcontroller.&lt;/P&gt;&lt;P&gt;I am using PNEV7462C development kit .&lt;/P&gt;&lt;P&gt;I need SPI master for one of my application.&lt;/P&gt;&lt;P&gt;i am able to transmit multiple data via MOSI to the slave device using the&amp;nbsp;HAL driver function&lt;/P&gt;&lt;P&gt;but my issue is with Receiving data via MISO .&lt;/P&gt;&lt;P&gt;there is HAL function for it ,&amp;nbsp;but my application needs it in interrupt form, that is when i receive data&amp;nbsp; ISR for receive data should be called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is&amp;nbsp;this&amp;nbsp; concept of water level interrupt which is bit confusing .Can any one help me to figure out the water level interrupts ? how can it be used for receive SPI data?&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;Are there any other way to receive SPI data via interrupts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sanath Rai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Apr 2019 04:15:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883215#M5163</guid>
      <dc:creator>sanath_rai</dc:creator>
      <dc:date>2019-04-06T04:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: PN7462 SPI Master Receive Interrupt</title>
      <link>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883216#M5164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sanath Rai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The API guide has details regarding this topic, please refer to the following for details.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79260i268F8F3BE86F8247/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and if the expected number of data is received or sent, the ISR will call the callback function as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79302i195CD40C7CFA9679/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;you may put the data reception function in this callback, but we don't recommend doing that, as it might affect timing of other tasks, and if you insist on that, please keep the code as short as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2019 06:10:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883216#M5164</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2019-04-10T06:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: PN7462 SPI Master Receive Interrupt</title>
      <link>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883217#M5165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kan_Li,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am transmitting around 30 bytes of data through MOSI.While&amp;nbsp;transmitting&amp;nbsp; i don't want the water level interrupt to be called.&lt;/P&gt;&lt;P&gt;I need the water level callback while i receive the data only.&lt;/P&gt;&lt;P&gt;In my case its hitting callback even when i&amp;nbsp;am transmitting data.&lt;/P&gt;&lt;P&gt;say for Example i need to receive 6 bytes &amp;nbsp;,below is the way i am testing the receive part of SPIM.&lt;/P&gt;&lt;P&gt;can you just&amp;nbsp;validate it whether i am doing it right or wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step1:&lt;/STRONG&gt; phhalSPIM_Init(PH_EXHIF_HW_SPIM_TIMEOUT);&lt;BR /&gt;&lt;STRONG&gt;Step2:&amp;nbsp;&lt;/STRONG&gt;phhalSPIM_Configure(PH_EXHIF_HW_SPIM_SLAVE, PH_EXHIF_HW_SPIM_MSB_FIRST, \&lt;BR /&gt; E_SPIM_MODE1, 0, \&lt;BR /&gt; 0, PH_EXHIF_HW_SPIM_NSSPOL);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step3:&amp;nbsp;&lt;/STRONG&gt;phhalSPIM_SetWaterLevel(6, &lt;SPAN&gt;Water_level _callback&lt;/SPAN&gt;);&amp;nbsp; &amp;nbsp; &amp;nbsp;//6 Number of bytes i want to receive&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step4:&lt;/STRONG&gt; &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Water_level _callback()&lt;/SPAN&gt;{&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;phhalSPIM_Receive(PH_EXHIF_HW_SPIM_SLAVE,PH_EXHIF_HW_SPIM_INIT_CRC,PH_EXHIF_HW_SPIM_CRC_INIT,6,rxspibuf,PH_EXHIF_HW_SPIM_CRC_OFFSET);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am calling Receive function inside the water level callback function so that after i receive i can use the data for comparison and use in my application.&lt;/P&gt;&lt;P&gt;Is that the right way?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In function &lt;SPAN style="font-weight: 400;"&gt;&lt;STRONG&gt;&lt;STRONG&gt;phhalSPIM_SetWaterLevel,&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;How to differentiate between number of bytes of data need to be transmitted and received? Are there separate settings for that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sanath Rai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2019 07:25:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883217#M5165</guid>
      <dc:creator>sanath_rai</dc:creator>
      <dc:date>2019-04-11T07:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: PN7462 SPI Master Receive Interrupt</title>
      <link>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883218#M5166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sanath Rai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually the callback is trigger when number of bytes are received or sent, so for your case, you need something to trigger the callback, though I am not sure the details of your application, just for instance, if there are 2 bytes sent out before 6 bytes&amp;nbsp; received, you should set the water level to 2 before calling phhalSPIM_Transmit(), and after 2 bytes sent out, the callback function will be triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2019 07:41:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883218#M5166</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2019-04-11T07:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: PN7462 SPI Master Receive Interrupt</title>
      <link>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883219#M5167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kan_Li,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you are saying if i want to receive 6 bytes i need to set water level to 6 bytes and then call&amp;nbsp;&lt;STRONG style="background-color: #ffffff; color: #51626f; "&gt;phhalSPIM_Receive() &lt;/STRONG&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;in callback as i am doing in above code which i had posted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In my application i will send the data out first but i will not receive data immediately it will come only from the slave occasionally or depends on the application from my slave side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sanath Rai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2019 08:31:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883219#M5167</guid>
      <dc:creator>sanath_rai</dc:creator>
      <dc:date>2019-04-11T08:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: PN7462 SPI Master Receive Interrupt</title>
      <link>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883220#M5168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanath Rai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that is the case, water level can not be used for your application, does the slave side have any signal to notify the host start the read operation? like a GPIO toggling signal, which may be used as an interrupt signal, and you may put the SPI read code in the ISR instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2019 06:00:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883220#M5168</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2019-04-15T06:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: PN7462 SPI Master Receive Interrupt</title>
      <link>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883221#M5169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the delayed reply.&lt;/P&gt;&lt;P&gt;That's a good suggestion i will give it a try and let you know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sanath Rai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2019 11:59:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883221#M5169</guid>
      <dc:creator>sanath_rai</dc:creator>
      <dc:date>2019-04-16T11:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: PN7462 SPI Master Receive Interrupt</title>
      <link>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883222#M5170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is ok, please kindly let me know if there is any issue.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2019 02:36:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883222#M5170</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2019-04-17T02:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: PN7462 SPI Master Receive Interrupt</title>
      <link>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883223#M5171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which document has the information about external interrupts of PN7462? and also are there any drivers written for external interrupts in example libraries?&lt;/P&gt;&lt;P&gt;so that i will use a&amp;nbsp;GPIO pin for external interrupt to indicate the incoming&amp;nbsp; data from slave side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sanath Rai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2019 10:26:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883223#M5171</guid>
      <dc:creator>sanath_rai</dc:creator>
      <dc:date>2019-04-17T10:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: PN7462 SPI Master Receive Interrupt</title>
      <link>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883224#M5172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanath Rai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PN7462 has enough GPIO interrupt resources , please refer to the following for details. You also may refer to 8.6 I/O Pad Management in UM10858 for more details.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62211iE0D73D3C932F7355/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/61884iC3504B4EC98970AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and you may find GPIO drivers in the hal folder as shown below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/64770i7B98C183606CAA00/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 08:31:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883224#M5172</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2019-04-18T08:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: PN7462 SPI Master Receive Interrupt</title>
      <link>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883225#M5173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the guidance.&lt;/P&gt;&lt;P&gt;i can configure the GPIO as external interrupts .but i could not find the callback(ISR) for it.&lt;/P&gt;&lt;P&gt;am i missing something.Or do i need to use PCR init and PCR call back function(&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;phhalPcr_RegCallBack)&lt;/SPAN&gt; for it?&lt;/P&gt;&lt;P&gt;below are the functions used for configuring&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;phStatus_t phhalPcr_ConfigInput();&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;phStatus_t phhalPcr_ConfigPuPd();&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sanath Rai&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 10:57:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883225#M5173</guid>
      <dc:creator>sanath_rai</dc:creator>
      <dc:date>2019-04-18T10:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: PN7462 SPI Master Receive Interrupt</title>
      <link>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883226#M5174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanath Rai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually phhalPcr_GpioInit() is enough to setup the GPIOs, and it is done out of POR.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/75608iF0BE9322DD704E9C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You may just modify the EEPROM configurations referring to UM10948&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/75867i17211E4C4C222F34/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and GPIO ISRs are referred in phFlashBoot_VT.c.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/64488i06BB9FF4F9F10B28/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You may define the ISR as others, for example, SPIM_IRQHandler().&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/63048iAF88177A18A49ABA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2019 02:38:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883226#M5174</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2019-04-19T02:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: PN7462 SPI Master Receive Interrupt</title>
      <link>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883227#M5175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's a Good function to Initialize the GPIO as input/output and as interrupts.&lt;/P&gt;&lt;P&gt;So i can initialize any of the GPIO's 1-12 as interrupt source using&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;phhalPcr_GpioInit()&amp;nbsp;.&lt;/STRONG&gt;I understood the&amp;nbsp; function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;But can you please elaborate on the configuration part &lt;STRONG&gt;InputISR[12]&lt;/STRONG&gt; and &lt;STRONG&gt;OutputPUPD[12] .&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;i am bit confused there.Sorry for the trouble.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thank You&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Sanath Rai&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2019 05:45:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883227#M5175</guid>
      <dc:creator>sanath_rai</dc:creator>
      <dc:date>2019-04-19T05:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: PN7462 SPI Master Receive Interrupt</title>
      <link>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883228#M5176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanath Rai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to the following for details.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80086i070721DC2BD1BEB5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2019 04:41:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883228#M5176</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2019-04-22T04:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: PN7462 SPI Master Receive Interrupt</title>
      <link>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883229#M5177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the support.&lt;/P&gt;&lt;P&gt;I understood the configuration. I will work on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks And regards,&lt;/P&gt;&lt;P&gt;Sanath Rai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2019 09:01:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7462-SPI-Master-Receive-Interrupt/m-p/883229#M5177</guid>
      <dc:creator>sanath_rai</dc:creator>
      <dc:date>2019-04-22T09:01:04Z</dc:date>
    </item>
  </channel>
</rss>

