<?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 PN7160 opcode error in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/PN7160-opcode-error/m-p/1496244#M193093</link>
    <description>&lt;P&gt;I am integrating nfc module PN7160 for iMX8 platform using the android integration guide AN13189.&lt;/P&gt;&lt;P&gt;While testing i can see the below logs from the logcat. because of this i am not able to test nfc card.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;complete log is attached with this&lt;/P&gt;&lt;P&gt;Please let me know if there is a problem here.&lt;/P&gt;&lt;P&gt;6:56:54.970 564 644 I notification_panel_hidden:&lt;BR /&gt;07-26 16:56:56.288 409 1477 D NxpNciR : len = 3 &amp;gt; 612300&lt;BR /&gt;07-26 16:56:56.288 409 1477 D NxpTml : PN54X - Posting read message.....&lt;BR /&gt;07-26 16:56:56.289 409 1480 D NxpHal : read successful status = 0x0&lt;BR /&gt;07-26 16:56:56.289 409 1480 D NfccPowerTracker: NfccPowerTracker::ProcessNtf: Enter&lt;BR /&gt;07-26 16:56:56.289 1213 1473 I libnfc_nci: [INFO:nfc_ncif.cc(501)] NFC received ntf gid:1&lt;BR /&gt;07-26 16:56:56.289 409 1477 D NxpTml : PN54X - Read requested.....&lt;BR /&gt;07-26 16:56:56.289 409 1477 D NxpTml : PN54X - Invoking I2C Read.....&lt;BR /&gt;07-26 16:56:56.289 1213 1473 E libnfc_nci: [ERROR:nci_hrcv.cc(305)] unknown opcode:0x23&lt;BR /&gt;07-26 16:56:56.782 409 1477 E NxpTml : Read _&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Empty packet recieved !!&lt;BR /&gt;07-26 16:56:56.782 409 1477 D NxpTml : PN54X - I2C Read successful.....&lt;BR /&gt;07-26 16:56:56.782 409 1477 D NxpNciR : len = 3 &amp;gt; 612100&lt;BR /&gt;07-26 16:56:56.782 409 1477 D NxpTml : PN54X - Posting read message.....&lt;BR /&gt;07-26 16:56:56.782 409 1480 D NxpHal : read successful status = 0x0&lt;BR /&gt;07-26 16:56:56.783 409 1480 D NfccPowerTracker: NfccPowerTracker::ProcessNtf: Enter&lt;BR /&gt;07-26 16:56:56.783 409 1477 D NxpTml : PN54X - Read requested.....&lt;BR /&gt;07-26 16:56:56.783 409 1477 D NxpTml : PN54X - Invoking I2C Read.....&lt;BR /&gt;07-26 16:56:56.783 1213 1473 I libnfc_nci: [INFO:nfc_ncif.cc(501)] NFC received ntf gid:1&lt;BR /&gt;07-26 16:56:56.783 1213 1473 E libnfc_nci: [ERROR:nci_hrcv.cc(305)] unknown opcode:0x21&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jul 2022 08:41:26 GMT</pubDate>
    <dc:creator>ram-nimmala</dc:creator>
    <dc:date>2022-07-27T08:41:26Z</dc:date>
    <item>
      <title>PN7160 opcode error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PN7160-opcode-error/m-p/1496244#M193093</link>
      <description>&lt;P&gt;I am integrating nfc module PN7160 for iMX8 platform using the android integration guide AN13189.&lt;/P&gt;&lt;P&gt;While testing i can see the below logs from the logcat. because of this i am not able to test nfc card.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;complete log is attached with this&lt;/P&gt;&lt;P&gt;Please let me know if there is a problem here.&lt;/P&gt;&lt;P&gt;6:56:54.970 564 644 I notification_panel_hidden:&lt;BR /&gt;07-26 16:56:56.288 409 1477 D NxpNciR : len = 3 &amp;gt; 612300&lt;BR /&gt;07-26 16:56:56.288 409 1477 D NxpTml : PN54X - Posting read message.....&lt;BR /&gt;07-26 16:56:56.289 409 1480 D NxpHal : read successful status = 0x0&lt;BR /&gt;07-26 16:56:56.289 409 1480 D NfccPowerTracker: NfccPowerTracker::ProcessNtf: Enter&lt;BR /&gt;07-26 16:56:56.289 1213 1473 I libnfc_nci: [INFO:nfc_ncif.cc(501)] NFC received ntf gid:1&lt;BR /&gt;07-26 16:56:56.289 409 1477 D NxpTml : PN54X - Read requested.....&lt;BR /&gt;07-26 16:56:56.289 409 1477 D NxpTml : PN54X - Invoking I2C Read.....&lt;BR /&gt;07-26 16:56:56.289 1213 1473 E libnfc_nci: [ERROR:nci_hrcv.cc(305)] unknown opcode:0x23&lt;BR /&gt;07-26 16:56:56.782 409 1477 E NxpTml : Read _&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Empty packet recieved !!&lt;BR /&gt;07-26 16:56:56.782 409 1477 D NxpTml : PN54X - I2C Read successful.....&lt;BR /&gt;07-26 16:56:56.782 409 1477 D NxpNciR : len = 3 &amp;gt; 612100&lt;BR /&gt;07-26 16:56:56.782 409 1477 D NxpTml : PN54X - Posting read message.....&lt;BR /&gt;07-26 16:56:56.782 409 1480 D NxpHal : read successful status = 0x0&lt;BR /&gt;07-26 16:56:56.783 409 1480 D NfccPowerTracker: NfccPowerTracker::ProcessNtf: Enter&lt;BR /&gt;07-26 16:56:56.783 409 1477 D NxpTml : PN54X - Read requested.....&lt;BR /&gt;07-26 16:56:56.783 409 1477 D NxpTml : PN54X - Invoking I2C Read.....&lt;BR /&gt;07-26 16:56:56.783 1213 1473 I libnfc_nci: [INFO:nfc_ncif.cc(501)] NFC received ntf gid:1&lt;BR /&gt;07-26 16:56:56.783 1213 1473 E libnfc_nci: [ERROR:nci_hrcv.cc(305)] unknown opcode:0x21&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 08:41:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PN7160-opcode-error/m-p/1496244#M193093</guid>
      <dc:creator>ram-nimmala</dc:creator>
      <dc:date>2022-07-27T08:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: PN7160 opcode error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PN7160-opcode-error/m-p/1570542#M198824</link>
      <description>&lt;P&gt;Hi Ram,&lt;/P&gt;&lt;P&gt;I had the same problem. Opcode 0x21 means PLL could not lock on. That's why tag discovery does not work. I fixed it by configuring the clock source as coming from the crystal. I modified the configuration file vendor/nxp/nfc/hw/pn7160/libnfc-nxp.conf. Change the definition for the clock source NXP_SYS_CLK_SRC_SEL on line 43 from 0x02 (CLK_SRC_PLL) to 0x01 (CLK_SRC_XTAL).&lt;/P&gt;&lt;P&gt;Best wishes,&lt;/P&gt;&lt;P&gt;Günter&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 15:29:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PN7160-opcode-error/m-p/1570542#M198824</guid>
      <dc:creator>gfuchs</dc:creator>
      <dc:date>2022-12-15T15:29:37Z</dc:date>
    </item>
  </channel>
</rss>

