Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
1 year, 12 months ago.
NRF52 doesn't go to sleep
I am working on a project which uses nrf52832. Currently I am working with the nrf52_dk development board.
I want to include bonding functionality in my project and thus I am using the Security Manager Class. I am using this example https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-ble-SM/file/94021906c1e0/source/main.cpp/
But the problem is that the device doesn't go to sleep with this. It is advertising and I can pair and connect to it, but the current consumption is 2mA.
Is there anything i should change in this to get sleep mode working?