PN7150 USB dongle and Raspberry pi4

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PN7150 USB dongle and Raspberry pi4

Jump to solution
2,266 Views
MehdiL
Contributor I

Hi,

I'm a beginner developper, and I've recently purchased a Mirkoe USB dongle using PN7150 : https://www.mikroe.com/nfc-usb-dongle

I donwloaded the NXP-NCI_example v1.3 for windows (attached below), linux and macOs. I tested it on Windows and the dongle worked perfectly. However, I then tried to use it on a Raspberry pi 4 using ubuntu 23.04, with a Linux 6.2.0-1006-rapi Kernel Version. I followed the instruction listed in the quickstart guide, but the linux example won't start, saying it's not an executable for ARM.

My main goal here is to read NFC tags with this dongle so I can register the information in a database.

Could someone please explain me how to use this dongle on a raspberry ?

Mehdi

 

Tags (2)
0 Kudos
Reply
1 Solution
2,247 Views
KaiLi
NXP TechSupport
NXP TechSupport

Hello @MehdiL 

The driver should be porting to Linux and then install on Raspberry Pi4, in this case the dongle should be working as Windows. That is to say, Linux running on Raspberry Pi4 requires a port driver. Here is an application note that should be helpful to you AN11697 (nxp.com).

Please feel free to contact us if any questions.

BR

kelly

View solution in original post

0 Kudos
Reply
4 Replies
1,022 Views
sanjaay22
Contributor I

By downloading the source code and running it on your Raspberry Pi 4, you can attempt to recompile the NXP-NCI example for ARM. You might have to install the required libraries (like libusb-dev) and build it by hand if the supplied binary is incompatible. Additionally, make sure you have the right permissions set for USB access and use lsusb to see if the dongle is recognized correctly.

One of my coworkers purchased a Raspberry Pi 4 (4GB) from Robocraze For his software; after upgrading to 4GB now it's working more powerful without any errors and also, they are the authorized seller of India.

0 Kudos
Reply
2,241 Views
MehdiL
Contributor I

Thank you for your answer Kelly, I've tried this solution too and it didn't work.

A colleague of mine found a workaround, turns out I just had to rebuild the Linux example with eclipse for ARM and after modifying one or two lines it was able to start on raspberry so now it's working normally.

Thanks for your support

0 Kudos
Reply
2,226 Views
KaiLi
NXP TechSupport
NXP TechSupport

Hello @MehdiL 

That' great news, thanks for your sharing.

BR

kelly

0 Kudos
Reply
2,248 Views
KaiLi
NXP TechSupport
NXP TechSupport

Hello @MehdiL 

The driver should be porting to Linux and then install on Raspberry Pi4, in this case the dongle should be working as Windows. That is to say, Linux running on Raspberry Pi4 requires a port driver. Here is an application note that should be helpful to you AN11697 (nxp.com).

Please feel free to contact us if any questions.

BR

kelly

0 Kudos
Reply