2024-11-13 07:10 AM - last edited on 2024-11-13 09:56 AM by Pavel A.
Hi,
I have the same problem with two different projects, one using STM32U575 and the other using STM32L432KC (on Nucleo board).
If I change NVIC config (I've tried changing preemption priority) and click generate code, some ISRs are no more generated. Depending on the NVIC configuration for code generation/HAL code, the project won't compile or compile but as soon as the interrupt is received, the processor will jump to default handler where it gets stuck.
Closing and reopening the IDE, then regenerating code fixes the problem.
Attached the IOC for U575.
IDE: 1.16.1
CubeMX: STM32CubeMX 6.12.1
FW: 1.6.0 for U5, 1.18.1 for L4
BR