STM32WL NMI Handler Best Practice
Hi there,
I am using the STM32WLE4C8 and I am trying to write a safe handler for the NMI interrupt. From what I can tell, the NMI interrupt is triggered by a flash double ECC error, an HSE failure, or an SRAM parity error. All of these are fairly serious and I am not sure of the best way to handle them safely.
Ideally, I would like to be able to send an RF message describing the error, but this seems unlikely as it is a complex process and the flash may be corrupt, or the TCXO dead. At a minimum, I would like to write a small log entry to flash. Is this possible? Are there other actions I should be taking alongside this?
Thanks,
Rebecca
