2024-03-07 11:21 PM
The project uses Trustzone with a secure bootloader (based on mcuboot) and non-secure application.
The application enters STOP3 mode, waiting for interrupt, with EXTI configured on a GPIO line to trigger an interrupt.
Waking up from stop mode works perfectly, unless readout protection is enabled (tested with level 0.5 and level 1).
In the documentation or the errata I can find no relation between RDP and stop mode behaviour.
2024-03-08 01:05 AM - edited 2024-03-08 02:17 AM
Apparently EXTI is not a valid exit mode for STOP 3 mode.
In STOP 1 or STOP 2 mode the issue does not occur.
So the fact that it works when RDP is not enabled seems to be an error.
2024-03-08 05:22 PM
Hi ADepr.1,
Your post was escalated to ST Online Support Team for additional assistance.
Kind Regards
Joe WILLIAMS
STMicro Support