I am having hard fault handler issue in PN7462. Issue is observed in certain chips and some other are not hitting the hardfault handler ('phFlashBoot_HardFault_Handler'). I am using DoorAccess sample project for development. Issue is observed when standy is enabled only.
When tried to debug , I found that issue happens when an invalid memory access happens. This is when library calls 'phhalRf_Event_DeInit' function. When checked on working chips , I found that this API is not being called.
Can anyone help me in understanding what this API (phhalRf_Event_DeInit) is and when it is being called?
#if PHFL_PARAM_CHECK >= PH_PARAM_CHECK_SW_RESOURCE
if (gphhalRf_EventGroup == NULL)
return PH_ERR(RESOURCE_ERROR, RF);
/* Delete the Event Group */
gphhalRf_EvtLastSource = E_PH_HALRF_EVT_SRC_NONE;
gphhalRf_EvtLastDest = E_PH_HALRF_EVT_DEST_NONE;
gphhalRf_EvtDetail = E_PH_HALRF_EVT_DETAIL_SUCCESS;
Also the value of 'gphhalRf_EventGroup' is an invalid address and seems it causing the issue.
Please help me in this
Thanks in advance