How to add library of libnfc-nci into yocto imge

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

How to add library of libnfc-nci into yocto imge

跳至解决方案
3,481 次查看
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 项奖励
回复
1 解答
3,415 次查看
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 项奖励
回复
5 回复数
3,453 次查看
Rita_Wang
NXP TechSupport
NXP TechSupport

You can following this AN

0 项奖励
回复
3,447 次查看
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 项奖励
回复
3,436 次查看
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 项奖励
回复
3,420 次查看
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 项奖励
回复
3,416 次查看
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 项奖励
回复