Hi, I found the following bug: the gphNfcLib_Key variable are defined with a size of 6, but in the phNfcLib_Init when call the:
PH_CHECK_NFCLIB_INIT_FCT(wStatus, phKeyStore_SetKey(&gphNfcLib_Params.sKeyStore, 1, 0, 0x6, &gphNfcLib_Key, 0));
This function copy in this variable 12 bytes!.
the Solution for this is define gphNfcLib_Key with a size of 12.
Please take note,