<?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 How to transfer data read from NFC card using SPI slave mode in PN7462AU_ex_phExVCom in NFC</title>
    <link>https://community.nxp.com/t5/NFC/How-to-transfer-data-read-from-NFC-card-using-SPI-slave-mode-in/m-p/1001649#M6556</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am using PN7462 for NFC development. I realized in the routine PN7462AU_ex_phExVCom that the PN7462 reads the data of the NFC card and transmits it to the computer using the USB VCOM serial port. Now I want to use SPI and use the PN7462 as the SPI slave to send data. I tried to add the phhalHif_Transmit () function to the data read from the NFC card and tried to send the data as a slave through SPI, but I found that when the PN7462 received the 0XFF instruction sent by the SPI master, the MISO data line was always high. level. When I delete all the USB VCOM initialization functions and serial port transfer functions in the main program, the NFC data can be read normally, but the MISO of the SPI slave remains high. How do I send data through the SPI slave?Program code, waveform diagram of SPI slave, and project file are added in the attachment.&lt;/P&gt;&lt;P&gt;Looking forward to your reply！&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks！&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Mar 2020 08:04:26 GMT</pubDate>
    <dc:creator>15041539</dc:creator>
    <dc:date>2020-03-23T08:04:26Z</dc:date>
    <item>
      <title>How to transfer data read from NFC card using SPI slave mode in PN7462AU_ex_phExVCom</title>
      <link>https://community.nxp.com/t5/NFC/How-to-transfer-data-read-from-NFC-card-using-SPI-slave-mode-in/m-p/1001649#M6556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am using PN7462 for NFC development. I realized in the routine PN7462AU_ex_phExVCom that the PN7462 reads the data of the NFC card and transmits it to the computer using the USB VCOM serial port. Now I want to use SPI and use the PN7462 as the SPI slave to send data. I tried to add the phhalHif_Transmit () function to the data read from the NFC card and tried to send the data as a slave through SPI, but I found that when the PN7462 received the 0XFF instruction sent by the SPI master, the MISO data line was always high. level. When I delete all the USB VCOM initialization functions and serial port transfer functions in the main program, the NFC data can be read normally, but the MISO of the SPI slave remains high. How do I send data through the SPI slave?Program code, waveform diagram of SPI slave, and project file are added in the attachment.&lt;/P&gt;&lt;P&gt;Looking forward to your reply！&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks！&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2020 08:04:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/How-to-transfer-data-read-from-NFC-card-using-SPI-slave-mode-in/m-p/1001649#M6556</guid>
      <dc:creator>15041539</dc:creator>
      <dc:date>2020-03-23T08:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer data read from NFC card using SPI slave mode in PN7462AU_ex_phExVCom</title>
      <link>https://community.nxp.com/t5/NFC/How-to-transfer-data-read-from-NFC-card-using-SPI-slave-mode-in/m-p/1001650#M6557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="color: #000000;"&gt;&lt;SPAN style="background-color: #ffffff; font-size: small; font-family: Arial, sans-serif; "&gt;Hello,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000;"&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: small;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;As mentioned via case, PN7462 SPI slave driver is available in the NFC reader library. Please find the source code in&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;PN7462AU/phHal/phhalHif for your reference.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000;"&gt;&lt;SPAN style="background-color: #ffffff; font-size: small; font-family: Arial, sans-serif; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000;"&gt;&lt;SPAN style="background-color: #ffffff; font-size: small; font-family: Arial, sans-serif; "&gt;Hope it helps!&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000;"&gt;&lt;SPAN style="background-color: #ffffff; font-size: small; font-family: Arial, sans-serif; "&gt;BR,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000;"&gt;&lt;SPAN style="background-color: #ffffff; font-size: small; font-family: Arial, sans-serif; "&gt;Ivan.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2020 20:32:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/How-to-transfer-data-read-from-NFC-card-using-SPI-slave-mode-in/m-p/1001650#M6557</guid>
      <dc:creator>IvanRuiz</dc:creator>
      <dc:date>2020-03-24T20:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer data read from NFC card using SPI slave mode in PN7462AU_ex_phExVCom</title>
      <link>https://community.nxp.com/t5/NFC/How-to-transfer-data-read-from-NFC-card-using-SPI-slave-mode-in/m-p/1160051#M7748</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/166773"&gt;@IvanRuiz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I am having issue with SPI communication, In which I am able to send data to the slave but unable to receive data from it.&lt;/P&gt;&lt;P&gt;I have tried HIF example to developed spi communication using interrupt based reception of data, but it always fails and unable to receive data over it.&lt;/P&gt;&lt;P&gt;I would request you to please share feedback &amp;amp; solution for it.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:21:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/How-to-transfer-data-read-from-NFC-card-using-SPI-slave-mode-in/m-p/1160051#M7748</guid>
      <dc:creator>sachin_singh</dc:creator>
      <dc:date>2020-09-28T11:21:46Z</dc:date>
    </item>
  </channel>
</rss>

