Hello,
I have a problem and no more ideas how to fix it Maybe some facts at the beginning:
- MbedOS version: 5.15.1
- MCU: NRF52840
- QUECTEL BG96
I’ve tried to put MCU to deep sleep. If I call:
CellularDevice::get_default_instance()->get_file_handle().enable_input(false);
CellularDevice::get_default_instance()->get_file_handle().enable_output(false);
before connecting to network (i.e. mcc_platform_init_connection
) then MCU goes to sleep (and ofc there is no connection with network).
Unfortunately after connecting to network there is no longer possibility to sleep. I’ve tried to turn on modem and call enable_output/input
, as well as directly calling disable_rx_irq
in BG96’ UARTSerial object (I’ve made it available in the interface). I can see in logs, that modem has disconnected and turned off, but MCU not longer sleep.
Is there something missing in my implementation? I’ve tried to find anything related to this issue, but only found enable_input/output
reference.
Thanks
Igor