How to add library of libnfc-nci into yocto imge

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

How to add library of libnfc-nci into yocto imge

ソリューションへジャンプ
3,483件の閲覧回数
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,417件の閲覧回数
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,455件の閲覧回数
Rita_Wang
NXP TechSupport
NXP TechSupport

You can following this AN

0 件の賞賛
返信
3,449件の閲覧回数
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,438件の閲覧回数
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,422件の閲覧回数
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,418件の閲覧回数
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 件の賞賛
返信