when I call the function nrfx_power_init(nrfx_power_config_t const * p_config); the program will go to HardFault_Handler
when I call the function nrfx_power_init(nrfx_power_config_t const * p_config); the program will go to HardFault_Handler
What is the error code?
There are many possible reasons:
- init already done
- incorrect NRFX_POWER_*** settings in sdk_config.h or app_config.h
- incorrect *p_config parameter passed to the nrfx_power_init() call
- etc.
Error code (and stack trace) gives you an idea, what might be wrong.
What is the error code?
There are many possible reasons:
- init already done
- incorrect NRFX_POWER_*** settings in sdk_config.h or app_config.h
- incorrect *p_config parameter passed to the nrfx_power_init() call
- etc.
Error code (and stack trace) gives you an idea, what might be wrong.
thank you for answer, I have found the reason of the problem.because I enable the clock interrupt and the power interrupt simultaneously