Dear Kan_Li,
Thank you for replying me.
As I said before,I do this steps and example is compiled successfully,But the problem is after executing below line :
/* Run Discovery loop */
status = phacDiscLoop_Run(&sDiscLoop, PHAC_DISCLOOP_ENTRY_POINT_POLL);
===>>
/*Start the timer*/
PH_CHECK_SUCCESS_FCT(statusTmp,phhalHw_Pn5180_WaitIrq(pDataParams,PH_ON,PH_OFF,IRQ_STATUS_TIMER0_IRQ_MASK,&dwIrqStatusReg));
===>>
statusTmp = phOsal_EventPend(pDataParams->HwEventObj.EventHandle, E_OS_EVENT_OPT_PEND_SET_ANY, PHOSAL_MAX_DELAY,
(E_PH_OSAL_EVT_RF | E_PH_OSAL_EVT_ABORT), &tReceivedEvents);
MCU hangs and does not return from the function(in both FREERTOS and NULLOS mode ).
and about using latest version , the problem is there is not any update porting guide document for this library.
-------------------------------------------
EDIT:
After changing irq pin trigger from falling to rising edge, and using register level operation instead of Chip_SYSCTL_SetPinInterrupt() ,now it is works correctly.
WBR,Mahmoud.