I am having trouble tracking down some lingering interrupt source that is waking my application up from the power_manage() command.
I am turning off bluetooth advertising (I am only a peripheral) and all application timers. I am disabling RTCs and I2C's.
I am clearing the FPU interrupt with the following:
__set_FPSCR(__get_FPSCR() & ~(FPU_EXCEPTION_MASK));
(void)__get_FPSCR();
NVIC_ClearPendingIRQ(FPU_IRQn);
Any helpful tricks on tracking down an interrupt source that could be waking me up?