<?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: PN7150 with libnfc-nci / Same UID for each tag after several read in NFC</title>
    <link>https://community.nxp.com/t5/NFC/PN7150-with-libnfc-nci-Same-UID-for-each-tag-after-several-read/m-p/1349461#M8892</link>
    <description>&lt;P&gt;Hi Fabian,&lt;/P&gt;&lt;P&gt;Thank you very much for your reply.&lt;/P&gt;&lt;P&gt;Following your questions:&lt;/P&gt;&lt;P&gt;- Yes, I fully followed the AN11697 doc to compile and install the driver and the lib&lt;/P&gt;&lt;P&gt;- The lib has been build without any options (./bootstrap - ./configure - ./make - ./make install)&lt;/P&gt;&lt;P&gt;Parameters of the conf files are:&lt;/P&gt;&lt;P&gt;-&amp;nbsp;HOST_LISTEN_TECH_MASK=0x07&lt;/P&gt;&lt;P&gt;-&amp;nbsp;POLLING_TECH_MASK=0xEF&lt;/P&gt;&lt;P&gt;- P2P_LISTEN_TECH_MASK=0x00&lt;/P&gt;&lt;P&gt;My test source code and debug trace are attached to this thread.&lt;/P&gt;&lt;P&gt;What is just amazing is when the debug mode is activated, I have no trouble and all card are read with the good uid.&lt;/P&gt;&lt;P&gt;I tried the demoApp but in many case I have "NxpFunc: reSelect: timeout waiting for deactivate" so I'm not able to test several cards.&lt;/P&gt;&lt;P&gt;Thank you very much for your help&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Fri, 01 Oct 2021 07:55:25 GMT</pubDate>
    <dc:creator>CITIZENGATE</dc:creator>
    <dc:date>2021-10-01T07:55:25Z</dc:date>
    <item>
      <title>PN7150 with libnfc-nci / Same UID for each tag after several read</title>
      <link>https://community.nxp.com/t5/NFC/PN7150-with-libnfc-nci-Same-UID-for-each-tag-after-several-read/m-p/1347364#M8875</link>
      <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;I'm facing of a problem I were not able to solve myself.&lt;/P&gt;&lt;P&gt;I'm printing the CSN from the onTagArrival callback but after several read I can see the same UID even if i'm using different card with different UID (original Classic EV1 and DESFire EV2).&lt;/P&gt;&lt;P&gt;As you could see below, the card n° 7,8... return the same UID as the card n°6 (but of course the cards 7, 8 and more have a different UID). It seems that the 6th UID is always kept in memory inside the &lt;EM&gt;pTagInfo &lt;/EM&gt;pointer.&lt;/P&gt;&lt;P&gt;CARD1: E6A09E8D&lt;BR /&gt;CARD2: 042344D2636280&lt;BR /&gt;CARD3:&amp;nbsp;16A9B18D&lt;BR /&gt;CARD4: 94A1D262&lt;BR /&gt;CARD5: 94A1D262&lt;BR /&gt;CARD6: 45A221D8&lt;/P&gt;&lt;P&gt;CARD7: &lt;STRONG&gt;45A221D8&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;CARD8: &lt;STRONG&gt;45A221D8&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;void onTagArrival(nfc_tag_info_t *pTagInfo){&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; for(int i = 0; i &amp;lt; (*pTagInfo).uid_length; i++){&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; printf("%02D", (unsigned char) (*pTagInfo).uid[i]);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; }&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; printf("\n");&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I'm using the last libnfc-nci compiled from the github inside a&amp;nbsp;Linux Debian Buster R01 with an I2C Kernel Driver.&lt;/P&gt;&lt;P&gt;Any Idea about how it's possible and where it could come from ?&lt;/P&gt;&lt;P&gt;Thank you in advance for you help&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 11:33:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7150-with-libnfc-nci-Same-UID-for-each-tag-after-several-read/m-p/1347364#M8875</guid>
      <dc:creator>CITIZENGATE</dc:creator>
      <dc:date>2021-09-28T11:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: PN7150 with libnfc-nci / Same UID for each tag after several read</title>
      <link>https://community.nxp.com/t5/NFC/PN7150-with-libnfc-nci-Same-UID-for-each-tag-after-several-read/m-p/1348629#M8883</link>
      <description>&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="es-MX"&gt;Hello sir,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="es-MX"&gt;I hope you are doing great.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="es-MX"&gt;Could you please provide a little further information about the Linux implementation you are doing?&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="es-MX"&gt;There might be something that was missed out. If this isn't the case maybe we could fix it with your help.&lt;/P&gt;
&lt;P style="margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;SPAN&gt;1. Did you followed the &lt;/SPAN&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN11697.pdf" target="_blank"&gt;&lt;SPAN&gt;AN11697&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.0pt;" lang="es-MX"&gt;2. Which were the steps you followed for the building of the library?&lt;/P&gt;
&lt;P style="margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.0pt;" lang="es-MX"&gt;3. Could you please provide a log of the NCI Library in order to know what is happening when the UID starts to become a static return value?&lt;/P&gt;
&lt;P style="margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.0pt;" lang="es-MX"&gt;4. Have you being able to correctly run the &lt;A href="https://github.com/NXPNFCLinux/linux_libnfc-nci/blob/master/demoapp/main.c" target="_blank"&gt;demoApp&lt;/A&gt; available in the git project?&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="es-MX"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="es-MX"&gt;I'm asking about this because the onTagArrival() implementation that you are posting isn´t the same as the one on the demoApp main file.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2021 18:20:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7150-with-libnfc-nci-Same-UID-for-each-tag-after-several-read/m-p/1348629#M8883</guid>
      <dc:creator>Fabian_R</dc:creator>
      <dc:date>2021-09-29T18:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: PN7150 with libnfc-nci / Same UID for each tag after several read</title>
      <link>https://community.nxp.com/t5/NFC/PN7150-with-libnfc-nci-Same-UID-for-each-tag-after-several-read/m-p/1349461#M8892</link>
      <description>&lt;P&gt;Hi Fabian,&lt;/P&gt;&lt;P&gt;Thank you very much for your reply.&lt;/P&gt;&lt;P&gt;Following your questions:&lt;/P&gt;&lt;P&gt;- Yes, I fully followed the AN11697 doc to compile and install the driver and the lib&lt;/P&gt;&lt;P&gt;- The lib has been build without any options (./bootstrap - ./configure - ./make - ./make install)&lt;/P&gt;&lt;P&gt;Parameters of the conf files are:&lt;/P&gt;&lt;P&gt;-&amp;nbsp;HOST_LISTEN_TECH_MASK=0x07&lt;/P&gt;&lt;P&gt;-&amp;nbsp;POLLING_TECH_MASK=0xEF&lt;/P&gt;&lt;P&gt;- P2P_LISTEN_TECH_MASK=0x00&lt;/P&gt;&lt;P&gt;My test source code and debug trace are attached to this thread.&lt;/P&gt;&lt;P&gt;What is just amazing is when the debug mode is activated, I have no trouble and all card are read with the good uid.&lt;/P&gt;&lt;P&gt;I tried the demoApp but in many case I have "NxpFunc: reSelect: timeout waiting for deactivate" so I'm not able to test several cards.&lt;/P&gt;&lt;P&gt;Thank you very much for your help&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 01 Oct 2021 07:55:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7150-with-libnfc-nci-Same-UID-for-each-tag-after-several-read/m-p/1349461#M8892</guid>
      <dc:creator>CITIZENGATE</dc:creator>
      <dc:date>2021-10-01T07:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: PN7150 with libnfc-nci / Same UID for each tag after several read</title>
      <link>https://community.nxp.com/t5/NFC/PN7150-with-libnfc-nci-Same-UID-for-each-tag-after-several-read/m-p/1354455#M8923</link>
      <description>&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;My apologies for the late response.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Please let me know if I understood correctly, when you activate the debug mode everything works fine?&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Could it be possible that you aren´t reading the registers correctly or your buffer implementation for the UID writing on the screen isn´t cleaning on each reading?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 22:14:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7150-with-libnfc-nci-Same-UID-for-each-tag-after-several-read/m-p/1354455#M8923</guid>
      <dc:creator>Fabian_R</dc:creator>
      <dc:date>2021-10-12T22:14:50Z</dc:date>
    </item>
  </channel>
</rss>

