I am working on simple_trx_with_ack example using SSv5, Flex 18.104.22.168.
I have made an implementation for a network, and lastly I want to put the board to sleep for 5 seconds after doing what it should do. I have installed the necessary components and I have no error but I observe that the board does not enter sleep mode.
I changed the position of sl_power_manager_sleep(); and put it in app_process.c in the place of the code where I have to enter sleep mode.
I followed the example in https://docs.silabs.com/gecko-platform/latest/service/api/group-sleeptimer
using the sleep timer, and at the place I want to enter sleep mode the code is :
I had to change the position of sl_power_manager_sleep(); because in main.c many times during my implementation I am not in either rx or tx mode so the board will sleep automatically and I don't want that.
Can anyone help?
Thanks in advance,
AFAIK the default flex example may don't enter EM2.
You can ask this question in proprietary forum and I think they could give you a quick answer.