Resolved! Only allow ONE type of interrupt to interrupt critical functions in my code?
I am working with the STM32L4 and STM32F4 microcontrollers and compiling with CubeIDE and System Workbench. I use no realtime operating system, I have no semaphores/mutexes, but I'm allowed to write code in C++. Every once in a while I want to execut...