Hi TI engineer team,
I'm from SerialSystem distributor of TI.
My customer has problem with CC2550. It doesn't wake up after sleeping with code of CC2500. Pls help.
Below code is valid with CC2500.
/******************************************************************
* power down mode
*
*
*******************************************************************/
void RF_Sleep()
{
//change to idle
TI_CC_SPIStrobe( TI_CCxxx0_SIDLE );
TI_CC_SPIStrobe( TI_CCxxx0_SPWD );
}
/******************************************************************
* wake up from sleep
*
*******************************************************************/
void RF_Wakeup()
{
TI_CC_CSn_PxOUT &= ~TI_CC_CSn_PIN; // /CS enable
while (!(USICTL1&USIIFG));
TI_CC_CSn_PxOUT |= TI_CC_CSn_PIN; // /CS enable
//change to idle
TI_CC_SPIStrobe( TI_CCxxx0_SIDLE );
TI_CC_SPIStrobe( TI_CCxxx0_SNOP );
}