How to add library of libnfc-nci into yocto imge

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

How to add library of libnfc-nci into yocto imge

Jump to solution
3,491 Views
NealZhang
Contributor III

I'm about going to use libnfc-nci to driver PN7160-EVK on IMX8MPLUS-EVK. And I want to add libnfc-nci into yocto image and the sdk for imx-image-multimedia. Is any clue for me?

Actually i cannot build libnfc-nci in on IMX8MPLUS-EVK with image of imx-image-multimedia. Therefore, I want add it into yocto image directly.

Thanks very much!

0 Kudos
Reply
1 Solution
3,425 Views
NealZhang
Contributor III
Thank you for your response.
I solved the issue by changing the VBAT voltage from 3.3V to 5V. It worked after that. By the way, it should also work with both VBAT and VDD-PAD at 3.3V if the TXLDO check is disabled.

View solution in original post

0 Kudos
Reply
5 Replies
3,463 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

You can following this AN

0 Kudos
Reply
3,457 Views
NealZhang
Contributor III
Thank you for your response.

I followed the guide to port the PN7160 NFC module, which is connected to the 8MPLUS-EVK via the I2C interface. The device is detected by i2cdetect at address 0x28, but I cannot read any data from the I2C bus using i2cdump.

I also tried running the nfcDemo, but it didn't work correctly either. The logs showed that the IRQ, DWD, and VEN pins were verified successfully, but I encountered a phTmlNfc_Init_Failed error with code 262.

Could you please provide some advice? Thanks a lot!
0 Kudos
Reply
3,446 Views
NealZhang
Contributor III

The nfcDemo now can work, and it can init PN7160 module successfully. But it stop due to some I2C read error. Please refer to the attached log file for more details.

0 Kudos
Reply
3,430 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Could you tell me which version BSP are you using?  I will confirmed with our NFC engineer tomorrow and then give you update.

0 Kudos
Reply
3,426 Views
NealZhang
Contributor III
Thank you for your response.
I solved the issue by changing the VBAT voltage from 3.3V to 5V. It worked after that. By the way, it should also work with both VBAT and VDD-PAD at 3.3V if the TXLDO check is disabled.
0 Kudos
Reply