nxp PN512 NFC frontend module with imx6sx

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

nxp PN512 NFC frontend module with imx6sx

879 Views
pavansingpatil
Contributor I

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.

Tags (4)
0 Kudos
2 Replies

629 Views
jimmychan
NXP TechSupport
NXP TechSupport

Although this is for PN7150, the step for porting the PN512 to i.MX BSP is the same.

https://community.nxp.com/docs/DOC-331906 

0 Kudos

629 Views
pavansingpatil
Contributor I

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

0 Kudos