PN7160 NCI library in 32-bit system machine could not work?

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

PN7160 NCI library in 32-bit system machine could not work?

136 Views
DoIt
Contributor I

1、I have already compiled the NCI library code from git clone https://github.com/NXPNFCLinux/linux_libnfc-nci.git -b NCI2.0_PN7160 ,but it could not work.

the KOVIO is disable.

 

2、the log:

1970:01:01-00:12:47.212 len = 20 > 2103110800010101020103018001810106017401
1970:01:01-00:12:47.212 PN54X - I2C Write successful.....
1970:01:01-00:12:47.212 PN54X - Posting Fresh Write message.....
1970:01:01-00:12:47.212 PN54X - Tml Writer Thread Running................
1970:01:01-00:12:47.212 write successful status = 0x0
1970:01:01-00:12:47.213 PN54X - I2C Read successful.....
1970:01:01-00:12:47.213 len = 4 > 41030105
1970:01:01-00:12:47.213 PN54X - Posting read message.....
1970:01:01-00:12:47.213 read successful status = 0x0
1970:01:01-00:12:47.213 PN54X - Read requested.....
1970:01:01-00:12:47.213 PN54X - Invoking I2C Read.....
1970:01:01-00:12:47.213 PN54X - Write requested.....
1970:01:01-00:12:47.213 PN54X - Invoking I2C Write.....
1970:01:01-00:12:47.214 len = 4 > 21060100
1970:01:01-00:12:47.214 PN54X - I2C Write successful.....
1970:01:01-00:12:47.548 PN54X - Posting Fresh Write message.....
1970:01:01-00:12:47.548 PN54X - Tml Writer Thread Running................
1970:01:01-00:12:47.548 PN54X - I2C Read successful.....
1970:01:01-00:12:47.548 write successful status = 0x0
1970:01:01-00:12:47.548 len = 4 > 41060106
1970:01:01-00:12:47.548 PN54X - Posting read message.....
1970:01:01-00:12:47.548 read successful status = 0x0
1970:01:01-00:12:47.548 PN54X - Read requested.....
1970:01:01-00:12:47.549 PN54X - Invoking I2C Read.....

 

 

3、my libnfc-nci.conf:


###############################################################################
# Force tag polling for the following technology(s).
# The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h.
# Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_B |
# NFA_TECHNOLOGY_MASK_F | NFA_TECHNOLOGY_MASK_ISO15693 |
# NFA_TECHNOLOGY_MASK_KOVIO | NFA_TECHNOLOGY_MASK_A_ACTIVE |
# NFA_TECHNOLOGY_MASK_F_ACTIVE
#
# Notable bits:
# NFA_TECHNOLOGY_MASK_A 0x01 /* NFC Technology A */
# NFA_TECHNOLOGY_MASK_B 0x02 /* NFC Technology B */
# NFA_TECHNOLOGY_MASK_F 0x04 /* NFC Technology F */
# NFA_TECHNOLOGY_MASK_ISO15693 0x08 /* Proprietary Technology */
# NFA_TECHNOLOGY_MASK_KOVIO 0x20 /* Proprietary Technology */
# NFA_TECHNOLOGY_MASK_A_ACTIVE 0x40 /* NFC Technology A active mode */
# NFA_TECHNOLOGY_MASK_F_ACTIVE 0x80 /* NFC Technology F active mode */
# This flag when set to zero will disable Reader mode.
POLLING_TECH_MASK=0xCF

0 Kudos
2 Replies

114 Views
valove5635
Contributor I

Longhorn Steakhouse Wichita KS menu! with delicious food, especially great steaks. They have a lot of different options, so everyone can find something they like.

0 Kudos

116 Views
danielchen
NXP TechSupport
NXP TechSupport

HI @DoIt 

 

We have a patch for 64ibt OS, please get it from below link

https://community.nxp.com/t5/Other-NXP-Products/OM27160B1HN-with-SPI-interface-not-working/m-p/16680...

For 32 bit, it should work.

 

Regards

Daniel

0 Kudos