Posted on May 02, 2018 at 17:40The PWR_SR1 doesn't work in shutdown mode, this means that it's always 0. I suggest you to debug your code using the Standby mode in order to look at the SR1 and try to understand which sources is wakeing up your devic...