<?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 K60 NFC command question in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-NFC-command-question/m-p/651902#M39702</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Support Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using K60 with NFC interfacing to micron Nand Flash MT29F16G08ABABAWP-IT. &amp;nbsp;This NAND device has the features that user can select different timing mode.&lt;/P&gt;&lt;P&gt;I used the NFC_LDD and it gave me all the necessary hook to do page read, write, reset, read id, and block erase.&lt;/P&gt;&lt;P&gt;however, it does not give any other command for set/get features (see attachment for definition from Micron). &amp;nbsp;I can add these supports by myself, but i am a bit confused on how NXP NFC works. &amp;nbsp;I have a few questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- What does NFC clock has to do with async NAND flash? &amp;nbsp;Is it being used for internal NFC operation only or it is actually used for NFC IO generation. &amp;nbsp;If it is, how should user configure it for proper NAND async operation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2- NFC_CMD2[MODE] (see jpg) defines a sequence of NAND operation. &amp;nbsp;I can correlate that to the example (see jpg example) for page read, write, reset, block erase. &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Apr 2017 17:16:20 GMT</pubDate>
    <dc:creator>henrynguyen</dc:creator>
    <dc:date>2017-04-28T17:16:20Z</dc:date>
    <item>
      <title>K60 NFC command question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-NFC-command-question/m-p/651902#M39702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Support Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using K60 with NFC interfacing to micron Nand Flash MT29F16G08ABABAWP-IT. &amp;nbsp;This NAND device has the features that user can select different timing mode.&lt;/P&gt;&lt;P&gt;I used the NFC_LDD and it gave me all the necessary hook to do page read, write, reset, read id, and block erase.&lt;/P&gt;&lt;P&gt;however, it does not give any other command for set/get features (see attachment for definition from Micron). &amp;nbsp;I can add these supports by myself, but i am a bit confused on how NXP NFC works. &amp;nbsp;I have a few questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- What does NFC clock has to do with async NAND flash? &amp;nbsp;Is it being used for internal NFC operation only or it is actually used for NFC IO generation. &amp;nbsp;If it is, how should user configure it for proper NAND async operation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2- NFC_CMD2[MODE] (see jpg) defines a sequence of NAND operation. &amp;nbsp;I can correlate that to the example (see jpg example) for page read, write, reset, block erase. &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 17:16:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-NFC-command-question/m-p/651902#M39702</guid>
      <dc:creator>henrynguyen</dc:creator>
      <dc:date>2017-04-28T17:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: K60 NFC command question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-NFC-command-question/m-p/651903#M39703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, i hit send by accident.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my question is: can use NFC_CMD2[mode bit 8] to send limited amount of data for general purpose or this mode bit 8 is only used for page write? &amp;nbsp;It seems that the erase block command uses the command byte 2 to send the actual data. &amp;nbsp;there maybe cases that i want to send 4 bytes of data to configure the NAND, how could i do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3- i have 8 NAND chips to interface to. &amp;nbsp;In this case, i use GPIO to select the NAND.E (CE) input and all R/B are tied together. &amp;nbsp;My question is during arbitration with the flexbus, would the GPIO pull low on current NAND.CE pin affect the kinetis internal arbitration at all if i would like to have flexbus higher priority than NAND?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4- is there a way to configure that Flexbus always have higher priority than Nand interface? &amp;nbsp;I read the SIM_SOPT6 register, but this does not tell me about the arbitration priority. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Henry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 17:29:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-NFC-command-question/m-p/651903#M39703</guid>
      <dc:creator>henrynguyen</dc:creator>
      <dc:date>2017-04-28T17:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: K60 NFC command question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-NFC-command-question/m-p/651904#M39704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Henry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please kindly refer to the following for details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d;"&gt; The NFC clock (WE/RE) is generated by nfc internal function clock: &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;NFC clock = nfc function clock | gate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;So when WE/RE is active, it is the same as the nfc function clock.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Users only need to configure the nfc function clock frequency.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL start="2"&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d;"&gt; You can set NFC_CMD2[8]=1 to send data to Nand Flash, it is not only for page program.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;The size of data is defined by SECTOR_SIZE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;The block erase command is 60h+ADDR+D0h (+70h+read status), I don’t see any data output here.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;You need to set &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;CMD_BYTE1=60h, CMD_BYTE2=D0h, and CMD_CODE=16’b0100_1110_1101_1000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18373iA8AFA30D3B572CE0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11.0pt;"&gt;If you want to send 4 bytes to Nand Flash, just set NFC_CMD2[8]=1 and SECTOR_SIZE=4.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11.0pt;"&gt;3. The GPIO has no relation with the NFC module, as well as the arbitration logic, so you have to change the GPIO pin level&amp;nbsp; by software.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11.0pt;"&gt;4. Actually NFC is on the master port, and flexbus is on the slave port, so there is no priority comparison between them.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11.0pt;"&gt;Hope this helps,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&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: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 02:55:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-NFC-command-question/m-p/651904#M39704</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2017-05-08T02:55:06Z</dc:date>
    </item>
  </channel>
</rss>

