Cortex-M0+ hangs on return
It can be frustrating when a Cortex-M0+ processor seems to hang or freeze during operation. One common situation where this occurs is when the processor hangs on return from a function call. There are several potential reasons why a Cortex-M0+ may hang on return, along with some steps you can take to debug and resolve