AnsweredAssumed Answered

halSleepForMillisecondsWithOptions

Question asked by baldwin.jake.001 on Jan 15, 2014
Latest reply on Jan 15, 2014 by baldwin.jake.001
I'm trying to use the following ST library function to sleep for 15ms. halSleepForMillisecondsWithOptions(15, 0x0); This appears to work but only when I start the code with the debugger. If I just flash the part, the part is periodically reset. It appears to be reset ~2 seconds which is how long the watchdog timer is. My code works great other than entering the sleep mode. It's definitely this function causing the issue.

Has anyone seen this behavior? And does anyone know what to do about it?

Outcomes