<?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>NFCのトピックRe: NFC Reader Library Example UART Communication</title>
    <link>https://community.nxp.com/t5/NFC/NFC-Reader-Library-Example-UART-Communication/m-p/1015369#M6726</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Utsavi B.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)we have uart based communication with CLR663, but it is not based on the NFC reader library, the proper scenario is based on a PC connected with CLRC663 thru UART. There is serial tool with script files available, please refer to &lt;A class="link-titled" href="https://www.nxp.com/downloads/en/software/210910.zip" title="https://www.nxp.com/downloads/en/software/210910.zip"&gt;https://www.nxp.com/downloads/en/software/210910.zip&lt;/A&gt; for details.&lt;/P&gt;&lt;P&gt;2) Actually I could not understand the requirement, usually LoadProtocol command is used to load the protocol, which reads out the EEPROM Register Set Protocol Area and overwrites the content of the Rx- and Tx- related registers. You may refer to the data sheet for details.&lt;A class="link-titled" href="https://www.nxp.com/docs/en/data-sheet/CLRC663.pdf" title="https://www.nxp.com/docs/en/data-sheet/CLRC663.pdf"&gt;https://www.nxp.com/docs/en/data-sheet/CLRC663.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3)I think it is possible, but you have to keep polling the status register until it changes.&lt;/P&gt;&lt;P&gt;4)The IRQ is enabled in that demo, if you want to do more in the ISR, you may refer to CLIF_IRQHandler().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far NFC reader library doesn't support UART communication, only SPI is available.&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;-------------------------------------------------------------------------------&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>Tue, 12 Nov 2019 08:16:58 GMT</pubDate>
    <dc:creator>Kan_Li</dc:creator>
    <dc:date>2019-11-12T08:16:58Z</dc:date>
    <item>
      <title>NFC Reader Library Example UART Communication</title>
      <link>https://community.nxp.com/t5/NFC/NFC-Reader-Library-Example-UART-Communication/m-p/1015368#M6725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am&amp;nbsp;working on NFC Reader Library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Starting with&amp;nbsp;Basic Discovery Loop example, I want to use UART as communication interface between NFC(as HOST&amp;nbsp; Application) and CLR663. Currently, Library is communicating with CLR663 using SPI interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My queries are:&lt;/P&gt;&lt;P&gt;1) I want to use UART&amp;nbsp;communication in place of SPI communication.&amp;nbsp;How to change this in NFC Library Basic Discovery Loop demo example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Effect of Changing UART Driver:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to replace SPI driver in UserSpi.c file to UART driver of my HOST. And Driver Opened and Read Write are not creating any problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I tried to run demo, Program got crash (segmentation fault !!).&amp;nbsp;Program got&amp;nbsp;crash in Basic Discovery Loop 12.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I mean, only changes are done in replacing of driver and left SPI driver open, read and write functions disabling. I have not done any changes in Basic Discovery Loop demo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, There is no effect of whether board is connected or not, Tag is near to board or not. Program Crash..!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest me proper way to change&amp;nbsp;in NFC Reader Library source code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that,&amp;nbsp;after Loop9, I can tx data like 63, 192 and receive data like: 5.(I dont know data send and received is right or wrong... :smileyconfused:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&amp;nbsp; Say if UART communication is started between CLR663 and HOST properly, then how can I verify protocols used for NFC and CLR663 communication, as I have ,mentioned above, I dont know data received and transmitted is right or wrong?&lt;/P&gt;&lt;P&gt;Is there any document which provide information about NFC and CLR663 protocol in details ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) As per application Note of CLR663 board, I come to know that IRQ connection is required for&amp;nbsp;Microcontroller and CLR663 communication.Can NFC Reader Library read Tag without this IRQ connections?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that, changes in CLR663 board for UART Connection with HOST is already done with the help of application note.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) If I want to use IRQ for interrupt Microcontroller then is there any settings I need to do in Basic Discovery Loop demo example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any NFC example for uart base communication with CLR663??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reply me as soon as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Utsavi B.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2019 14:34:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/NFC-Reader-Library-Example-UART-Communication/m-p/1015368#M6725</guid>
      <dc:creator>utsavikalpesh</dc:creator>
      <dc:date>2019-11-06T14:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: NFC Reader Library Example UART Communication</title>
      <link>https://community.nxp.com/t5/NFC/NFC-Reader-Library-Example-UART-Communication/m-p/1015369#M6726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Utsavi B.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)we have uart based communication with CLR663, but it is not based on the NFC reader library, the proper scenario is based on a PC connected with CLRC663 thru UART. There is serial tool with script files available, please refer to &lt;A class="link-titled" href="https://www.nxp.com/downloads/en/software/210910.zip" title="https://www.nxp.com/downloads/en/software/210910.zip"&gt;https://www.nxp.com/downloads/en/software/210910.zip&lt;/A&gt; for details.&lt;/P&gt;&lt;P&gt;2) Actually I could not understand the requirement, usually LoadProtocol command is used to load the protocol, which reads out the EEPROM Register Set Protocol Area and overwrites the content of the Rx- and Tx- related registers. You may refer to the data sheet for details.&lt;A class="link-titled" href="https://www.nxp.com/docs/en/data-sheet/CLRC663.pdf" title="https://www.nxp.com/docs/en/data-sheet/CLRC663.pdf"&gt;https://www.nxp.com/docs/en/data-sheet/CLRC663.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3)I think it is possible, but you have to keep polling the status register until it changes.&lt;/P&gt;&lt;P&gt;4)The IRQ is enabled in that demo, if you want to do more in the ISR, you may refer to CLIF_IRQHandler().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far NFC reader library doesn't support UART communication, only SPI is available.&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;-------------------------------------------------------------------------------&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>Tue, 12 Nov 2019 08:16:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/NFC-Reader-Library-Example-UART-Communication/m-p/1015369#M6726</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2019-11-12T08:16:58Z</dc:date>
    </item>
  </channel>
</rss>

