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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

201 Views
onlineit
Contributor II

在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支持一下,谢谢!

Tags (1)
0 Kudos
1 Reply

114 Views
Kan_Li
NXP TechSupport
NXP TechSupport

I don't have a ISO15693 sample card to verify this, Did this issue only happen  to this type of card? Please kindly clarify.


Have a great day,
Kan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos