How to add library of libnfc-nci into yocto imgeI'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!
Re: How to add library of libnfc-nci into yocto imgeThank 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.Re: How to add library of libnfc-nci into yocto imgeCould you tell me which version BSP are you using? I will confirmed with our NFC engineer tomorrow and then give you update.
Re: How to add library of libnfc-nci into yocto imgeThe 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.
Re: How to add library of libnfc-nci into yocto imgeThank 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!Re: How to add library of libnfc-nci into yocto imgeYou can following this AN