~aleteoryx/muditaos

27791518448a708e9bf08d464c1f11c516d08b9c — Maciej Gibowicz 5 years ago 232d0b4
[EGD-6331] Add cellular low power documentation

The documentation describes how to get into
and out of sleep mode for Cellular.
1 files changed, 27 insertions(+), 0 deletions(-)

M module-services/service-cellular/doc/README.md
M module-services/service-cellular/doc/README.md => module-services/service-cellular/doc/README.md +27 -0
@@ 22,3 22,30 @@ It can be request of external phone number but also emergency call request,USSD 
The logic has to recognize the request and apply proper action.

![](call_request_handling.svg)

## Cellular sleep mode

Conditions for cellular to enter sleep mode: 
* no ongoing call
* 5 seconds of inactivity in communication over UART

Conditions for cellular to exit sleep mode: 
* incoming URC
* any activity in communication via UART to the modem

Host Enables GSM Module to Enter into Power Saving Mode:
* Pull DTR and WAKEUP pins from LOW to HIGH, and trigger the module to enter into power saving mode
* Set AP_READY pin as invalid
* Disable UART clock
* CPU sentinel release block frequency request

Host Enables GSM Module to Exit from Power Saving Mode:
* Enable UART clock
* Host pulls DTR and WAKEUP pins from HIGH to LOW, and triggers module to exit from power saving mode
* Set AP_READY pin as valid

GSM Module Enables Host to Exit from Power Saving Mode
* Host receives the change of RI pin, then exits from power saving mode and enters into normal mode
* CPU sentinel block frequency decreasing below 132 MHz
* The wake-up described in the point above takes place