Hardware Description:
MKBN02A00 module based on nRF52832 SOC
Software Description
nRF SDK 15.2.0 , SoftDevice S112
Observation:
When power_manager_init() is called before fds_manager_init(). It requires 3 power cycles to initialize FDS module. For the first 2 power cycle applications stays in wait_for_fds_ready() loop.
When power_manager_init() is called after fds_manager_init(), FDS module initializes on 1st power cycle without any problem.
Question:
What could be the possible reason for such behavior? Does power_management (sleep mode) affects the "fds module initialization" status events being generated/captured for
Application Code:
Below is the sequence of initialization in the main function.
fds_manager_init(void) function
wait_for_fds_ready() function
power_management_init() calls nrf_pwr_mgmt_int()