2025-05-19 4:12 AM
Hi to everybody.
I'm trying to create a simple program testing the anti tamper function of the STM32 serie U0.
I have the Nucleo U031, but I have tested with the U083's example (adjusted in the MCU tipe) but nothing changes, both LL and HAL. (there are different examples using LL and HAL, but only for U083 version).
Create a new HAL project using the U031 but the pressing of the blue button (connected to the PC13) doesn't work.
The new self create project is exaclty = to the example, but nothing.
Using another Nucleo such as L073 and create a new project from scratch work.
Simply, I have enabled the RTC_Tamp IRQ from NVIC, put a breakpoint in the ISR but nothing.
Where is the problem?
2025-05-19 4:25 AM
Double-check the EXTI configuration for the tamper line. Even if the NVIC interrupt is enabled, the external interrupt might not be routed correctly from the tamper event.
2025-05-19 5:11 AM
Donnow how to do it: simply enable it from CubeMX:
Nothing else to do. Or I donnow where I can add some other settings.
Moreover, why the ST example doesn't work too?