After getting the demo software to compile and run on a Pi Zero 2 W the service won't start. Upon attempting to debug I determined that at a minimum the eval board stack for the Raspberry Pi is not detected on the i2C bus. I have another device that I have connected to the sda and scl lines and it is detected when running i2cdetect. I checked with a meter that the correct i2c lines from the eval board are connected correctly to the same i2c pins so I would expect that I would be able to see either a '50' or '51' per the datasheet on the i2c bus.
Anyone else have this issue?
Thanks
--Ken
Hello @KennyG ,
I think your problem can be related with this topic :
I will report it to our RnD team, that support for latest Raspberries is needed.
BR
Tomas
Hello @KennyG
Let's follow the comments of Tomas, if has the final result, he will update this post https://community.nxp.com/t5/NFC/OM27160-raspberry-i2c-NfcService-Init-Failed/m-p/1825250/thread-id/...
So please pay attention it, thanks.
I referred to the ap note mentioned above, rebuilt again and still have the following problem. I am using the second method which uses /dev/i2c-1. What I see is that the 'enable' line is never getting set HIGH so the unit is just not responding. The pin #'s are set correctly in the appropriate files though.
Hello @KennyG
From the logic of I2C, the communication is abnormal between pi and PN7160, I also have tested on my side everything works fine. So, it's recommended that you should check the connection between pi and PN7160. The below I2C time logic is from my side for your reference.
Kelly,
If I force the enable line high the I2C communication happens as it should so there is no connection issue between the Pi and the 7160.
Hello @KennyG
Please refer AN13287 (https://www.nxp.com.cn/docs/en/application-note/AN13287.pdf) to build your device, and try the test again.