Hi,
we have PN512 NFC frontend configured with imx6sx soc using i2c bus. I would like to know about linux driver support for kernel-4.9 and and userspace tool to test this and how to get started?
there seems to be NFC support available in kernel-4.9 but not for PN512.
any information on this would be very helpful. Thanks.
Although this is for PN7150, the step for porting the PN512 to i.MX BSP is the same.
hi,
Thanks for reply.
If i understand correctly PN512 is just NFC frontend without controller and in built firmware unlike PN7150.
I followed the steps and able to compile and load the pn5xx_i2c kernel modules.
running nfcDemoApp result into segmentation fault.
root@pavan:/home# ls /dev/pn544
/dev/pn544
root@pavan:/home# ./nfcDemoApp write --type=Text -l en -r "Test"
#########################################################################################
## NFC demo ##
#########################################################################################
## Write mode activated ##
#########################################################################################
SNEP Client Register Callback Failed
Leaving ...
root@pavan:/home# ./nfcDemoApp poll
#########################################################################################
## NFC demo ##
#########################################################################################
## Poll mode activated ##
#########################################################################################
SNEP Client Register Callback Failed
Leaving ...
root@pavan:/home# ./nfcDemoApp push -t URI -u http://www.nxp.com
#########################################################################################
## NFC demo ##
#########################################################################################
## Push mode activated ##
#########################################################################################
SNEP Client Register Callback Failed
... press enter to quit ...
Leaving ...
Regards,
Pavan