STOP2, STM32L4, DWT issue
I'm using STOP2 with ChibIOS in an extremely low-power device. ChibiOS uses the DWT counter in a few places to have a predictable delay -- a relatively common "trick". The issue is that when entering STOP2 the debug unit is powered down which, if ...