<?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: PN7150 on Raspberry Pi 5 in NFC</title>
    <link>https://community.nxp.com/t5/NFC/PN7150-on-Raspberry-Pi-5/m-p/2080987#M13059</link>
    <description>&lt;P&gt;Kernel version is 6.12.20+rpt-rpi-2712. This is the stock kernel from the Pi OS image.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Apr 2025 15:30:18 GMT</pubDate>
    <dc:creator>zblocker</dc:creator>
    <dc:date>2025-04-15T15:30:18Z</dc:date>
    <item>
      <title>PN7150 on Raspberry Pi 5</title>
      <link>https://community.nxp.com/t5/NFC/PN7150-on-Raspberry-Pi-5/m-p/2076472#M13012</link>
      <description>&lt;P&gt;I'm trying to get a PN7150 working on a Raspberry Pi 5 on Bookworm. I followed the 7160 porting process described here (&lt;A href="https://community.nxp.com/t5/NFC-Knowledge-Base/Porting-PN7160-NCI2-stack-to-Raspberry-Pi-5-OS-Bookworm/ta-p/1977521" target="_blank"&gt;https://community.nxp.com/t5/NFC-Knowledge-Base/Porting-PN7160-NCI2-stack-to-Raspberry-Pi-5-OS-Bookworm/ta-p/1977521&lt;/A&gt;), hoping it would transfer, but it's not working. The nfcDemoApp binary compiles and runs, but doesn't detect anything.&lt;/P&gt;&lt;P&gt;Should that process work for a 7150 as well? If not, what modifications are needed?&lt;/P&gt;&lt;P&gt;Attached is a debug log from nfcDemoApp.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 20:58:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7150-on-Raspberry-Pi-5/m-p/2076472#M13012</guid>
      <dc:creator>zblocker</dc:creator>
      <dc:date>2025-04-08T20:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: PN7150 on Raspberry Pi 5</title>
      <link>https://community.nxp.com/t5/NFC/PN7150-on-Raspberry-Pi-5/m-p/2076690#M13016</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/249099"&gt;@zblocker&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For your question, it's recommended that you can read this post (&lt;A href="https://community.nxp.com/t5/NXP-Designs-Knowledge-Base/Easy-set-up-of-NFC-on-Raspberry-Pi/ta-p/1099034" target="_blank"&gt;Easy set-up of NFC on Raspberry Pi - NXP Community&lt;/A&gt;) which is dedicated for PN7150, and after that if still question please update to us.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 05:14:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7150-on-Raspberry-Pi-5/m-p/2076690#M13016</guid>
      <dc:creator>KaiLi</dc:creator>
      <dc:date>2025-04-09T05:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: PN7150 on Raspberry Pi 5</title>
      <link>https://community.nxp.com/t5/NFC/PN7150-on-Raspberry-Pi-5/m-p/2078452#M13032</link>
      <description>&lt;P&gt;Following the linked instructions, nfcDemoApp compiles, but a poll command fails with the following message.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;CUSTOM&amp;gt; too many i2c read errors: ABORTING...&lt;BR /&gt;NfcService Init Failed&lt;BR /&gt;Leaving ...&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Attached is debug output.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 15:02:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7150-on-Raspberry-Pi-5/m-p/2078452#M13032</guid>
      <dc:creator>zblocker</dc:creator>
      <dc:date>2025-04-10T15:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: PN7150 on Raspberry Pi 5</title>
      <link>https://community.nxp.com/t5/NFC/PN7150-on-Raspberry-Pi-5/m-p/2080720#M13057</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/249099"&gt;@zblocker&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The post that I sent you is a success story, but you failed. From the logs, you can see that there are too many I2C errors and I2C communication is not established. What is the kernel version on your side?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 09:34:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7150-on-Raspberry-Pi-5/m-p/2080720#M13057</guid>
      <dc:creator>KaiLi</dc:creator>
      <dc:date>2025-04-15T09:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: PN7150 on Raspberry Pi 5</title>
      <link>https://community.nxp.com/t5/NFC/PN7150-on-Raspberry-Pi-5/m-p/2080987#M13059</link>
      <description>&lt;P&gt;Kernel version is 6.12.20+rpt-rpi-2712. This is the stock kernel from the Pi OS image.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 15:30:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7150-on-Raspberry-Pi-5/m-p/2080987#M13059</guid>
      <dc:creator>zblocker</dc:creator>
      <dc:date>2025-04-15T15:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: PN7150 on Raspberry Pi 5</title>
      <link>https://community.nxp.com/t5/NFC/PN7150-on-Raspberry-Pi-5/m-p/2081291#M13061</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/249099"&gt;@zblocker&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Linux is constantly improving the kernel versions. Kernel versions that are bigger as 6.1 don't support anymore the GPIO toggling via file access. Since together with new Raspberry pi OS (bookworm) they deploy the kernel version 6.6 this can lead to errors while executing the PN7150/PN7160 examples.&lt;/P&gt;
&lt;P&gt;User can see the errors in log connected to i2c_read and i2c_write failures. The reason for this is that GPIO access in /system/class/gpio/ don't exist anymore and this due to that system is not toggling VEN, DWNL_REQ, IRQ pins. Since those pins are important for communication and resetting the device we can't work without them.&lt;/P&gt;
&lt;P&gt;In the attached zip you can find the changes we did to address this issue. We change the file GPIO access with gpiod.h library that is becoming the standard for GPIO handling in Linux (&lt;A href="https://libgpiod.readthedocs.io/en/latest/index.html" target="_blank"&gt;https://libgpiod.readthedocs.io/en/latest/index.html&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;User need to do following things to make this code working:&lt;/P&gt;
&lt;P&gt;Follow steps in PN7160 Linux porting guide to download the code&lt;BR /&gt;Apply 64-bit patch in case 64-bit OS is used&lt;BR /&gt;Replace the Makefile.am with the one in zip&lt;BR /&gt;Replace NfccAltTransport.h and NfccAltTransport.cc in src/nfcandroid_nfc_hidlimpl/halimpl/tml/transport with the two files in the attached zip&lt;BR /&gt;Run following two commands&lt;BR /&gt;sudo apt-get install gpiod&lt;BR /&gt;sudo apt-get install libgpiod-dev&lt;BR /&gt;Follow the installation guide to build the example&lt;BR /&gt;Run the examples&lt;BR /&gt;Be aware that this code is just a test code and it was not scanned with Black Duck scan so can't be shared outside NXP, but you can use it to guide the customer to solve the problem. We are already working with R&amp;amp;D to release this to GitHub. This zip shall not be used in release, since we didn't do any verification/validation. The only test we did is basic sanity check to see if functionality is working.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2025 03:10:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7150-on-Raspberry-Pi-5/m-p/2081291#M13061</guid>
      <dc:creator>KaiLi</dc:creator>
      <dc:date>2025-04-16T03:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: PN7150 on Raspberry Pi 5</title>
      <link>https://community.nxp.com/t5/NFC/PN7150-on-Raspberry-Pi-5/m-p/2082691#M13064</link>
      <description>&lt;P&gt;Having followed the PN7160 porting guide and then applied the files from the provided zip, nfcDemoApp compiles and runs, but it doesn't detect a nearby NFC card. In the debug log, I do see some errors like this:&lt;/P&gt;&lt;P&gt;phNxpNciHal_print_res_status: response status =STATUS_SYNTAX_ERROR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Debug log attached.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 15:47:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7150-on-Raspberry-Pi-5/m-p/2082691#M13064</guid>
      <dc:creator>zblocker</dc:creator>
      <dc:date>2025-04-17T15:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: PN7150 on Raspberry Pi 5</title>
      <link>https://community.nxp.com/t5/NFC/PN7150-on-Raspberry-Pi-5/m-p/2086233#M13086</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/249099"&gt;@zblocker&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;please refer to the attached project.&amp;nbsp; It runs on Raspberry Pi 5,&amp;nbsp; 64bit.&lt;/DIV&gt;
&lt;DIV&gt;hope it helps.&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Apr 2025 05:15:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7150-on-Raspberry-Pi-5/m-p/2086233#M13086</guid>
      <dc:creator>KaiLi</dc:creator>
      <dc:date>2025-04-24T05:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: PN7150 on Raspberry Pi 5</title>
      <link>https://community.nxp.com/t5/NFC/PN7150-on-Raspberry-Pi-5/m-p/2086736#M13089</link>
      <description>&lt;P&gt;When I untar this and run "sudo make install", again, it compiles and runs, but detects nothing. Attached is all the output I see in the terminal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What steps can I take to figure out what's wrong?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 15:54:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7150-on-Raspberry-Pi-5/m-p/2086736#M13089</guid>
      <dc:creator>zblocker</dc:creator>
      <dc:date>2025-04-24T15:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: PN7150 on Raspberry Pi 5</title>
      <link>https://community.nxp.com/t5/NFC/PN7150-on-Raspberry-Pi-5/m-p/2087308#M13098</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/249099"&gt;@zblocker&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your situation is so strange. Is the PN7150 what you are using NXP development board?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Apr 2025 12:31:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7150-on-Raspberry-Pi-5/m-p/2087308#M13098</guid>
      <dc:creator>KaiLi</dc:creator>
      <dc:date>2025-04-25T12:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: PN7150 on Raspberry Pi 5</title>
      <link>https://community.nxp.com/t5/NFC/PN7150-on-Raspberry-Pi-5/m-p/2088515#M13104</link>
      <description>&lt;P&gt;Yes, it is.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 14:53:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7150-on-Raspberry-Pi-5/m-p/2088515#M13104</guid>
      <dc:creator>zblocker</dc:creator>
      <dc:date>2025-04-28T14:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: PN7150 on Raspberry Pi 5</title>
      <link>https://community.nxp.com/t5/NFC/PN7150-on-Raspberry-Pi-5/m-p/2088808#M13109</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/249099"&gt;@zblocker&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ok, it's clear. Let me build the same platform and test.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 02:32:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7150-on-Raspberry-Pi-5/m-p/2088808#M13109</guid>
      <dc:creator>KaiLi</dc:creator>
      <dc:date>2025-04-29T02:32:36Z</dc:date>
    </item>
  </channel>
</rss>

