<?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中的主题 Can't understand AGC values</title>
    <link>https://community.nxp.com/t5/NFC/Can-t-understand-AGC-values/m-p/2058253#M12822</link>
    <description>&lt;P&gt;According to&amp;nbsp;AN11742.pdf Fig. 3, the measured AGC value should rise with a card moving closer to the reader.&lt;/P&gt;&lt;P&gt;I have a piece of code, that constantly reads 0x26, without writing to it.&lt;/P&gt;&lt;P&gt;To my understanding, this should perform a quick AGC reading.&lt;/P&gt;&lt;P&gt;What strikes me is that the value gets lower with a card moving closer, not higher.&lt;/P&gt;&lt;P&gt;The values hover around AGC Gear 0, AGC Value 300.&lt;/P&gt;&lt;P&gt;Card absent: ~310&lt;/P&gt;&lt;P&gt;Card fully in contact: ~290&lt;/P&gt;&lt;P&gt;This seems like a fairly small variability...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the questions that arose:&lt;/P&gt;&lt;P&gt;1. Why is the AGC value getting lower, not higher with the card moving in?&lt;/P&gt;&lt;P&gt;2. Why is the AGC value variability so low? Is 10 +- enough to trigger LPCD?&lt;/P&gt;&lt;P&gt;3. Should the mechanism theoretically switch to a gear with a higher variability?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For completeness, here is my EEPROM readout, with the DPC regs. It seems to be turned on, but my AGC is not getting high enough to switch gears, I think:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;73 DPC_CONTROL DPC enabled, step size 1, start gear 7

20 4e DPC_TIME 20000 / 1ms

00 DPC_XI

40 25 AGC_CONTROL duration 320, duration enable, step size 0, step size enabled

72 01 73 01 72 01 6e 01 66 01 63 01 5d 01 4e 01 90 01 ad 00 a7 00 9e 00 96 00 87 00 4a 00 DPC_THRSH_HIGH
370, 371, 370, 366, 358, 355, 349, 334, 400, 173, 167, 158, 150, 135, 74

00 00 DPC_THRSH_LOW

00 DPC_DEBUG

05 DPC_AGC_SHIFT_VALUE

09 DPC_AGC_GEAR_LUT_SIZE

f9 f1 f3 f5 f7 f0 f2 f4 f6 96 66 46 36 26 16 DPC_AGC_GEAR_LUT

20 4e DPC_GUARD_FAST_ MODE

a8 61 DPC_GUARD_SOF_ DETECTED

90 01 DPC_GUARD_FIELD_ON 

5d 91&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any hints!&lt;/P&gt;</description>
    <pubDate>Sun, 09 Mar 2025 00:44:13 GMT</pubDate>
    <dc:creator>dakhnod</dc:creator>
    <dc:date>2025-03-09T00:44:13Z</dc:date>
    <item>
      <title>Can't understand AGC values</title>
      <link>https://community.nxp.com/t5/NFC/Can-t-understand-AGC-values/m-p/2058253#M12822</link>
      <description>&lt;P&gt;According to&amp;nbsp;AN11742.pdf Fig. 3, the measured AGC value should rise with a card moving closer to the reader.&lt;/P&gt;&lt;P&gt;I have a piece of code, that constantly reads 0x26, without writing to it.&lt;/P&gt;&lt;P&gt;To my understanding, this should perform a quick AGC reading.&lt;/P&gt;&lt;P&gt;What strikes me is that the value gets lower with a card moving closer, not higher.&lt;/P&gt;&lt;P&gt;The values hover around AGC Gear 0, AGC Value 300.&lt;/P&gt;&lt;P&gt;Card absent: ~310&lt;/P&gt;&lt;P&gt;Card fully in contact: ~290&lt;/P&gt;&lt;P&gt;This seems like a fairly small variability...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the questions that arose:&lt;/P&gt;&lt;P&gt;1. Why is the AGC value getting lower, not higher with the card moving in?&lt;/P&gt;&lt;P&gt;2. Why is the AGC value variability so low? Is 10 +- enough to trigger LPCD?&lt;/P&gt;&lt;P&gt;3. Should the mechanism theoretically switch to a gear with a higher variability?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For completeness, here is my EEPROM readout, with the DPC regs. It seems to be turned on, but my AGC is not getting high enough to switch gears, I think:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;73 DPC_CONTROL DPC enabled, step size 1, start gear 7

20 4e DPC_TIME 20000 / 1ms

00 DPC_XI

40 25 AGC_CONTROL duration 320, duration enable, step size 0, step size enabled

72 01 73 01 72 01 6e 01 66 01 63 01 5d 01 4e 01 90 01 ad 00 a7 00 9e 00 96 00 87 00 4a 00 DPC_THRSH_HIGH
370, 371, 370, 366, 358, 355, 349, 334, 400, 173, 167, 158, 150, 135, 74

00 00 DPC_THRSH_LOW

00 DPC_DEBUG

05 DPC_AGC_SHIFT_VALUE

09 DPC_AGC_GEAR_LUT_SIZE

f9 f1 f3 f5 f7 f0 f2 f4 f6 96 66 46 36 26 16 DPC_AGC_GEAR_LUT

20 4e DPC_GUARD_FAST_ MODE

a8 61 DPC_GUARD_SOF_ DETECTED

90 01 DPC_GUARD_FIELD_ON 

5d 91&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any hints!&lt;/P&gt;</description>
      <pubDate>Sun, 09 Mar 2025 00:44:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Can-t-understand-AGC-values/m-p/2058253#M12822</guid>
      <dc:creator>dakhnod</dc:creator>
      <dc:date>2025-03-09T00:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Can't understand AGC values</title>
      <link>https://community.nxp.com/t5/NFC/Can-t-understand-AGC-values/m-p/2059111#M12838</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/247478"&gt;@dakhnod&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please see the comments as the below:&lt;/P&gt;
&lt;P&gt;1. Why is the AGC value getting lower, not higher with the card moving in?&lt;/P&gt;
&lt;P&gt;Which is related the threshold.&lt;/P&gt;
&lt;P&gt;2. Why is the AGC value variability so low? Is 10 +- enough to trigger LPCD?&lt;/P&gt;
&lt;P&gt;AGC value variability will not trigger LPCD, LPCD needs to be abled via command.&lt;/P&gt;
&lt;P&gt;3. Should the mechanism theoretically switch to a gear with a higher variability?&lt;/P&gt;
&lt;P&gt;A card is entered into the antenna field, which increases the load, and therefore the output power. As soon as the measured AGC value exceeds the AGC high threshold value of the corresponding gear (DPC_THRSH_HIGH), the PN5180 (resp. PN7462) automatically switches to the next gear with lower output power. This automatically reduces the measured AGC value, until the card is moved closer to the antenna.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 02:33:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Can-t-understand-AGC-values/m-p/2059111#M12838</guid>
      <dc:creator>KaiLi</dc:creator>
      <dc:date>2025-03-11T02:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can't understand AGC values</title>
      <link>https://community.nxp.com/t5/NFC/Can-t-understand-AGC-values/m-p/2059113#M12839</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for taking the time.&lt;/P&gt;&lt;P&gt;I understand that the chip should be switching gears by itself anf exit LPCD, if configured so.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yet, my question still stands: Why is the AGC value getting lower upon inserting a card, without the gear switching?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 02:36:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Can-t-understand-AGC-values/m-p/2059113#M12839</guid>
      <dc:creator>dakhnod</dc:creator>
      <dc:date>2025-03-11T02:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can't understand AGC values</title>
      <link>https://community.nxp.com/t5/NFC/Can-t-understand-AGC-values/m-p/2066795#M12950</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/247478"&gt;@dakhnod&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which is related the threshold. Do you know what is the threshold in your device?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Mar 2025 02:09:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Can-t-understand-AGC-values/m-p/2066795#M12950</guid>
      <dc:creator>KaiLi</dc:creator>
      <dc:date>2025-03-24T02:09:30Z</dc:date>
    </item>
  </channel>
</rss>

