<?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: NxpNfcRdLib, Tag 4 B, CLRC663, NDEF in NFC</title>
    <link>https://community.nxp.com/t5/NFC/NxpNfcRdLib-Tag-4-B-CLRC663-NDEF/m-p/1003541#M6586</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;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;1)&amp;nbsp;Detect a Type 4 B&amp;nbsp;tag (there will always only be at most one tag in the field at one time)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;3) Select an NDEF file on the tag (I need to switch between different files)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;4) Read/write NDEF messages to/from the tag?&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We do not have an specific example for the type B tags, the basic discovery loop will be able to activate the type B tag, you will need to use as a base the MIFARE Classic (type A) example as a base for what you are trying to do. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0000ff; "&gt;2) Switch communication speed to 424kbit/s in both directions&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please check the PHAC_DISCLOOP_ACT_POS_BIT_MASK_424. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards, &lt;BR /&gt;Estephania&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Feb 2020 01:07:40 GMT</pubDate>
    <dc:creator>stephanie_m</dc:creator>
    <dc:date>2020-02-18T01:07:40Z</dc:date>
    <item>
      <title>NxpNfcRdLib, Tag 4 B, CLRC663, NDEF</title>
      <link>https://community.nxp.com/t5/NFC/NxpNfcRdLib-Tag-4-B-CLRC663-NDEF/m-p/1003540#M6585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have now, for several days been trying to use the NxpNfc library &lt;BR /&gt;to use an CLRC663 plus with a K64F microcontroller.&lt;BR /&gt;I want to read and write NDEF messages on a Type 4 B Tag.&lt;/P&gt;&lt;P&gt;First the problem was, that all the available tutorials for porting&amp;nbsp;&lt;BR /&gt;the&amp;nbsp;library to the K64F are either deprecated or plainly wrong. &lt;BR /&gt;Especially the step where it says to add the SDK as a project &lt;BR /&gt;is as far as I understand not correct. It has to be added as a folder instead,&lt;BR /&gt;and even then the rest of the tutorial is not strictly correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After &lt;SPAN style="text-decoration: line-through;"&gt;wasting&lt;/SPAN&gt;&amp;nbsp;working almost a week on Porting the library (due to the tutorials not being correct) I got the&amp;nbsp;&lt;BR /&gt;NfcrdlibEx1_BasicDiscoveryLoop example to work on the K64F. After taking another day figuring out that the &lt;BR /&gt;tutorial I was using&amp;nbsp;was missing several lines of code that had actually to be added.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is now able to detect&amp;nbsp;the&amp;nbsp;Type 4 B tag correctly.&lt;BR /&gt;Since the PUPI is correctly displayed, some communication obviously takes place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example prints " \n\r Card detected and activated successfully... \n\r" so I would assume the card is now active,&lt;BR /&gt;even though the&amp;nbsp;phacDiscLoop_ActivateCard function has not been called?&lt;BR /&gt;I am unsure what that means for a type&amp;nbsp;4 B card though. &lt;BR /&gt;Does that mean the card is in the READY-DECLARED or in the PROTOCOL state?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any further&amp;nbsp;communication function I call&lt;/P&gt;&lt;P&gt;phpalI14443p3b_Exchange&amp;nbsp;or&lt;BR /&gt;phpall14443p4_Exchange&lt;BR /&gt;returns 0x0201, which I think is "HAL_TIMEOUT"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read ISO14443-3, ISO14443-4 and ISO7816,&lt;BR /&gt;as well as&amp;nbsp;UM10802.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the way the library is written, I still have to constantly read up on everything.&lt;/P&gt;&lt;P&gt;Since the functions practically only take&amp;nbsp;uint8_t and uint16_t arguments, &lt;BR /&gt;I can barely get any support/auto-complete help by the IDE!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Could someone please please PLEASE! provide me with a complete example, &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;or at least the list of functions in the nxpnfc library I have to call in order to:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #993366;"&gt;&lt;STRONG&gt;!USING THE CLRC663 PLUS!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;1)&amp;nbsp;Detect a Type 4 B&amp;nbsp;tag (there will always only be at most one tag in the field at one time),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #999999;"&gt;&lt;STRONG&gt;? )Activate / Switch it to the PROTOCOL state it if this step is necessary ?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #999999;"&gt;&lt;STRONG&gt;?) Select the NDEF application if&amp;nbsp;this step is necessary ?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2) Switch communication speed to 424kbit/s in both directions&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #999999;"&gt;&lt;STRONG&gt;?) Read the NDEF Capability container (not really needed, since I already know the file properties)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3) Select an NDEF file on the tag (I need to switch between different files)&lt;/STRONG&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4) Read/write NDEF messages to/from the tag?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It took less than&amp;nbsp;2 hours to accomplish this&amp;nbsp;using an&amp;nbsp;Android app.&lt;BR /&gt;How can it be this&amp;nbsp;much more difficult (currently at around 40&amp;nbsp;hours) to do this using the nxpnfc library?!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case it helps, I attached all the available information about the tag I want to read/write NDEF messages to/from.&lt;BR /&gt;I am totally frustrated by now...&lt;BR /&gt;Please help me&amp;nbsp;out!&amp;nbsp; : (&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 10:26:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/NxpNfcRdLib-Tag-4-B-CLRC663-NDEF/m-p/1003540#M6585</guid>
      <dc:creator>bioshazard</dc:creator>
      <dc:date>2020-02-10T10:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: NxpNfcRdLib, Tag 4 B, CLRC663, NDEF</title>
      <link>https://community.nxp.com/t5/NFC/NxpNfcRdLib-Tag-4-B-CLRC663-NDEF/m-p/1003541#M6586</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;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;1)&amp;nbsp;Detect a Type 4 B&amp;nbsp;tag (there will always only be at most one tag in the field at one time)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;3) Select an NDEF file on the tag (I need to switch between different files)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;4) Read/write NDEF messages to/from the tag?&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We do not have an specific example for the type B tags, the basic discovery loop will be able to activate the type B tag, you will need to use as a base the MIFARE Classic (type A) example as a base for what you are trying to do. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0000ff; "&gt;2) Switch communication speed to 424kbit/s in both directions&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please check the PHAC_DISCLOOP_ACT_POS_BIT_MASK_424. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards, &lt;BR /&gt;Estephania&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2020 01:07:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/NxpNfcRdLib-Tag-4-B-CLRC663-NDEF/m-p/1003541#M6586</guid>
      <dc:creator>stephanie_m</dc:creator>
      <dc:date>2020-02-18T01:07:40Z</dc:date>
    </item>
  </channel>
</rss>

