<?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: Timing delay in the command sequence for extracting values for LPCD using the CLRC663 in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/Timing-delay-in-the-command-sequence-for-extracting-values-for/m-p/1327337#M11864</link>
    <description>&lt;P&gt;Thank you for your response. But I'm trying to communicate to the CLRC663 directly via the SPI interface without using the NXP library.&amp;nbsp;&amp;nbsp; There appears to be very little information on the operation of the chip and how it operates. Everything sends me back to the NXP library.&amp;nbsp; I have searched the web for sample code with minor success which is how I worked out the LPCD in the first place. But this did not mension anything about a delay for the chip to complete the processing. I worked this out after several days of frustration.&amp;nbsp;&amp;nbsp; Is it possible that I just need to check the Idle bit in Interrupt 0 to know when the LPCD processing has completed?&lt;/P&gt;</description>
    <pubDate>Mon, 23 Aug 2021 03:23:14 GMT</pubDate>
    <dc:creator>Anjary</dc:creator>
    <dc:date>2021-08-23T03:23:14Z</dc:date>
    <item>
      <title>Timing delay in the command sequence for extracting values for LPCD using the CLRC663</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Timing-delay-in-the-command-sequence-for-extracting-values-for/m-p/1322949#M11787</link>
      <description>&lt;P&gt;I have been testing the interface with the CLRC663 NXP chip and I have a question on the timing for the commands.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the Application note document AN11145 I have extracted the Q and I values for IMin, IMax, QMin and QMax.&amp;nbsp; The question is that to extract the values I need to add a delay within the command stream.&lt;/P&gt;&lt;P&gt;An extract from the example on page 11 is:&lt;/P&gt;&lt;P&gt;31 SR 24 00 // Write min. T4 reload value Hi&lt;BR /&gt;32 SR 25 05 // Write min. T4 reload value Lo&lt;BR /&gt;33 SR 23 F8 // Config T4 for AutoLPCD&amp;amp;AutoRestart.Set AutoTrimm bit.Start T4.&lt;BR /&gt;34 SR 43 40 // Clear LPCD result&lt;BR /&gt;35 SR 38 52 // Set Rx_ADCmode bit&lt;BR /&gt;36 SR 39 03 // Raise receiver gain to maximum&lt;BR /&gt;37 SR 00 01 // Execute Rc663 command "Auto_T4" (Low power card detection and/or Auto trimming)&lt;BR /&gt;38 // Flush cmd and Fifo&lt;BR /&gt;39 SR 00 00&lt;BR /&gt;40 SR 02 B0&lt;BR /&gt;41 SR 38 12 // Clear Rx_ADCmode bit&lt;BR /&gt;42 //&amp;gt; ------------ I and Q Value for LPCD ----------------&lt;BR /&gt;43 //&amp;gt; ----------------------------------------------------&lt;BR /&gt;44 GR 42 //&amp;gt; Get I&lt;BR /&gt;45 GR 43 //&amp;gt; Get Q&lt;BR /&gt;46 //&amp;gt; --------------LPCD_Config - done. -------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I have found is that I need to add a delay between lines 37 and 39, between executing the LPCD extract and the clearing of the command.&amp;nbsp; What I would like to know is how long a period should I wait? I have left a substantial delay of about 300ms to make sure that the command completes. Is there anything that I can check in the registers; polling, or interrupt;&amp;nbsp; to know when it has finished so I executing the Auto trimming?&amp;nbsp; The document doesn't give any mention of a delay being required.&lt;/P&gt;&lt;P&gt;After the delay and extraction of the values, using the values calculated work fine with the LPCD operation and the interrupt triggers once a card is within the field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 04:49:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Timing-delay-in-the-command-sequence-for-extracting-values-for/m-p/1322949#M11787</guid>
      <dc:creator>Anjary</dc:creator>
      <dc:date>2021-08-13T04:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Timing delay in the command sequence for extracting values for LPCD using the CLRC663</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Timing-delay-in-the-command-sequence-for-extracting-values-for/m-p/1327280#M11861</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Please refer to the related library&amp;nbsp;NxpNfcRdLib_RC663_LPC1769_v06.11.01_Full\NfcrdlibTst12_Rc663Lpcd as the link.&lt;/P&gt;
&lt;P&gt;URL:&lt;A href="https://nxp.flexnetoperations.com/control/frse/product?entitlementId=547970147&amp;amp;lineNum=1&amp;amp;authContactId=74270351&amp;amp;authPartyId=62583141" target="_blank"&gt;https://nxp.flexnetoperations.com/control/frse/product?entitlementId=547970147&amp;amp;lineNum=1&amp;amp;authContactId=74270351&amp;amp;authPartyId=62583141&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Have a nice day.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;</description>
      <pubDate>Mon, 23 Aug 2021 01:46:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Timing-delay-in-the-command-sequence-for-extracting-values-for/m-p/1327280#M11861</guid>
      <dc:creator>fangfang</dc:creator>
      <dc:date>2021-08-23T01:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Timing delay in the command sequence for extracting values for LPCD using the CLRC663</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Timing-delay-in-the-command-sequence-for-extracting-values-for/m-p/1327337#M11864</link>
      <description>&lt;P&gt;Thank you for your response. But I'm trying to communicate to the CLRC663 directly via the SPI interface without using the NXP library.&amp;nbsp;&amp;nbsp; There appears to be very little information on the operation of the chip and how it operates. Everything sends me back to the NXP library.&amp;nbsp; I have searched the web for sample code with minor success which is how I worked out the LPCD in the first place. But this did not mension anything about a delay for the chip to complete the processing. I worked this out after several days of frustration.&amp;nbsp;&amp;nbsp; Is it possible that I just need to check the Idle bit in Interrupt 0 to know when the LPCD processing has completed?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 03:23:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Timing-delay-in-the-command-sequence-for-extracting-values-for/m-p/1327337#M11864</guid>
      <dc:creator>Anjary</dc:creator>
      <dc:date>2021-08-23T03:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Timing delay in the command sequence for extracting values for LPCD using the CLRC663</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Timing-delay-in-the-command-sequence-for-extracting-values-for/m-p/1328131#M11888</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Please refer to the code which may be useful.&lt;/P&gt;
&lt;P&gt;URL:&lt;A href="https://community.nxp.com/t5/NFC-Knowledge-Base/how-to-communicate-between-LPC1769-and-RC663-via-SPI-based-on/ta-p/1303617" target="_blank"&gt;https://community.nxp.com/t5/NFC-Knowledge-Base/how-to-communicate-between-LPC1769-and-RC663-via-SPI-based-on/ta-p/1303617&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 02:52:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Timing-delay-in-the-command-sequence-for-extracting-values-for/m-p/1328131#M11888</guid>
      <dc:creator>fangfang</dc:creator>
      <dc:date>2021-08-24T02:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Timing delay in the command sequence for extracting values for LPCD using the CLRC663</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Timing-delay-in-the-command-sequence-for-extracting-values-for/m-p/1328173#M11890</link>
      <description>&lt;P&gt;Thank you again for looking at this. I have used this document and it doesn't go into any detail on checking for the LPCD having finished. I have also used this document for trying to communicate to the card. This is another question that I have posted.&lt;/P&gt;&lt;P&gt;I will play around with the idle interrupt to see if that is triggered once the "Execute LPCD auto trimming" command has been sent. If this doesn't work I will stick with the delay.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 03:33:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Timing-delay-in-the-command-sequence-for-extracting-values-for/m-p/1328173#M11890</guid>
      <dc:creator>Anjary</dc:creator>
      <dc:date>2021-08-24T03:33:11Z</dc:date>
    </item>
  </channel>
</rss>

