Resolved! STM32U575: GPIOx->BSRR assignment causes reset - but only when debugging
My project is using a GPIO to enable/disable a buzzer on a software timer. This boils down to a call to HAL_GPIO_WritePin(), which does GPIOx->BSRR = pinmask (0x80 in this case) to enable the buzzer. This works as expected most of the time. There ar...