<?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: Tag write not occur in NXP-NCI example in NFC</title>
    <link>https://community.nxp.com/t5/NFC/Tag-write-not-occur-in-NXP-NCI-example/m-p/941206#M5824</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The latest NXP-NCI MCUXpresso project version is 1.3, and what about yours? is it the latest version? Please kindly 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;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;BR /&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, 08 Jul 2019 06:50:20 GMT</pubDate>
    <dc:creator>Kan_Li</dc:creator>
    <dc:date>2019-07-08T06:50:20Z</dc:date>
    <item>
      <title>Tag write not occur in NXP-NCI example</title>
      <link>https://community.nxp.com/t5/NFC/Tag-write-not-occur-in-NXP-NCI-example/m-p/941205#M5823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Tag write operation does not occur.&lt;/P&gt;&lt;P&gt;The function RW_NDEF_T2T_Write_Next found a piece of code that performs the check:&lt;BR /&gt;...&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;case Writing_Data:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/ * Is Write success? * /&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if ((Rsp_size == 2) &amp;amp;&amp;amp; (pRsp [Rsp_size-1] == 0x00))&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;----- this is the condition&lt;BR /&gt;...&lt;/P&gt;&lt;P&gt;Example console output:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Block record (NxpNci_HostTransceive function):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;NCI &amp;gt;&amp;gt; 0 0 6 A2 4 3 26 D1 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;NCI &amp;lt;&amp;lt; 60 6 3 1 0 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Reading the response (NxpNci_WaitForReception):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;NCI &amp;lt;&amp;lt; 0 0 1 2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;-----&amp;nbsp;0 0 1 - header, 2 result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The check verifies that the answer consists of two bytes, but only 1 byte comes in the response. It can be seen from the code: 0 0 1 - header, 2 - result.&lt;BR /&gt;We only got one byte.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If you remove this check, tag write operation&amp;nbsp;is performed.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Why expect a response of two bytes (one of them must be 0) in NXP-NCI MCUXpresso example?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The developer board is PN7150 (OM5578 / PN7150ARD) and the example is AN11990 (NXP-NCI MCUXpresso example)&lt;BR /&gt;Uncommented:&lt;BR /&gt;#define RW_SUPPORT&lt;BR /&gt;#define RW_NDEF_WRITING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2019 19:27:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Tag-write-not-occur-in-NXP-NCI-example/m-p/941205#M5823</guid>
      <dc:creator>candid</dc:creator>
      <dc:date>2019-07-04T19:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Tag write not occur in NXP-NCI example</title>
      <link>https://community.nxp.com/t5/NFC/Tag-write-not-occur-in-NXP-NCI-example/m-p/941206#M5824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The latest NXP-NCI MCUXpresso project version is 1.3, and what about yours? is it the latest version? Please kindly 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;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;BR /&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, 08 Jul 2019 06:50:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Tag-write-not-occur-in-NXP-NCI-example/m-p/941206#M5824</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2019-07-08T06:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Tag write not occur in NXP-NCI example</title>
      <link>https://community.nxp.com/t5/NFC/Tag-write-not-occur-in-NXP-NCI-example/m-p/941207#M5825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've noticed this happening in my project as well.&amp;nbsp; The 00 00 01 02 is an error code from the write that means the command wasn't recognized.&amp;nbsp; When I do a write in my project, I don't get a response to the write, although I do get a notification of the number of credits available&amp;nbsp;which tells me the write was successful.&amp;nbsp; But if I get the 02 error code I know that the write failed so I have to retry.&amp;nbsp; Sometimes I have to retry 3 or more times before the write is successful.&lt;/P&gt;&lt;P&gt;I'm using custom&amp;nbsp;code on an LPC11U24/301 (the library wouldn't fit so I wrote my own) with the LXMS33HCNG-134 RFID tag (ISO 15693/NFC Forum Type5 compliant).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2020 13:56:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Tag-write-not-occur-in-NXP-NCI-example/m-p/941207#M5825</guid>
      <dc:creator>jorick</dc:creator>
      <dc:date>2020-03-03T13:56:48Z</dc:date>
    </item>
  </channel>
</rss>

