<?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: PN7120 integration with android</title>
    <link>https://community.nxp.com/t5/NFC/PN7120-integration-with-android/m-p/538152#M365</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="284197" data-username="venkatesansubbu" href="https://community.nxp.com/people/venkatesansubbu"&gt;venkatesan&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; According to logs you sent, NFC device has been driven successfully in linux kernel, becuase NFC app could open it(see logs of No.1 line)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Correct logs is here: &lt;A href="https://community.nxp.com/docs/DOC-329733"&gt;NFC PN7120 on the  i.MX6Q&lt;/A&gt; , see "&lt;STRONG&gt;6. TESTING NFC READER&lt;/STRONG&gt;" in it. So now, the main issue of your system is I2C communication.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From ERROR definitions in error.h of linux: &lt;SPAN class="newTimeFactor_before_abs m"&gt;&lt;/SPAN&gt;&lt;EM&gt;#define&lt;/EM&gt; &lt;EM&gt;EREMOTEIO&lt;/EM&gt; &lt;EM&gt;121&lt;/EM&gt; /* Remote I/O error */ , Host I2C can't read and write data from/to PN7120 device, so I suggest you had better take some time to check hardware, as for reference, the following items possibly cause I2C bus communication failed.&lt;/P&gt;&lt;P&gt;1. The value of pull-up resistor is too big.&lt;/P&gt;&lt;P&gt;2. devices on i2c bus are more than 4&lt;/P&gt;&lt;P&gt;3. lines of i2c bus are too long&lt;/P&gt;&lt;P&gt;&amp;nbsp; Above 2 &amp;amp; 3 can both cause load capacitor bigger, and affect i2c bus communication.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; So please try to check hardware issue at frist!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Aug 2016 09:14:50 GMT</pubDate>
    <dc:creator>weidong_sun</dc:creator>
    <dc:date>2016-08-02T09:14:50Z</dc:date>
    <item>
      <title>PN7120 integration with android</title>
      <link>https://community.nxp.com/t5/NFC/PN7120-integration-with-android/m-p/538151#M364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to integrate PN7120 with android system. getting following messages&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 70.817523] pn54x_dev_open : 10,56&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 70.875924] pn54x_dev_ioctl, cmd=1074063617, arg=1&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 70.972485] pn544_enable power on&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 71.229363] pn54x_dev_ioctl, cmd=1074063617, arg=0&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 71.253630] pn544_disable power off&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 71.491964] pn54x_dev_ioctl, cmd=1074063617, arg=1&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 71.497000] pn544_enable power on&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 71.669942] pn54x_dev_write : i2c_master_send returned -121&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 71.772276] pn54x_dev_write : i2c_master_send returned -121&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 71.857472] pn54x_dev_write : i2c_master_send returned -121&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 71.965402] pn54x_dev_write : i2c_master_send returned -121&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 71.983767] pn54x_dev_write : i2c_master_send returned -121&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 72.003583] pn54x_dev_write : i2c_master_send returned -121&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 72.017645] pn54x_dev_ioctl, cmd=1074063617, arg=1&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 72.025201] pn544_enable power on&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 72.239459] pn54x_dev_ioctl, cmd=1074063617, arg=0&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 72.251812] pn544_disable power off&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 72.459436] pn54x_dev_ioctl, cmd=1074063617, arg=1&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 72.470346] pn544_enable power on&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 72.591335] pn54x_dev_ioctl, cmd=1074063617, arg=2&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 72.659337] pn544_enable power on with firmware&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 72.722492] pn544_enable Unused Firm GPIO 2&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 72.843934] pn54x_dev_ioctl, cmd=1074063617, arg=0&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 72.869792] pn544_disable power off&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 72.989573] pn54x_dev_ioctl, cmd=1074063617, arg=1&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp; 73.002045] pn544_enable power on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not able to ON the NFC in android setting. &lt;/P&gt;&lt;P&gt;May I get any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;venkat &lt;/P&gt;&lt;P&gt;Baytech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2016 14:11:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7120-integration-with-android/m-p/538151#M364</guid>
      <dc:creator>venkatesansubbu</dc:creator>
      <dc:date>2016-07-25T14:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: PN7120 integration with android</title>
      <link>https://community.nxp.com/t5/NFC/PN7120-integration-with-android/m-p/538152#M365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="284197" data-username="venkatesansubbu" href="https://community.nxp.com/people/venkatesansubbu"&gt;venkatesan&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; According to logs you sent, NFC device has been driven successfully in linux kernel, becuase NFC app could open it(see logs of No.1 line)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Correct logs is here: &lt;A href="https://community.nxp.com/docs/DOC-329733"&gt;NFC PN7120 on the  i.MX6Q&lt;/A&gt; , see "&lt;STRONG&gt;6. TESTING NFC READER&lt;/STRONG&gt;" in it. So now, the main issue of your system is I2C communication.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From ERROR definitions in error.h of linux: &lt;SPAN class="newTimeFactor_before_abs m"&gt;&lt;/SPAN&gt;&lt;EM&gt;#define&lt;/EM&gt; &lt;EM&gt;EREMOTEIO&lt;/EM&gt; &lt;EM&gt;121&lt;/EM&gt; /* Remote I/O error */ , Host I2C can't read and write data from/to PN7120 device, so I suggest you had better take some time to check hardware, as for reference, the following items possibly cause I2C bus communication failed.&lt;/P&gt;&lt;P&gt;1. The value of pull-up resistor is too big.&lt;/P&gt;&lt;P&gt;2. devices on i2c bus are more than 4&lt;/P&gt;&lt;P&gt;3. lines of i2c bus are too long&lt;/P&gt;&lt;P&gt;&amp;nbsp; Above 2 &amp;amp; 3 can both cause load capacitor bigger, and affect i2c bus communication.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; So please try to check hardware issue at frist!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2016 09:14:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7120-integration-with-android/m-p/538152#M365</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2016-08-02T09:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: PN7120 integration with android</title>
      <link>https://community.nxp.com/t5/NFC/PN7120-integration-with-android/m-p/538153#M366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The PN7120 kit is working findé in Linux. The same hardware interface is used for Android Lollipop. Still we connected the 1K resistor for pull-up in I2c bus. But the same error persist. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the logcat, it is looking for libpn548ad_fw.so. is it correct for PN7120 setup. &lt;/P&gt;&lt;P&gt;We followed the same patches mentioned in the porting guide. &lt;/P&gt;&lt;P&gt;May I get guidance in resolving this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;venkat&lt;/P&gt;&lt;P&gt;baytech&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/942iFF834BA95CC5158B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2016 12:20:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7120-integration-with-android/m-p/538153#M366</guid>
      <dc:creator>venkatesansubbu</dc:creator>
      <dc:date>2016-08-02T12:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: PN7120 integration with android</title>
      <link>https://community.nxp.com/t5/NFC/PN7120-integration-with-android/m-p/538154#M367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello venkat,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; OK, since PN7120 works fine on linux platform, it means hardware is no probelm, then please check the following info:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(1) Your android version.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Is your android verison is android 5.1.1 ? Our patches of PN7120 is for version 5.1.1&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(2)libpn548ad_fw.so file&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;PN7120 doesn't need the firmware, because all firmwares are fixed in PN7120. so please check if android's corresponding configurations set path for PN7120.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 06:40:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7120-integration-with-android/m-p/538154#M367</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2016-08-04T06:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: PN7120 integration with android</title>
      <link>https://community.nxp.com/t5/NFC/PN7120-integration-with-android/m-p/538155#M368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. it is correct. The issue is in AOSP compilation. the chip is not properly selected in one of the Android.mk file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it is working fine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 05:33:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7120-integration-with-android/m-p/538155#M368</guid>
      <dc:creator>venkatesansubbu</dc:creator>
      <dc:date>2016-08-05T05:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: PN7120 integration with android</title>
      <link>https://community.nxp.com/t5/NFC/PN7120-integration-with-android/m-p/538156#M369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But it is working fine for 5.1.0 version&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 05:34:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7120-integration-with-android/m-p/538156#M369</guid>
      <dc:creator>venkatesansubbu</dc:creator>
      <dc:date>2016-08-05T05:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: PN7120 integration with android</title>
      <link>https://community.nxp.com/t5/NFC/PN7120-integration-with-android/m-p/1197930#M7955</link>
      <description>&lt;P&gt;hi &lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-I lia-component-message-view-widget-author-username"&gt;venkatesansubbu&lt;/SPAN&gt;,&lt;BR /&gt;Can ypu please let me know exact path and change for same issue.&lt;BR /&gt;I am having i2c error as -107 and device is based on qualcom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 07:48:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7120-integration-with-android/m-p/1197930#M7955</guid>
      <dc:creator>sawan_roy</dc:creator>
      <dc:date>2020-12-11T07:48:47Z</dc:date>
    </item>
  </channel>
</rss>

