HI,
I am trying to use the CC2540 to develop a pedometer with BLE function. and I need to make the mcu wakeup and sleep several times in one second to sample the 3D G-sensor. When I using the function halSleep( ) , I find that the time spend on "pre-sleep" and "wakeup" is to long ,and the current consumption is too big to match the pedometer use. I think the "pre-sleep" and "wakeup" will do something at the LL level so I can not change. but I still want to know is there any method I can use to reduce the "pre-sleep" and "wakeup" when the BLE function is disable. Maybe a new fucntion like halSleep( ) can be use to instead the old one when I have not yet start the BLE.
thanks