PN7150 USB dongle and Raspberry pi4

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

PN7150 USB dongle and Raspberry pi4

ソリューションへジャンプ
2,272件の閲覧回数
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,253件の閲覧回数
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,028件の閲覧回数
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,247件の閲覧回数
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,232件の閲覧回数
KaiLi
NXP TechSupport
NXP TechSupport

Hello @MehdiL 

That' great news, thanks for your sharing.

BR

kelly

0 件の賞賛
返信
2,254件の閲覧回数
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 件の賞賛
返信