Resolved! STOP2 mode scrambles stack on STM32L4R9
I'm really struggling with this problem. This is my first time trying to do anything low power, so please forgive any noob mistakes. All I'm trying to do is get the hang of a simple low power program so I can apply it to a larger one. My code is here...