I am not able to strobe the radio into RX mode. In IAR, I can see the RFST register change to 0x02, but the MARCSTATE is always 0x00.
I also tried going to SIDLE mode, and then switching to RX mode. But it wouldn't even go to SIDLE mode. Also tried SCAL mode. Nothing wrong with the IC. I tried using it as a receiver in smartRF studio, it works.
This is on CC2510MDK and IAR workbench.
Here's the code snippet -
CLKCON=0x80; // Xtal osc 26MHz
RFTXRXIF=0; // clear RF int Flag
RFST = 0X01; // SCAL mode
temp1 = MARCSTATE;
RFST =0X02; // Radio in Rx Mode
//while (MARCSTATE !=0x0D); //Wait or Radio to enter RX mode
temp1 = MARCSTATE;