Other Parts Discussed in Thread: CC2541, BLE-STACK
Hi,
let me first describe the issue,
For one of the application we are using CC2540 BLE based module (HM10). the module comes with pre-loaded stack and it communicate using "AT command", Module has defined as tow mode of operation, Active and sleep mode (PWRM1 and PWRM0). in sleep mode device goes into power save and consume less current (~40-80uA average current) and it is available for any Bluetooth to connect. once connected it goes into active mode and consumes ~8mA. as our application will be in idle 99% of the time so and it is battery operated so we have configure module in PWRM0 mode (power save mode) when not connected. Module works fine but some time it doesnt show up for connection during this module use to consume ~1-2uA, and when given power-ON reset it comes to active and then sleep mode and available for connection. During debugging we found out that there is timer who puts device in deep sleep mode (~1-2uA) current time to time and during this time device is not available for connection. i am unable to get rid of this mode of operation.
Our requirement is to keep the device in sleep mode (40-80uA) in all the time and make him available for connection when needed. and never go in deep sleep mode (1-2uA current consumption)
so my questions is: is there any way we can disable this mode (deep sleep ~1-2uA) of operation, if yes then how
How to disable the the time which puts the device in deep sleep (power save mode - 1-2uA) and let the device be always in sleep mode (40-80uA) when not connected.
Feel free to ask if you need any further information.
Kamil