<?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: PTHRU mode in NFC</title>
    <link>https://community.nxp.com/t5/NFC/PTHRU-mode/m-p/1053148#M7111</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/dt.t"&gt;dt.t&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you are doing well. The situation you describe is strange, because it seems that the RF field is "OFF", so NS_REG reads it as 0, and then if it reads that RF_FIELD_PRESENT = 1. You can see an illustration of the data transfer from NFC to I2C in the &lt;A href="https://www.nxp.com/docs/en/data-sheet/NT3H2111_2211.pdf"&gt;Data Sheet&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are two commands you can use to write from NFC perspective: the WRITE command (4 bytes), and the FAST_WRITE command (the 64 bytes of the SRAM). Please refer to the section 4.1 of the &lt;A href="https://www.nxp.com/docs/en/application-note/AN11579.pdf"&gt;Application Note&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ways the MCU can know the data is ready to be read are:&lt;/P&gt;&lt;UL type="disc"&gt;&lt;LI&gt;The host polls/reads bit SRAM_I2C_READY from NS_REG to know if data is ready in SRAM&lt;/LI&gt;&lt;LI&gt;A trigger on the FD pin indicates to the host that data is ready to be read from SRAM.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ricardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jun 2020 18:19:05 GMT</pubDate>
    <dc:creator>nxf58474</dc:creator>
    <dc:date>2020-06-18T18:19:05Z</dc:date>
    <item>
      <title>PTHRU mode</title>
      <link>https://community.nxp.com/t5/NFC/PTHRU-mode/m-p/1053147#M7110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use a microcontroller to read the tag NT3H2111 by pass through mode. A phone will transfer not more than 30 bytes of data to the tag through NFC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Conditions: PTHRU_ON_OFF= 1b, FD_ON= 11b, FD_OFF=11b, TRANSFER_DIR= 1b( NFC-&amp;gt;I2C)&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;1) When I put a phone to the NT3H2111 tag, the following issue can be observed,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;(a) the PTHRU_ON_OFF can be set to 1b, i.e. NC_REG= 0x7D&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;(b) Then the microcontroller reads the value of NS_REG. The value of the NS_REG is 0x21( RF_LOCKED= 1b, RF_FIELD_PRESENT= 1b) at the beginning&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;(c) then the microcontroller continue to read the NS_REG value, the value is 0x00( but the phone is still keep touching the tag).&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;(d) The value 0x00 keep for a few more times of reading of NS_REG.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;(e) At last, the value of NS_REG is 0x01b( RF_LOCKED= 0b, SRAM_I2C_READY= 0b, RF_FIELD_PRESENT= 1b)&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;During the processing from (a) to (e), the phone keeps touching the tag.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Question 1A) Since the phone keep touching the tag, would you tell me why the value of NS_REG is 0x00 in (c) and (d)?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Question 1B) Later on, the value NS_REG read as 0x01( RF_FIELD_PRESENT= 1b). Why doesn't set SRAM_I2C_READY to 1b automatically?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;2) Does SRAM_I2C_READY set to 1 if NFC try to write data( not longer than 30 bytes) to NT3H2111?&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;3) How does microcontroller know the data in SRAM is ready when NFC finish to write the data&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;( not longer than 30 bytes)&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to the tag? Can we check RF_LOCKED to determine the&amp;nbsp;SRAM data is ready?&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;Best Regards&lt;/P&gt;&lt;P style="border: 0px;"&gt;dt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2020 11:08:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PTHRU-mode/m-p/1053147#M7110</guid>
      <dc:creator>dt_t</dc:creator>
      <dc:date>2020-06-17T11:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: PTHRU mode</title>
      <link>https://community.nxp.com/t5/NFC/PTHRU-mode/m-p/1053148#M7111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/dt.t"&gt;dt.t&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you are doing well. The situation you describe is strange, because it seems that the RF field is "OFF", so NS_REG reads it as 0, and then if it reads that RF_FIELD_PRESENT = 1. You can see an illustration of the data transfer from NFC to I2C in the &lt;A href="https://www.nxp.com/docs/en/data-sheet/NT3H2111_2211.pdf"&gt;Data Sheet&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are two commands you can use to write from NFC perspective: the WRITE command (4 bytes), and the FAST_WRITE command (the 64 bytes of the SRAM). Please refer to the section 4.1 of the &lt;A href="https://www.nxp.com/docs/en/application-note/AN11579.pdf"&gt;Application Note&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ways the MCU can know the data is ready to be read are:&lt;/P&gt;&lt;UL type="disc"&gt;&lt;LI&gt;The host polls/reads bit SRAM_I2C_READY from NS_REG to know if data is ready in SRAM&lt;/LI&gt;&lt;LI&gt;A trigger on the FD pin indicates to the host that data is ready to be read from SRAM.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ricardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2020 18:19:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PTHRU-mode/m-p/1053148#M7111</guid>
      <dc:creator>nxf58474</dc:creator>
      <dc:date>2020-06-18T18:19:05Z</dc:date>
    </item>
  </channel>
</rss>

