Other Parts Discussed in Thread: Z-STACK, CC2430
Hi :
Now , I try to use CC2430 with Z-stack to wake up from PM3
My step is
1. \Texas Instruments\ZStack-1.4.3-1.2.1\Projects\zstack\Tools\CC2430DB\f8wConfig.cfg
Set DRFD_RCVC_ALWAYS_ON FALSE
2 IAR的Options->C/C++Compiler->Defined symbols
Add “POWER_SAVING”
3. Options->Linker->Linker command line
f8w2430.xcl ------> f8w2430pm.xcl
and then
I set Power Mode to PM3 by HAL_SLEEP_SET_POWER_MODE(CC2430_PM3); in HAL_KEY_SW_1 event
and wake up to PM0 by SLEEP &= 0xFC ; in HAL_KEY_SW_2 event
Now :
CC2430's Power mode switch to PM3 is OK
but CC2430 doesn't wake up form PM3 to PM0
is any setting wrong in my Setting or my code ?
Neo