i am trying to do rf communication between two nodes(msp430f5438a+cc2520).
i have tried using the code for smartrf05eb+cc2520 and tried to port on msp430f5438experimeter board+cc2520.
i have made changes with respect to port and pins..
no errors are coming but i am stucking at the following code
static uint8 halRfWaitRadioReady(void)
{
uint8 i;
// Wait for XOSC stable to be announced on the MISO pin
i= 100;
CC2520_CSN_OPIN(0);
while (i>0 && !CC2520_MISO_IPIN) {
halMcuWaitUs(10);
--i;
}
CC2520_CSN_OPIN(1);
return i>0 ? SUCCESS : FAILED;
}
it is always returning failed.it should not enter while loop.but it is entering.
RF is not initiating
what can i do to stabilize the XSOC.
thanks in advance
pratap y