AnsweredAssumed Answered

Presence check failed. Tag lost

Question asked by If Zhao on Nov 21, 2018
Latest reply on Nov 25, 2018 by jimmychan

hi guys,

 

I'm using pn548C2 and here a problem is bothering me. While NFC cards is well placed close to NFCC RF, but it fail to do presence check. The key part of log goes as below:

The problem is read back message is not good, which is bold. But I don't know why. Do any one of you have any idea about the RX message?

 

11-22 09:23:03.788 1096 1870 D BrcmNfcJni: nativeNfcTag_doPresenceCheck
11-22 09:23:03.788 1096 1870 D BrcmNfcJni: nativeNfcTag_doPresenceCheck: handle=0
11-22 09:23:03.788 1096 1870 I BrcmNfcNfa: NFA_RwPresenceCheck
11-22 09:23:03.788 1096 1870 E BrcmNfcNfa: GKI_send_event 3 4
11-22 09:23:03.789 1096 1870 E BrcmNfcNfa: GKI_send_event 3 4 done
11-22 09:23:03.789 1096 1265 I BrcmNfcNfa: NFA got event 0x0600
11-22 09:23:03.789 1096 1265 I BrcmNfcNfa: nfa_rw_handle_event event: NFA_RW_OP_REQUEST_EVT (0x600), flags: 00000021
11-22 09:23:03.789 1096 1265 I BrcmNfcNfa: nfa_rw_handle_op_req: op=0x03
11-22 09:23:03.789 1096 1265 I BrcmNfcNfa: nfa_sys_ptim_stop_timer d68d8b38
11-22 09:23:03.789 1096 1265 I BrcmNfcNfa: ptim timer stop
11-22 09:23:03.789 1096 1265 I BrcmNfcNfa: Stopped presence check timer (if started)
11-22 09:23:03.789 1096 1265 I BrcmNfcNfa: nfa_rw_presence_check protocol=3
11-22 09:23:03.789 1096 1265 I BrcmNfcNfa: RW_T3tPresenceCheck
11-22 09:23:03.789 1096 1265 I BrcmNfcNfa: RW_T3tPresenceCheck idle
11-22 09:23:03.789 1096 1265 I BrcmNfcNfa: nfc_ncif_send_cmd()
11-22 09:23:03.789 1096 1265 I BrcmNfcNfa: nfc_ncif_check_cmd_queue : Writing to HAL...
11-22 09:23:03.789 1096 1265 D NfcAdaptation: NfcAdaptation::HalWrite
11-22 09:23:03.790 1096 1265 D NxpExtns: const nxp::CNfcParam *nxp::CNfcConfig::find(const char *) const found MIFARE_READER_ENABLE=(0x1)
11-22 09:23:03.790 1096 1287 D NxpTml : PN54X - Write requested.....
11-22 09:23:03.790 1096 1287 D NxpTml : PN54X - Invoking I2C Write.....
11-22 09:23:03.791 1096 1287 D NxpNciX : len = 7 > 210804FFFF0100
11-22 09:23:03.791 1096 1287 D NxpTml : PN54X - I2C Write successful.....
11-22 09:23:03.791 1096 1287 D NxpTml : PN54X - Posting Fresh Write message.....
11-22 09:23:03.791 1096 1287 D NxpTml : PN54X - Tml Writer Thread Running................
11-22 09:23:03.792 1096 1289 D NxpHal : write successful status = 0x0
11-22 09:23:03.792 1096 1265 I BrcmNfcNfa: final status=0
11-22 09:23:03.792 1096 1265 I BrcmNfcNfa: presence_check_timeout=500
11-22 09:23:03.792 1096 1265 I BrcmNfcNfa: nfa_sys_ptim_start_timer d68d8b38
11-22 09:23:03.792 1096 1265 I BrcmNfcNfa: ptim timer start
11-22 09:23:03.794 1096 1286 D NxpTml : PN54X - I2C Read successful.....len = 4
11-22 09:23:03.794 1096 1286 D NxpTml : PN54X - Posting read message.....
11-22 09:23:03.794 1096 1286 D NxpNciR : len = 4 > 41080100
11-22 09:23:03.795 1096 1289 D NxpHal : read successful status = 0x0
11-22 09:23:03.795 1096 1289 D NfcAdaptation: NfcAdaptation::HalDeviceContextDataCallback: len=4
11-22 09:23:03.795 1096 1289 E BrcmNfcNfa: GKI_send_event 3 1
11-22 09:23:03.795 1096 1289 E BrcmNfcNfa: GKI_send_event 3 1 done
11-22 09:23:03.795 1096 1286 D NxpTml : PN54X - Read requested.....
11-22 09:23:03.795 1096 1265 I BrcmNfcNfa: NFC received rsp gid:1
11-22 09:23:03.795 1096 1286 D NxpTml : PN54X - Invoking I2C Read.....
11-22 09:23:03.799 1096 1286 D NxpTml : PN54X - I2C Read successful.....len = 5
11-22 09:23:03.799 1096 1286 D NxpTml : PN54X - Posting read message.....
11-22 09:23:03.799 1096 1286 D NxpNciR : len = 5 > 6108020300
11-22 09:23:03.799 1096 1289 D NxpHal : read successful status = 0x0
11-22 09:23:03.799 1096 1289 D NfcAdaptation: NfcAdaptation::HalDeviceContextDataCallback: len=5
11-22 09:23:03.799 1096 1289 E BrcmNfcNfa: GKI_send_event 3 1
11-22 09:23:03.799 1096 1289 E BrcmNfcNfa: GKI_send_event 3 1 done
11-22 09:23:03.799 1096 1265 I BrcmNfcNfa: NFC received ntf gid:1
11-22 09:23:03.799 1096 1286 D NxpTml : PN54X - Read requested.....
11-22 09:23:03.800 1096 1286 D NxpTml : PN54X - Invoking I2C Read.....
11-22 09:23:03.800 1096 1265 I BrcmNfcNfa: t3t stat2=3
11-22 09:23:03.800 1096 1265 I BrcmNfcNfa: nfa_rw_cback: event=0x65
11-22 09:23:03.800 1096 1265 I BrcmNfcNfa: nfa_rw_handle_t3t_evt evt=101,stat=3
11-22 09:23:03.800 1096 1265 I BrcmNfcNfa: nfa_sys_ptim_stop_timer d68d8b38
11-22 09:23:03.800 1096 1265 I BrcmNfcNfa: ptim timer stop
11-22 09:23:03.800 1096 1265 I BrcmNfcNfa: Stopped presence check timer (if started)
11-22 09:23:03.800 1096 1265 I BrcmNfcNfa: nfa_dm_act_conn_cback_notify (): event:0xF
11-22 09:23:03.800 1096 1265 D BrcmNfcJni: nfaConnectionCallback: Connection Event = 15
11-22 09:23:03.800 1096 1265 D BrcmNfcJni: nfaConnectionCallback: NFA_PRESENCE_CHECK_EVT
11-22 09:23:03.800 1096 1265 I BrcmNfcNfa: Presence check failed. Deactivating...
11-22 09:23:03.800 1096 1870 D BrcmNfcJni: nativeNfcTag_doPresenceCheck: tag absent
11-22 09:23:03.800 1096 1265 I BrcmNfcNfa: nfa_dm_rf_deactivate () deactivate_type:0x3
11-22 09:23:03.800 1096 1870 D NativeNfcTag: Tag lost, restarting polling loop
11-22 09:23:03.800 1096 1265 I BrcmNfcNfa: nfa_dm_disc_sm_execute (): state: POLL_ACTIVE (4), event: DEACTIVATE_CMD(6) disc_flags: 0x1
11-22 09:23:03.800 1096 1870 D BrcmNfcJni: nativeNfcTag_doDisconnect: enter
11-22 09:23:03.800 1096 1265 I BrcmNfcNfa: NFC_Deactivate 5 (OPEN) deactivate_type:3
11-22 09:23:03.800 1096 1870 I BrcmNfcNfa: NFA_Deactivate (): sleep_mode:0
11-22 09:23:03.801 1096 1870 E BrcmNfcNfa: GKI_send_event 4
11-22 09:23:03.801 1096 1265 I BrcmNfcNfa: GKI_send_event 4
11-22 09:23:03.801 1096 1265 I BrcmNfcNfa: GKI_send_event 3 4 done
11-22 09:23:03.801 1096 1870 E BrcmNfcNfa: GKI_send_event 3 4 done
11-22 09:23:03.801 1096 1265 I BrcmNfcNfa: nfc_ncif_send_cmd()
11-22 09:23:03.801 1096 1870 D BrcmNfcJni: nativeNfcTag_doDisconnect: exit
11-22 09:23:03.801 1096 1265 I BrcmNfcNfa: nfc_ncif_check_cmd_queue : Writing to HAL...
11-22 09:23:03.801 1096 1870 D NfcService: applyRouting - enter force = false mScreenState = 3

Outcomes