F423 STOP mode strange behaviour (exits immediately if BASEPRI=0)
Hi, I'm trying to make my program enter STOP mode, and wake up periodically on RTC WKUP every second. The RTC part works fine, WKUP is set to 1 Hz, but the CPU won't stay in STOP mode after WFI instruction, unless the BASEPRI is nonzero. I am using F...