PN7150 USB dongle and Raspberry pi4

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

PN7150 USB dongle and Raspberry pi4

跳至解决方案
2,412 次查看
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

 

标记 (2)
0 项奖励
回复
1 解答
2,393 次查看
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 项奖励
回复
4 回复数
1,168 次查看
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 项奖励
回复
2,387 次查看
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 项奖励
回复
2,372 次查看
KaiLi
NXP TechSupport
NXP TechSupport

Hello @MehdiL 

That' great news, thanks for your sharing.

BR

kelly

0 项奖励
回复
2,394 次查看
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 项奖励
回复