Hi,
I have a problem with wakeup from sleep mode. My application should wakeup after button is pressed and
than start scanning for other devices and connect to them.
Now it works that the device wakes up but than stays in one strange state. By debugging with IAR i receive error. as XDATA is outside of stack 0xFFFF. Maybe my settings are wrong in project.
We use external OSC, device is CC2540, sleeps in P3 mode, BLE is 1.3.1 version and IAR 8.20.2.
What would be the best procedure to achieve this requirement?
Where could I call Hal sleep now function (OSAL event, CB,...)?