<?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: LCRC663 只能获得ATQA in NFC</title>
    <link>https://community.nxp.com/t5/NFC/LCRC663-%E5%8F%AA%E8%83%BD%E8%8E%B7%E5%BE%97ATQA/m-p/774778#M3707</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;//&amp;gt; Authenticate:&lt;BR /&gt;//&amp;gt; -------------&lt;/P&gt;&lt;P&gt;SR 0a 80 // flush FIFO&lt;BR /&gt;SR 09 60 // Auth. Command&lt;BR /&gt;SR 09 02 // Block Number&lt;BR /&gt;SR 09 FF // Key 0&lt;BR /&gt;SR 09 FF // Key 1&lt;BR /&gt;SR 09 FF // Key 2&lt;BR /&gt;SR 09 FF // Key 3&lt;BR /&gt;SR 09 FF // Key 4&lt;BR /&gt;SR 09 FF // Key 5&amp;nbsp;&lt;BR /&gt;SR 09 ML0 // Write SNR 0&lt;BR /&gt;SR 09 ML1 // Write SNR 1&lt;BR /&gt;SR 09 ML2 // Write SNR 2&lt;BR /&gt;SR 09 ML3 // Write SNR 3&lt;/P&gt;&lt;P&gt;后面写的这几个是CID，但是我看 &lt;SPAN class=""&gt;MFAUTHENT &lt;/SPAN&gt;&lt;SPAN class=""&gt;命令&lt;/SPAN&gt;&amp;nbsp;并不需要后面的CID，请问这个流程有问题么？&lt;/P&gt;&lt;P&gt;还有一个问题&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="200"&gt;&lt;SPAN class=""&gt;Crypto1On &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="200"&gt;&lt;SPAN class=""&gt;指定 &lt;/SPAN&gt;&lt;SPAN class=""&gt;MIFARE &lt;/SPAN&gt;&lt;SPAN class=""&gt;加密是否启动。清除此位将关闭 &lt;/SPAN&gt;&lt;SPAN class=""&gt;MIFARE &lt;/SPAN&gt;&lt;SPAN class=""&gt;加密。此位&lt;BR /&gt;只能被 &lt;/SPAN&gt;&lt;SPAN class=""&gt;MFAuthent &lt;/SPAN&gt;&lt;SPAN class=""&gt;命令设置&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;这个bit是否在发送认证命令前应该clean，发送命令后如果成功认证则自动变成1？&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;我发送命令后，出现了IDLE irq，&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;MFAuthent command&lt;/SPAN&gt;&amp;nbsp;里介绍&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;This command does not terminate automatically, when the card does not answer,&lt;BR /&gt;therefore the timer should be initialized to automatic mode. In this case, beside the bit&lt;BR /&gt;IdleIRQ the bit TimerIRQ can be used as termination criteria. &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;那我这里出现了idle irq是否就是说明我的秘钥认证失败了？&lt;/P&gt;&lt;P&gt;而且你给的参考脚本中没有先用 &lt;SPAN class=""&gt;Load key command&lt;/SPAN&gt;&amp;nbsp;，而是直接用&lt;SPAN&gt;MFAuthent command，这样做合理么？&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jan 2018 10:34:53 GMT</pubDate>
    <dc:creator>臣柱宣</dc:creator>
    <dc:date>2018-01-11T10:34:53Z</dc:date>
    <item>
      <title>LCRC663 只能获得ATQA</title>
      <link>https://community.nxp.com/t5/NFC/LCRC663-%E5%8F%AA%E8%83%BD%E8%8E%B7%E5%BE%97ATQA/m-p/774772#M3701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;你好，我使用了贵公司的lcrc663芯片作为mifare1卡的读卡器，开发了针对imx6q平台的spi设备驱动&lt;/P&gt;&lt;P&gt;当前我的驱动已经能够实现发送REQA（0x26）后，获得ATQA（0x04 0x00），但是我继续发送&lt;/P&gt;&lt;P&gt;Anticollision命令也就是0x93 0x20,却没有收到picc的回应，请问这是什么原因导致的&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;几个主要寄存器的设置如下&lt;/P&gt;&lt;P&gt;[ 35.056201] lcrc663-get addr= 0x00 ,reg =0x00&lt;BR /&gt;[ 35.056274] lcrc663-get addr= 0x01 ,reg =0x40&lt;BR /&gt;[ 35.056348] lcrc663-get addr= 0x02 ,reg =0xA0&lt;BR /&gt;[ 35.056421] lcrc663-get addr= 0x03 ,reg =0x1F&lt;BR /&gt;[ 35.056494] lcrc663-get addr= 0x04 ,reg =0x00&lt;BR /&gt;[ 35.056567] lcrc663-get addr= 0x05 ,reg =0x00&lt;BR /&gt;[ 35.056639] lcrc663-get addr= 0x06 ,reg =0x3C&lt;BR /&gt;[ 35.056712] lcrc663-get addr= 0x07 ,reg =0x40&lt;BR /&gt;[ 35.056785] lcrc663-get addr= 0x08 ,reg =0x07&lt;BR /&gt;[ 35.056858] lcrc663-get addr= 0x09 ,reg =0x7F&lt;BR /&gt;[ 35.056932] lcrc663-get addr= 0x0A ,reg =0x00&lt;BR /&gt;[ 35.057005] lcrc663-get addr= 0x0B ,reg =0x00&lt;BR /&gt;[ 35.057078] lcrc663-get addr= 0x0C ,reg =0x80&lt;BR /&gt;[ 35.057152] lcrc663-get addr= 0x0D ,reg =0x00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;剩下的寄存器都通过loadreg和loadprotocol命令获取到了&lt;/P&gt;&lt;P&gt;发送REQA和Anticollision的唯一区别就是&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;TxDataNum &lt;/SPAN&gt;&lt;SPAN class=""&gt;寄存器 （&lt;/SPAN&gt;&lt;SPAN class=""&gt;address 2Eh&lt;/SPAN&gt;&lt;SPAN class=""&gt;）&lt;/SPAN&gt;&amp;nbsp;这个寄存器从0x0f 改为0x08&lt;/P&gt;&lt;P&gt;请问寄存器设置是否有什么问题，非常感谢&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2018 10:02:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/LCRC663-%E5%8F%AA%E8%83%BD%E8%8E%B7%E5%BE%97ATQA/m-p/774772#M3701</guid>
      <dc:creator>臣柱宣</dc:creator>
      <dc:date>2018-01-10T10:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: LCRC663 只能获得ATQA</title>
      <link>https://community.nxp.com/t5/NFC/LCRC663-%E5%8F%AA%E8%83%BD%E8%8E%B7%E5%BE%97ATQA/m-p/774773#M3702</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;Mifare1卡是什么？Mifare classic？&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>Thu, 11 Jan 2018 03:50:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/LCRC663-%E5%8F%AA%E8%83%BD%E8%8E%B7%E5%BE%97ATQA/m-p/774773#M3702</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2018-01-11T03:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: LCRC663 只能获得ATQA</title>
      <link>https://community.nxp.com/t5/NFC/LCRC663-%E5%8F%AA%E8%83%BD%E8%8E%B7%E5%BE%97ATQA/m-p/774774#M3703</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;SPAN style="color: #333333; background-color: #ffffff; text-indent: 28px; font-size: 14px;"&gt;NXP Mifare1&amp;nbsp;&lt;SPAN&gt;S50卡，符合ISO 14443A协议&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 05:06:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/LCRC663-%E5%8F%AA%E8%83%BD%E8%8E%B7%E5%BE%97ATQA/m-p/774774#M3703</guid>
      <dc:creator>臣柱宣</dc:creator>
      <dc:date>2018-01-11T05:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: LCRC663 只能获得ATQA</title>
      <link>https://community.nxp.com/t5/NFC/LCRC663-%E5%8F%AA%E8%83%BD%E8%8E%B7%E5%BE%97ATQA/m-p/774775#M3704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;我这有个CLRC663读mifare S50卡的脚本，你看看和你代码实现是否一致。&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 07:16:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/LCRC663-%E5%8F%AA%E8%83%BD%E8%8E%B7%E5%BE%97ATQA/m-p/774775#M3704</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2018-01-11T07:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: LCRC663 只能获得ATQA</title>
      <link>https://community.nxp.com/t5/NFC/LCRC663-%E5%8F%AA%E8%83%BD%E8%8E%B7%E5%BE%97ATQA/m-p/774776#M3705</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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 07:18:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/LCRC663-%E5%8F%AA%E8%83%BD%E8%8E%B7%E5%BE%97ATQA/m-p/774776#M3705</guid>
      <dc:creator>臣柱宣</dc:creator>
      <dc:date>2018-01-11T07:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: LCRC663 只能获得ATQA</title>
      <link>https://community.nxp.com/t5/NFC/LCRC663-%E5%8F%AA%E8%83%BD%E8%8E%B7%E5%BE%97ATQA/m-p/774777#M3706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;是的，基本没问题，不过很奇怪， addr= 0x06 ,reg =0x3C，说明有ErrIrq，不过看addr= 0x0A ,reg =0x00，说明没有error，建议检查一下代码，看看有没有处理ErrIrq的语句被执行。&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 07:41:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/LCRC663-%E5%8F%AA%E8%83%BD%E8%8E%B7%E5%BE%97ATQA/m-p/774777#M3706</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2018-01-11T07:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: LCRC663 只能获得ATQA</title>
      <link>https://community.nxp.com/t5/NFC/LCRC663-%E5%8F%AA%E8%83%BD%E8%8E%B7%E5%BE%97ATQA/m-p/774778#M3707</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;//&amp;gt; Authenticate:&lt;BR /&gt;//&amp;gt; -------------&lt;/P&gt;&lt;P&gt;SR 0a 80 // flush FIFO&lt;BR /&gt;SR 09 60 // Auth. Command&lt;BR /&gt;SR 09 02 // Block Number&lt;BR /&gt;SR 09 FF // Key 0&lt;BR /&gt;SR 09 FF // Key 1&lt;BR /&gt;SR 09 FF // Key 2&lt;BR /&gt;SR 09 FF // Key 3&lt;BR /&gt;SR 09 FF // Key 4&lt;BR /&gt;SR 09 FF // Key 5&amp;nbsp;&lt;BR /&gt;SR 09 ML0 // Write SNR 0&lt;BR /&gt;SR 09 ML1 // Write SNR 1&lt;BR /&gt;SR 09 ML2 // Write SNR 2&lt;BR /&gt;SR 09 ML3 // Write SNR 3&lt;/P&gt;&lt;P&gt;后面写的这几个是CID，但是我看 &lt;SPAN class=""&gt;MFAUTHENT &lt;/SPAN&gt;&lt;SPAN class=""&gt;命令&lt;/SPAN&gt;&amp;nbsp;并不需要后面的CID，请问这个流程有问题么？&lt;/P&gt;&lt;P&gt;还有一个问题&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="200"&gt;&lt;SPAN class=""&gt;Crypto1On &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="200"&gt;&lt;SPAN class=""&gt;指定 &lt;/SPAN&gt;&lt;SPAN class=""&gt;MIFARE &lt;/SPAN&gt;&lt;SPAN class=""&gt;加密是否启动。清除此位将关闭 &lt;/SPAN&gt;&lt;SPAN class=""&gt;MIFARE &lt;/SPAN&gt;&lt;SPAN class=""&gt;加密。此位&lt;BR /&gt;只能被 &lt;/SPAN&gt;&lt;SPAN class=""&gt;MFAuthent &lt;/SPAN&gt;&lt;SPAN class=""&gt;命令设置&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;这个bit是否在发送认证命令前应该clean，发送命令后如果成功认证则自动变成1？&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;我发送命令后，出现了IDLE irq，&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;MFAuthent command&lt;/SPAN&gt;&amp;nbsp;里介绍&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;This command does not terminate automatically, when the card does not answer,&lt;BR /&gt;therefore the timer should be initialized to automatic mode. In this case, beside the bit&lt;BR /&gt;IdleIRQ the bit TimerIRQ can be used as termination criteria. &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;那我这里出现了idle irq是否就是说明我的秘钥认证失败了？&lt;/P&gt;&lt;P&gt;而且你给的参考脚本中没有先用 &lt;SPAN class=""&gt;Load key command&lt;/SPAN&gt;&amp;nbsp;，而是直接用&lt;SPAN&gt;MFAuthent command，这样做合理么？&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 10:34:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/LCRC663-%E5%8F%AA%E8%83%BD%E8%8E%B7%E5%BE%97ATQA/m-p/774778#M3707</guid>
      <dc:creator>臣柱宣</dc:creator>
      <dc:date>2018-01-11T10:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: LCRC663 只能获得ATQA</title>
      <link>https://community.nxp.com/t5/NFC/LCRC663-%E5%8F%AA%E8%83%BD%E8%8E%B7%E5%BE%97ATQA/m-p/774779#M3708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Authentication的流程没问题啊，你看数据手册上的内容：&lt;/P&gt;&lt;P&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/3007i2EC1DD89375473A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Crypto1On不用代码去控制，硬件会自动根据情况设置的，而且IdleIrq不能说明Authentication失败与否，应该去看CryptoOn这个bit。你应该能在数据手册中看到这段话：&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2937i1681B6709F32D066/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;另外默认keyFFFFFF无需调用loadkey command。&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&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>Fri, 12 Jan 2018 07:28:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/LCRC663-%E5%8F%AA%E8%83%BD%E8%8E%B7%E5%BE%97ATQA/m-p/774779#M3708</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2018-01-12T07:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: LCRC663 只能获得ATQA</title>
      <link>https://community.nxp.com/t5/NFC/LCRC663-%E5%8F%AA%E8%83%BD%E8%8E%B7%E5%BE%97ATQA/m-p/774780#M3709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;你好，我已经完成了单次读写过程，但是我发现如果我读完卡片后，将卡片远离lcrc663等待1分钟后再次贴近lcrc663的话，再次调用读写，发送REQA，卡片就无响应了，而我只要重启设备，再发REQA的话，就可以正常收到picc的响应，请问lcrc663读写完以后还要设置什么状态才能再次重新读写吗？谢谢&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2018 09:15:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/LCRC663-%E5%8F%AA%E8%83%BD%E8%8E%B7%E5%BE%97ATQA/m-p/774780#M3709</guid>
      <dc:creator>臣柱宣</dc:creator>
      <dc:date>2018-01-12T09:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: LCRC663 只能获得ATQA</title>
      <link>https://community.nxp.com/t5/NFC/LCRC663-%E5%8F%AA%E8%83%BD%E8%8E%B7%E5%BE%97ATQA/m-p/774781#M3710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;能描述下你实现的单次读写的具体过程吗？谢谢！&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 06:47:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/LCRC663-%E5%8F%AA%E8%83%BD%E8%8E%B7%E5%BE%97ATQA/m-p/774781#M3710</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2018-01-16T06:47:42Z</dc:date>
    </item>
  </channel>
</rss>

