after power on the PN512 i got slave select high .
spi pins slve select is high before sending data after it will low.
mosi gives pulses after transmitting some data.
miso also same as it is.
now my doubt is on PN512 blue board interrupt pin will not firing if interrupt will fire as i attached below log the while loop will terminate and NFC pn512 detect the nfc tags.
please give me solution for this one .
thank you
while(1)
{
/* Enter Critical Section */
phPlatform_EnterCriticalSection();
///////////////////this if condition is not satisfying in my code ///////////////////////////
if ((((options & E_OS_EVENT_OPT_PEND_SET_ALL) && (((*((uint32_t *)(*eventHandle))) & FlagsToWait) == FlagsToWait))
|| ((!(options & E_OS_EVENT_OPT_PEND_SET_ALL)) && ((*((uint32_t *)(*eventHandle))) & FlagsToWait)))
|| (gbWaitTimedOut))
{
/* Exit Critical Section. */
// phPlatform_ExitCriticalSection();
if (gbWaitTimedOut != 0x01)
{
status = PH_ERR_SUCCESS;
}
break;
}
/* Exit Critical Section. */
phPlatform_ExitCriticalSection();
/* Wait for interrupts/events to occur */
phPlatform_Sleep();
}
this code is downloaded from nxp semiconductor please give me a solution for this one.in this condition as i check the RF event is occurs but i am not sure is this RF event problem or PN512 blue board problem please help me.
ComIrqReg register.
i am interfacing sama5d36 xplained board with NFC PN512 blue board i am not able to get the proper result .The RF event was not occurs please help me.