NFC PN7120 with iMX6q under Android 5.0

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

NFC PN7120 with iMX6q under Android 5.0

1,001 Views
youhuachen
Contributor I

I have a project job to use the nfc tag PN7120 under the Android system 5.0.

i follow up the guide AN11690 and AN11697 to install the kernel driver successfully and i2c bus also is initialized successfully, the device node is created too.

now i want a quick test app to verify the work of this nfc device. i still follow up the steps in the user guide. but when i merged the lifnfc-nci with the latest update provided by nxp from https://github.com/NXPNFCLinux/android_nxp-nci

there are so many errors coming out, like miss some aidl files, packages are not available.

i get confused if the android-nxp-nci is able to work with Android 5.0, or have to use with Android 6.0.

if the libnfc-nci does not work, is there any way to write simple program to talk to the kernel driver directly?

0 Kudos
Reply
1 Reply

549 Views
gary_bisson
Senior Contributor III

Hi Youhua,

That is because the Github release is for 5.1.1 only, for 5.0.0 source code you should look at this issue:

Lollipop patches don't apply · Issue #1 · NXPNFCLinux/android_nxp-nci · GitHub

We successfully got pn7120 working on our Nitrogen6x platforms with the 5.0.0 release:

Boundary Devices - Android Lollipop NFC demo

Regards,

Gary

0 Kudos
Reply