AnsweredAssumed Answered

SW3683-v05.07.01和SW3683-v05.19.00 PN7462AU_ex_phExCcid 例程中的phExCcid_Check_Presence_TypeV_Card问题?

Question asked by xia shuang on Dec 10, 2018
Latest reply on Dec 13, 2018 by Kan_Li

在phExCcid_Check_Presence_TypeV_Card函数中加入开关天线射频就可以每次检测到卡存在,如果不开关射频,每次检测卡片是否存在都失败,请问是什么原因?还有什么不开关射频就可以检测ISO15693卡片存在的方法?

代码如下:

/**
* @brief Function to Check the Presence of Type V Card
* @param psDiscLoopParams - Parameters for the TypeV Card
* @return PH_ERR_SUCCESS on Success
*/
static phStatus_t phExCcid_Check_Presence_TypeV_Card(phacDiscLoop_Sw_DataParams_t *psDiscLoopParams)
{
static phStatus_t status = PH_ERR_FAILED;

(void)phhalHw_FieldOff(psDiscLoopParams->pHalDataParams);
phUser_Wait(5000);
(void)phhalHw_FieldOn(psDiscLoopParams->pHalDataParams);
phUser_Wait(5000);


status = phpalSli15693_Inventory(
psDiscLoopParams->pPalSli15693DataParams,
psDiscLoopParams->sTypeVTargetInfo.bFlag | PHPAL_SLI15693_FLAG_NBSLOTS | PHPAL_SLI15693_FLAG_INVENTORY,
0,
NULL,
0,
&psDiscLoopParams->sTypeVTargetInfo.aTypeV[0].bDsfid,
psDiscLoopParams->sTypeVTargetInfo.aTypeV[0].aUid
);

status = status & PH_ERR_MASK;

return status;
}

 

这个地方卡了很久,一直得不到解决,请NXP支持一下,谢谢!

Outcomes