Other Parts Discussed in Thread: CC2530, Z-STACK
Hello forum,
I'm facing problems to discover the reset reason on CC2530 using SLEEPSTA register.
Regardless the reset is a power on, a watchdog reset or na external reset, the register SLEEPSTA always indicate external reset (value 01 on the corresponding bits).
I use the following macro of Z-Stack Home Automation 1.2.0:
/* Reset reason for reset indication */
#define ResetReason() ((SLEEPSTA >> 3) & 0x03)
Can anyone give ideas about the problem?
Best regards,
Jose