Now we are debugging PN7150 on android Pie,but it seems the i2c error, Anybody know how to solve it ?
06-12 09:09:52.013 17963 17979 I libnfc_nci: [INFO:nfa_sys_main.cc(133)] id=1, enable_cplt_mask=0x0
06-12 09:09:52.013 17963 17979 I libnfc_nci: [INFO:nfa_p2p_main.cc(477)] nfa_p2p_init
06-12 09:09:52.013 17963 17979 I libnfc_nci: [INFO:nfa_sys_main.cc(133)] id=3, enable_cplt_mask=0x8
06-12 09:09:52.013 17963 17979 I libnfc_nci: [INFO:nfa_rw_main.cc(70)] nfa_rw_init
06-12 09:09:52.013 17963 17979 I libnfc_nci: [INFO:nfa_sys_main.cc(133)] id=5, enable_cplt_mask=0x28
06-12 09:09:52.013 17963 17979 I libnfc_nci: [INFO:nfa_ce_main.cc(76)] nfa_ce_init
06-12 09:09:52.013 17963 17979 I libnfc_nci: [INFO:nfa_sys_main.cc(133)] id=6, enable_cplt_mask=0x68
06-12 09:09:52.013 17963 17979 I libnfc_nci: [INFO:nfa_ee_main.cc(97)] nfa_ee_init
06-12 09:09:52.013 17963 17979 I libnfc_nci: [INFO:nfa_sys_main.cc(133)] id=2, enable_cplt_mask=0x6c
06-12 09:09:52.013 17963 17979 I libnfc_nci: [INFO:nfa_hci_main.cc(192)] nfa_hci_init
06-12 09:09:52.013 17963 17979 I libnfc_nci: [INFO:nfa_sys_main.cc(133)] id=7, enable_cplt_mask=0xec
06-12 09:09:52.013 17963 17979 I libnfc_nci: [INFO:llcp_main.cc(57)] llcp_init
06-12 09:09:52.013 17963 17979 I libnfc_nci: [INFO:llcp_main.cc(89)] num_rx_buff = 9, rx_congest_start = 6, rx_congest_end = 4, max_num_ll_rx_buff = 2
06-12 09:09:52.013 17963 17979 I libnfc_nci: [INFO:llcp_main.cc(102)] max_num_tx_buff = 21, max_num_ll_tx_buff = 6
06-12 09:09:52.013 17963 17979 I libnfc_nci: [INFO:llcp_api.cc(369)] SAP:0x1, link_type:0x2, ServiceName:<urn:nfc:sn:sdp>
06-12 09:09:52.013 17963 17979 I libnfc_nci: [INFO:llcp_api.cc(453)] Registered SAP = 0x01
06-12 09:09:52.013 17963 17979 I libnfc_nci: [INFO:nfa_dm_api.cc(102)] NFA_Enable
06-12 09:09:52.015 17963 17983 I libnfc_nci: [INFO:nfa_sys_main.cc(77)] NFA got event 0x0100
06-12 09:09:52.015 17963 17983 I libnfc_nci: [INFO:nfa_dm_main.cc(121)] event: NFA_DM_API_ENABLE_EVT (0x00)
06-12 09:09:52.015 17963 17983 I libnfc_nci: [INFO:nfa_dm_act.cc(433)] nfa_dm_enable
06-12 09:09:52.015 17963 17981 I libnfc_nci: [INFO:gki_ulinux.cc(89)] gki_task_entry task_id=4, thread_id=787d5064f0/787d5064f0, pCond/pMutex=0x0/0x0
06-12 09:09:52.015 17963 17981 I libnfc_nci: [INFO:NfcAdaptation.cc(393)] NfcAdaptation::NFCA_TASK: enter
06-12 09:09:52.015 17963 17981 I libnfc_nci: [INFO:gki_ulinux.cc(450)] GKI_run enter
06-12 09:09:52.015 17963 17981 I libnfc_nci: [INFO:gki_ulinux.cc(460)] Start/Stop GKI_timer_update_registered!
06-12 09:09:52.016 17963 17981 I libnfc_nci: [INFO:gki_ulinux.cc(479)] GKI_run, run_cond(0x787dc466d8)=1
06-12 09:09:52.017 17963 17983 I libnfc_nci: [INFO:nfc_main.cc(664)] NFC_Enable
06-12 09:09:52.018 17963 17983 I libnfc_nci: [INFO:nfc_main.cc(326)] nfc_set_state 0 (NONE)->1 (W4_HAL_OPEN)
06-12 09:09:52.018 17963 17983 I libnfc_nci: [INFO:NfcAdaptation.cc(513)] NfcAdaptation::HalOpen
06-12 09:09:52.018 285 285 D android.hardware.nfc@1.1-impl: Nfc::open_1_1(): enter
06-12 09:09:52.018 285 285 D android.hardware.nfc@1.1-impl: Nfc::open(): enter
06-12 09:09:52.019 285 285 D NxpHal : phNxpNci_MinOpen(): enter
06-12 09:09:52.019 285 285 E : readConfig Cannot open config file /etc/libnfc-brcm.conf
06-12 09:09:52.019 285 285 D : readNxpTransitConfig-Enter..Reading /data/vendor/nfc/libnfc-nxpTransit.conf
06-12 09:09:52.019 285 285 E : readConfig Cannot open config file /data/vendor/nfc/libnfc-nxpTransit.conf
06-12 09:09:52.019 285 285 D : readNxpRFConfig-Enter..Reading /system/vendor/libnfc-nxp_RF.conf
06-12 09:09:52.019 285 285 E : readConfig Cannot open config file /system/vendor/libnfc-nxp_RF.conf
06-12 09:09:52.019 285 285 D NxpHal : nfc_debug_enabled : 1
06-12 09:09:52.019 285 285 D NxpExtns: find found NXPLOG_NCIHAL_LOGLEVEL=(0x3)
06-12 09:09:52.019 285 285 D NxpExtns: find found NXPLOG_EXTNS_LOGLEVEL=(0x3)
06-12 09:09:52.019 285 285 D NxpExtns: find found NXPLOG_TML_LOGLEVEL=(0x3)
06-12 09:09:52.019 285 285 D NxpExtns: find found NXPLOG_FWDNLD_LOGLEVEL=(0x3)
06-12 09:09:52.019 285 285 D NxpExtns: find found NXPLOG_NCIX_LOGLEVEL=(0x3)
06-12 09:09:52.019 285 285 D NxpExtns: find found NXPLOG_NCIR_LOGLEVEL=(0x3)
06-12 09:09:52.019 285 285 D : phNxpLog_InitializeLogLevel: global =1, Fwdnld =3, extns =3, hal =3, tml =3, ncir =3, ncix =3
06-12 09:09:52.019 285 285 D NxpHal : Entering phNxpNciHal_init_monitor
06-12 09:09:52.019 285 285 D NxpHal : Returning with SUCCESS
06-12 09:09:52.019 285 285 D EseHalClient: EseAdaptation::Initialize: enter
06-12 09:09:52.019 285 285 D EseHalClient: EseAdaptation::InitializeHalDeviceContext: enter
06-12 09:09:52.019 285 285 D EseHalClient: EseAdaptation::InitializeHalDeviceContext: INxpEse::tryGetService()
06-12 09:09:52.020 244 244 W hwservicemanager: getTransport: Cannot find entry vendor.nxp.nxpese@1.0::INxpEse/default in either framework or device manifest.
06-12 09:09:52.020 285 285 D EseHalClient: EseAdaptation::InitializeHalDeviceContext: Failed to retrieve the NXP ESE HAL!
06-12 09:09:52.020 285 285 D EseHalClient: EseAdaptation::InitializeHalDeviceContext: exit
06-12 09:09:52.020 285 285 D EseHalClient: EseAdaptation::Initialize: exit
06-12 09:09:52.020 285 285 D NxpExtns: find found NXP_NFC_DEV_NODE=/dev/pn544
06-12 09:09:52.020 285 285 D NxpTml : Opening port=/dev/pn544
06-12 09:09:52.020 285 285 D NxpTml : phTmlNfc_i2c_reset(), VEN level 0
06-12 09:09:52.020 285 285 E NxpTml : phTmlNfc_i2c_reset :failed errno = 0x16
06-12 09:09:52.031 285 285 D NxpTml : phTmlNfc_i2c_reset(), VEN level 1
06-12 09:09:52.031 285 285 E NxpTml : phTmlNfc_i2c_reset :failed errno = 0x16
06-12 09:09:52.031 285 285 D : sem_timedwait() succeeded
06-12 09:09:52.031 285 17986 D NxpTml : PN54X - Tml Reader Thread Started................
06-12 09:09:52.031 285 17986 D NxpTml : PN54X - Read requested.....
06-12 09:09:52.031 285 17986 D NxpTml : PN54X - Invoking I2C Read.....
06-12 09:09:52.031 285 17989 D NxpHal : thread started
06-12 09:09:52.032 285 17987 D NxpTml : PN54X - Tml Writer Thread Started................
06-12 09:09:52.032 285 17987 D NxpTml : PN54X - Tml Writer Thread Running................
06-12 09:09:52.032 285 17987 D NxpTml : PN54X - Write requested.....
06-12 09:09:52.032 285 17987 D NxpTml : PN54X - Invoking I2C Write.....
06-12 09:09:52.033 285 17986 E NxpTml : _i2c_read() [hdr] errno : 6
06-12 09:09:52.033 285 17986 E NxpTml : PN54X - Error in I2C Read.....
06-12 09:09:52.034 285 17987 D NxpNciX : len = 4 => 20000100
06-12 09:09:52.034 285 17987 D NxpTml : PN54X - I2C Write successful.....
06-12 09:09:52.034 285 17987 D NxpTml : PN54X - Posting Fresh Write message.....
06-12 09:09:52.034 285 17987 D NxpTml : PN54X - Tml Writer Thread Running................
06-12 09:09:52.034 285 17989 D NxpHal : write successful status = 0x0
06-12 09:09:52.034 285 285 D NxpHal : Response timer started
06-12 09:09:52.034 285 285 D NxpHal : Waiting after ext cmd sent
06-12 09:09:52.063 285 17986 D NxpTml : PN54X - Read requested.....
06-12 09:09:52.063 285 17986 D NxpTml : PN54X - Invoking I2C Read.....
06-12 09:09:52.066 285 17986 D NxpTml : PN54X - I2C Read successful.....len = 6
06-12 09:09:52.066 285 17986 D NxpTml : PN54X - Posting read message.....
06-12 09:09:52.066 285 17986 D NxpNciR : len = 6 <= 400003001100
06-12 09:09:52.066 285 17989 D NxpHal : read successful status = 0x0
06-12 09:09:52.066 285 17989 D NxpHal : CORE_RESET_RSP NCI1.0
06-12 09:09:52.066 285 285 D NxpHal : Response timer stopped
06-12 09:09:52.066 285 285 E NxpHal : nxpncihal_ctrl.ext_cb_data.status 0x0
06-12 09:09:52.066 285 285 D NxpHal : Checking response
06-12 09:09:52.066 285 285 D : sem_timedwait() succeeded
06-12 09:09:52.066 285 17986 D NxpTml : PN54X - Read requested.....
06-12 09:09:52.066 285 17986 D NxpTml : PN54X - Invoking I2C Read.....
06-12 09:09:52.066 285 17987 D NxpTml : PN54X - Write requested.....
06-12 09:09:52.066 285 17987 D NxpTml : PN54X - Invoking I2C Write.....
06-12 09:09:52.067 285 17986 E NxpTml : _i2c_read() [hdr] errno : 6
06-12 09:09:52.067 285 17986 E NxpTml : PN54X - Error in I2C Read.....
06-12 09:09:52.069 285 17987 D NxpNciX : len = 3 => 200100
06-12 09:09:52.069 285 17987 D NxpTml : PN54X - I2C Write successful.....
06-12 09:09:52.069 285 17987 D NxpTml : PN54X - Posting Fresh Write message.....
06-12 09:09:52.069 285 17987 D NxpTml : PN54X - Tml Writer Thread Running................
06-12 09:09:52.069 285 17989 D NxpHal : write successful status = 0x0
06-12 09:09:52.069 285 285 D NxpHal : Response timer started
06-12 09:09:52.069 285 285 D NxpHal : Waiting after ext cmd sent
06-12 09:09:52.097 285 17986 D NxpTml : PN54X - Read requested.....
06-12 09:09:52.098 285 17986 D NxpTml : PN54X - Invoking I2C Read.....
06-12 09:09:52.102 285 17986 D NxpTml : PN54X - I2C Read successful.....len = 28
06-12 09:09:52.102 285 17986 D NxpTml : PN54X - Posting read message.....
06-12 09:09:52.102 285 17986 D NxpNciR : len = 28 <= 40011900031E030008000102038081828302D002FF020004881001A0
06-12 09:09:52.103 285 17989 D NxpHal : read successful status = 0x0
06-12 09:09:52.103 285 17989 D NxpHal : CORE_INIT_RSP NCI1.0 received !
06-12 09:09:52.103 285 17989 D NxpHal : NxpNci> FW Version: 10.1.a0
06-12 09:09:52.103 285 17989 D NxpHal : CORE_INIT_RSP 1 received !
06-12 09:09:52.103 285 17989 D : getChipType HwVersion : 0x88
06-12 09:09:52.103 285 17989 D : getChipType NxpNci > Product : PN80T
06-12 09:09:52.103 285 17989 D NxpHal : NFC_GetFeatureList ()chipType = 8
06-12 09:09:52.103 285 285 D NxpHal : Response timer stopped
06-12 09:09:52.103 285 285 E NxpHal : nxpncihal_ctrl.ext_cb_data.status 0x0
06-12 09:09:52.103 285 285 D NxpHal : Checking response
06-12 09:09:52.103 285 285 D NxpHal : phNxpNciHal_CheckFwRegFlashRequired() : enter
06-12 09:09:52.103 285 285 D NxpFwDnld: Allocating Mem for Dnld Context..
06-12 09:09:52.103 285 285 D NxpExtns: find found NXP_FW_NAME=libpn547_fw.so
06-12 09:09:52.103 285 285 D NxpFwDnld: @@@/system/vendor/lib/libpn547_fw.so
06-12 09:09:52.103 285 285 E NxpFwDnld: NULL handler : unable to load the library file, specify correct path
06-12 09:09:52.103 285 285 E NxpFwDnld: FW Image Length - ImageInfoLen 0
06-12 09:09:52.103 285 285 E NxpFwDnld: FW Image Info Pointer - pImageInfo 0x0
06-12 09:09:52.103 285 285 E NxpFwDnld: Image extraction Failed - invalid imginfo or imginfolen!!
06-12 09:09:52.103 285 285 E NxpFwDnld: Error loading libpn5xx_fw.so !!!
06-12 09:09:52.103 285 285 E NxpHal : FW version of the libpn5xx.so binary = 0x0
06-12 09:09:52.103 285 285 E NxpHal : FW version found on the device = 0x1001a0
06-12 09:09:52.103 285 285 D NxpHal : FW update not required
06-12 09:09:52.103 285 17986 D NxpTml : PN54X - Read requested.....
06-12 09:09:52.103 285 285 E NxpFwDnld: Freeing Mem for Dnld Context..
06-12 09:09:52.103 285 17986 D NxpTml : PN54X - Invoking I2C Read.....
06-12 09:09:52.103 285 285 D NxpHal : phNxpNciHal_CheckFwRegFlashRequired() : exit - status = ff
06-12 09:09:52.103 285 285 D NxpHal : phNxpNciHal_MinOpen(): exit
06-12 09:09:52.103 285 285 E NxpHal : phNxpNciHal_open Done.
06-12 09:09:52.103 285 285 E NxpHal : phNxpNciHal_open Exit.
06-12 09:09:52.103 285 285 D android.hardware.nfc@1.1-impl: Nfc::open(): exit
06-12 09:09:52.104 17963 17984 I libnfc_nci: [INFO:nfc_main.cc(568)] nfc_main_hal_cback event: HAL_NFC_OPEN_CPLT_EVT(0x0), status=0
06-12 09:09:52.104 17963 17983 I libnfc_nci: [INFO:nfc_task.cc(358)] NFC_TASK got NFC_TASK_EVT_TRANSPORT_READY.
06-12 09:09:52.104 17963 17983 I libnfc_nci: [INFO:nfc_main.cc(326)] nfc_set_state 1 (W4_HAL_OPEN)->2 (CORE_INIT)
06-12 09:09:52.104 17963 17983 I libnfc_nci: [INFO:NfcAdaptation.cc(583)] NfcAdaptation::HalWrite
06-12 09:09:52.104 285 285 D NxpExtns: find found MIFARE_READER_ENABLE=(0x1)
06-12 09:09:52.104 285 285 D : sem_timedwait() succeeded
06-12 09:09:52.104 285 17987 D NxpTml : PN54X - Write requested.....
06-12 09:09:52.104 285 17987 D NxpTml : PN54X - Invoking I2C Write.....
06-12 09:09:52.106 285 17987 D NxpNciX : len = 4 => 20000101
06-12 09:09:52.106 285 17987 D NxpTml : PN54X - I2C Write successful.....
06-12 09:09:52.106 285 17987 D NxpTml : PN54X - Posting Fresh Write message.....
06-12 09:09:52.106 285 17987 D NxpTml : PN54X - Tml Writer Thread Running................
06-12 09:09:52.106 285 17986 E NxpTml : _i2c_read() [hdr] errno : 6
06-12 09:09:52.106 285 17986 E NxpTml : PN54X - Error in I2C Read.....
06-12 09:09:52.106 285 17989 D NxpHal : write successful status = 0x0
06-12 09:09:52.136 285 17986 D NxpTml : PN54X - Read requested.....
06-12 09:09:52.136 285 17986 D NxpTml : PN54X - Invoking I2C Read.....
06-12 09:09:52.142 285 17986 D NxpTml : PN54X - I2C Read successful.....len = 6
06-12 09:09:52.142 285 17986 D NxpTml : PN54X - Posting read message.....
06-12 09:09:52.143 285 17986 D NxpNciR : len = 6 <= 400003001101
06-12 09:09:52.143 285 17989 D NxpHal : read successful status = 0x0
06-12 09:09:52.143 285 17989 D NxpHal : CORE_RESET_RSP NCI1.0
06-12 09:09:52.143 17963 17983 I libnfc_nci: [INFO:nfc_ncif.cc(383)] NFC received rsp gid:0
06-12 09:09:52.144 17963 17983 I libnfc_nci: [INFO:nci_hrcv.cc(62)] nci_proc_core_rsp opcode:0x0
06-12 09:09:52.144 17963 17983 I libnfc_nci: [INFO:nfc_ncif.cc(1365)] CORE_RESET_RSP len :0x3
06-12 09:09:52.144 17963 17983 I libnfc_nci: [INFO:NfcAdaptation.cc(583)] NfcAdaptation::HalWrite
06-12 09:09:52.144 285 285 D NxpExtns: find found MIFARE_READER_ENABLE=(0x1)
06-12 09:09:52.144 285 285 D : sem_timedwait() succeeded
06-12 09:09:52.144 285 17987 D NxpTml : PN54X - Write requested.....
06-12 09:09:52.144 285 17987 D NxpTml : PN54X - Invoking I2C Write.....
06-12 09:09:52.146 285 17986 D NxpTml : PN54X - Read requested.....
06-12 09:09:52.146 285 17986 D NxpTml : PN54X - Invoking I2C Read.....
06-12 09:09:52.146 285 17987 D NxpNciX : len = 3 => 200100
06-12 09:09:52.146 285 17987 D NxpTml : PN54X - I2C Write successful.....
06-12 09:09:52.146 285 17987 D NxpTml : PN54X - Posting Fresh Write message.....
06-12 09:09:52.146 285 17987 D NxpTml : PN54X - Tml Writer Thread Running................
06-12 09:09:52.146 285 17989 D NxpHal : write successful status = 0x0
06-12 09:09:52.152 285 17986 D NxpTml : PN54X - I2C Read successful.....len = 28
06-12 09:09:52.153 285 17986 D NxpTml : PN54X - Posting read message.....
06-12 09:09:52.153 285 17986 D NxpNciR : len = 28 <= 40011900031E030008000102038081828302D002FF020004881001A0
06-12 09:09:52.153 285 17989 D NxpHal : read successful status = 0x0
06-12 09:09:52.154 285 17989 D NxpHal : CORE_INIT_RSP NCI1.0 received !
06-12 09:09:52.154 285 17989 D NxpHal : NxpNci> FW Version: 10.1.a0
06-12 09:09:52.154 285 17989 D NxpHal : CORE_INIT_RSP 1 received !
06-12 09:09:52.154 17963 17983 I libnfc_nci: [INFO:nfc_ncif.cc(383)] NFC received rsp gid:0
06-12 09:09:52.154 17963 17983 I libnfc_nci: [INFO:nci_hrcv.cc(62)] nci_proc_core_rsp opcode:0x1
06-12 09:09:52.154 17963 17983 I libnfc_nci: [INFO:nfc_ncif.cc(1421)] scbr support: 0x1
06-12 09:09:52.154 17963 17983 I libnfc_nci: [INFO:nfc_main.cc(326)] nfc_set_state 2 (CORE_INIT)->3 (W4_POST_INIT_CPLT)
06-12 09:09:52.154 17963 17983 I libnfc_nci: [INFO:NfcAdaptation.cc(601)] NfcAdaptation::HalCoreInitialized
06-12 09:09:52.155 285 285 D NxpHal : phNxpNciHal_core_initialized::p_core_init_rsp_params : 64
06-12 09:09:52.155 285 285 D NxpExtns: find found NXP_ACT_PROP_EXTN=/
06-12 09:09:52.155 285 17986 D NxpTml : PN54X - Read requested.....
06-12 09:09:52.155 285 285 D : sem_timedwait() succeeded
06-12 09:09:52.155 285 17986 D NxpTml : PN54X - Invoking I2C Read.....
06-12 09:09:52.155 285 17987 D NxpTml : PN54X - Write requested.....
06-12 09:09:52.155 285 17987 D NxpTml : PN54X - Invoking I2C Write.....
06-12 09:09:52.157 285 17986 E NxpTml : _i2c_read() [hdr] errno : 6
06-12 09:09:52.157 285 17986 E NxpTml : PN54X - Error in I2C Read.....
06-12 09:09:52.157 285 17987 D NxpNciX : len = 3 => 2F0200
06-12 09:09:52.157 285 17987 D NxpTml : PN54X - I2C Write successful.....
06-12 09:09:52.157 285 17987 D NxpTml : PN54X - Posting Fresh Write message.....
06-12 09:09:52.158 285 17989 D NxpHal : write successful status = 0x0
06-12 09:09:52.158 285 285 D NxpHal : Response timer started
06-12 09:09:52.158 285 285 D NxpHal : Waiting after ext cmd sent
06-12 09:09:52.158 285 17987 D NxpTml : PN54X - Tml Writer Thread Running................
06-12 09:09:52.187 285 17986 D NxpTml : PN54X - Read requested.....
06-12 09:09:52.187 285 17986 D NxpTml : PN54X - Invoking I2C Read.....
06-12 09:09:52.190 285 17986 D NxpTml : PN54X - I2C Read successful.....len = 8
06-12 09:09:52.190 285 17986 D NxpTml : PN54X - Posting read message.....
06-12 09:09:52.191 285 17986 D NxpNciR : len = 8 <= 4F02050000009F97
06-12 09:09:52.191 285 17989 D NxpHal : read successful status = 0x0
06-12 09:09:52.191 285 285 D NxpHal : Response timer stopped
06-12 09:09:52.191 285 285 E NxpHal : nxpncihal_ctrl.ext_cb_data.status 0x0
06-12 09:09:52.191 285 285 D NxpHal : Checking response
06-12 09:09:52.191 285 285 D : sem_timedwait() succeeded
06-12 09:09:52.191 285 17987 D NxpTml : PN54X - Write requested.....
06-12 09:09:52.192 285 17986 D NxpTml : PN54X - Read requested.....
06-12 09:09:52.192 285 17986 D NxpTml : PN54X - Invoking I2C Read.....
06-12 09:09:52.192 285 17987 D NxpTml : PN54X - Invoking I2C Write.....
06-12 09:09:52.195 285 17987 D NxpNciX : len = 8 => 20020501A0070103
06-12 09:09:52.195 285 17987 D NxpTml : PN54X - I2C Write successful.....
06-12 09:09:52.195 285 17987 D NxpTml : PN54X - Posting Fresh Write message.....
06-12 09:09:52.195 285 17989 D NxpHal : write successful status = 0x0
06-12 09:09:52.195 285 285 D NxpHal : Response timer started
06-12 09:09:52.195 285 285 D NxpHal : Waiting after ext cmd sent
06-12 09:09:52.195 285 17987 D NxpTml : PN54X - Tml Writer Thread Running................
06-12 09:09:52.196 285 17986 E NxpTml : _i2c_read() [hdr] errno : 6
06-12 09:09:52.197 285 17986 E NxpTml : PN54X - Error in I2C Read.....
06-12 09:09:52.227 285 17986 D NxpTml : PN54X - Read requested.....
06-12 09:09:52.227 285 17986 D NxpTml : PN54X - Invoking I2C Read.....
06-12 09:09:52.232 285 17986 D NxpTml : PN54X - I2C Read successful.....len = 5
06-12 09:09:52.232 285 17986 D NxpTml : PN54X - Posting read message.....
06-12 09:09:52.232 285 17986 D NxpNciR : len = 5 <= 4002020000
06-12 09:09:52.233 285 17989 D NxpHal : read successful status = 0x0
06-12 09:09:52.233 285 17989 D NxpHal : phNxpNciHal_print_res_status: response status =STATUS_OK
06-12 09:09:52.233 285 285 D NxpHal : Response timer stopped
06-12 09:09:52.233 285 285 E NxpHal : nxpncihal_ctrl.ext_cb_data.status 0x0
06-12 09:09:52.233 285 285 D NxpHal : Checking response
06-12 09:09:52.233 285 285 E NxpHal : NAME_NXP_SVDD_SYNC_OFF_DELAY failed
06-12 09:09:52.233 285 285 D NxpHal : Timeout value
06-12 09:09:52.233 285 285 E : isModified Unable to open file '/data/vendor/nfc/libnfc-nxpConfigState.bin' - assuming modified
06-12 09:09:52.233 285 285 D NxpHal : Timeout value - 1
06-12 09:09:52.233 285 285 D NxpHal : request_EEPROM Enter request_type : 0x02, request_mode : 0x01, bufflen : 0x04
06-12 09:09:52.233 285 285 D : sem_timedwait() succeeded
06-12 09:09:52.233 285 17987 D NxpTml : PN54X - Write requested.....
06-12 09:09:52.233 285 17987 D NxpTml : PN54X - Invoking I2C Write.....
06-12 09:09:52.236 285 17987 D NxpNciX : len = 6 => 20030301A0FC
06-12 09:09:52.236 285 17987 D NxpTml : PN54X - I2C Write successful.....
06-12 09:09:52.236 285 17987 D NxpTml : PN54X - Posting Fresh Write message.....
06-12 09:09:52.237 285 17986 D NxpTml : PN54X - Read requested.....
06-12 09:09:52.237 285 17987 D NxpTml : PN54X - Tml Writer Thread Running................
06-12 09:09:52.237 285 17989 D NxpHal : write successful status = 0x0
06-12 09:09:52.237 285 285 D NxpHal : Response timer started
06-12 09:09:52.237 285 285 D NxpHal : Waiting after ext cmd sent
06-12 09:09:52.238 285 17986 D NxpTml : PN54X - Invoking I2C Read.....
06-12 09:09:52.242 285 17986 D NxpTml : PN54X - I2C Read successful.....len = 8
06-12 09:09:52.242 285 17986 D NxpTml : PN54X - Posting read message.....
06-12 09:09:52.244 285 17986 D NxpNciR : len = 8 <= 4003050901A0FC00
06-12 09:09:52.245 285 17989 D NxpHal : read successful status = 0x0
06-12 09:09:52.245 285 17989 D NxpHal : phNxpNciHal_print_res_status: response status =STATUS_INVALID_PARAM
06-12 09:09:52.245 285 285 D NxpHal : Response timer stopped
06-12 09:09:52.245 285 285 E NxpHal : nxpncihal_ctrl.ext_cb_data.status 0x0
06-12 09:09:52.245 285 285 D NxpHal : Checking response
06-12 09:09:52.245 285 285 E : failed to get requested memory address
06-12 09:09:52.245 285 285 E : isModified Unable to open file '/data/vendor/nfc/libnfc-nxpConfigState.bin' - assuming modified
06-12 09:09:52.245 285 285 D NxpHal : fw_download_success : 0x00 SetConfigAlways flag : 0x00
06-12 09:09:52.245 285 285 E : isModified Unable to open file '/data/vendor/nfc/libnfc-nxpConfigState.bin' - assuming modified
06-12 09:09:52.245 285 285 D NxpExtns: find found NXP_SYS_CLK_SRC_SEL=(0x1)
06-12 09:09:52.245 285 285 D NxpExtns: find found NXP_SYS_CLK_FREQ_SEL=(0x0)
06-12 09:09:52.245 285 285 D NxpExtns: find found NXP_SYS_CLOCK_TO_CFG=(0x1)
06-12 09:09:52.245 285 285 D NxpFwDnld: gphNxpNciHal_fw_IoctlCtx.bClkSrcVal = 0x1
06-12 09:09:52.245 285 285 D NxpFwDnld: gphNxpNciHal_fw_IoctlCtx.bClkFreqVal = 0x0
06-12 09:09:52.245 285 285 D NxpFwDnld: gphNxpNciHal_fw_IoctlCtx.bClkFreqVal = 0x1
06-12 09:09:52.245 285 285 E NxpFwDnld: Clock frequency value is wrong in config file, setting it as default
06-12 09:09:52.245 285 285 D : sem_timedwait() succeeded
06-12 09:09:52.245 285 17987 D NxpTml : PN54X - Write requested.....
06-12 09:09:52.245 285 17987 D NxpTml : PN54X - Invoking I2C Write.....
06-12 09:09:52.249 285 17987 D NxpNciX : len = 10 => 20030703A002A003A004
06-12 09:09:52.249 285 17987 D NxpTml : PN54X - I2C Write successful.....
06-12 09:09:52.249 285 17987 D NxpTml : PN54X - Posting Fresh Write message.....
06-12 09:09:52.249 285 17987 D NxpTml : PN54X - Tml Writer Thread Running................
06-12 09:09:52.249 285 17989 D NxpHal : write successful status = 0x0
06-12 09:09:52.249 285 285 D NxpHal : Response timer started
06-12 09:09:52.249 285 285 D NxpHal : Waiting after ext cmd sent
06-12 09:09:52.250 285 17986 D NxpTml : PN54X - Read requested.....
06-12 09:09:52.250 285 17986 D NxpTml : PN54X - Invoking I2C Read.....
06-12 09:09:52.255 285 17986 D NxpTml : PN54X - I2C Read successful.....len = 17
06-12 09:09:52.255 285 17986 D NxpTml : PN54X - Posting read message.....
06-12 09:09:52.255 285 17986 D NxpNciR : len = 17 <= 40030E0003A0020101A0030108A0040101
06-12 09:09:52.255 285 17989 D NxpHal : read successful status = 0x0
06-12 09:09:52.255 285 17989 D NxpHal : phNxpNciHal_print_res_status: response status =STATUS_OK
06-12 09:09:52.256 285 285 D NxpHal : Response timer stopped
06-12 09:09:52.256 285 285 E NxpHal : nxpncihal_ctrl.ext_cb_data.status 0x0
06-12 09:09:52.256 285 285 D NxpHal : Checking response
06-12 09:09:52.256 285 285 D NxpHal : Setting Clock Source and Frequency
06-12 09:09:52.256 285 285 D NxpExtns: find found NXP_SYS_CLK_SRC_SEL=(0x1)
06-12 09:09:52.256 285 285 D NxpExtns: find found NXP_SYS_CLK_FREQ_SEL=(0x0)
06-12 09:09:52.256 285 285 D NxpHal : phNxpNciHal_txNfccClockSetCmd : clock source = 1, frequency = 0
06-12 09:09:52.256 285 285 D : sem_timedwait() succeeded
06-12 09:09:52.256 285 17987 D NxpTml : PN54X - Write requested.....
06-12 09:09:52.256 285 17987 D NxpTml : PN54X - Invoking I2C Write.....
06-12 09:09:52.257 285 17986 D NxpTml : PN54X - Read requested.....
06-12 09:09:52.258 285 17987 D NxpNciX : len = 8 => 20020501A0030108
06-12 09:09:52.258 285 17987 D NxpTml : PN54X - I2C Write successful.....
06-12 09:09:52.258 285 17987 D NxpTml : PN54X - Posting Fresh Write message.....
06-12 09:09:52.258 285 17987 D NxpTml : PN54X - Tml Writer Thread Running................
06-12 09:09:52.258 285 17989 D NxpHal : write successful status = 0x0
06-12 09:09:52.259 285 285 D NxpHal : Response timer started
06-12 09:09:52.259 285 285 D NxpHal : Waiting after ext cmd sent
Hi,All:
this issue had solved,it was casued by HW issue. IRQ always high.
thanks!
I had gone through the Application note. drivers are built for pn544. Then in device tree , I have to assign either pn544 or pn7150. I s this below driver is suitable for PN7150 Chip. Please confirm it.
GitHub - NXPNFCLinux/nxp-pn5xx: NXP's NFC Open Source Kernel mode driver
You can refer this :
https://www.nxp.com/docs/en/application-note/AN11697.pdf
In 3.1.2.3, there is example for device tree setting
for kernel driver in PN7150 porting you are using which one among pn544 or p547 or pn548. Kindly suggest the part number
For details, please read https://www.nxp.com/docs/en/application-note/AN11690.pdf
You may get some hints from here:
NxpTml: _i2c_write() errno : b · Issue #69 · NXPNFCLinux/linux_libnfc-nci · GitHub