Hello everybody,
i am working on a projekt based on the openthread example lped_bm. I am using the nxp OM15076-3 board with the router application as connection point and a slef made device with the AW-CU484 Module(Based on k32w061).
I can establish a conection between the two devices and transmit data sucessfully.
The power down mode is enabled by the following defines:
/* Enable low power module */
#define gLpmIncluded_d 1
/* Disable BLE support in low power module */
#define gSupportBle 0
#if gLpmIncluded_d
#define cPWR_UsePowerDownMode TRUE
#define cPWR_FullPowerDownMode TRUE
#endif
I have the problem that the device doesn't go to the power down mode, as expected.
If I set a breakpoint in the function APP_HandleLowPowerOnIdle() in app_init.c I can see, that the low power mode is never activated by calling the PWR_EnterLowPower(). I think the reason is, that the bSleepAllowed variable is set to FALSE and is not set back to TRUE.
I searched for the functions, that act with the bSleepAllowed variable which are App_AllowDeviceToSleep() and App_DisallowDeviceToSleep(). There is no call of these functions, but the initial state of bSleepAllowed is changed and the power down mode is never activated.
Has anybody sucessfully used the lped_bm example with the power down mode?
Thanks
Micha