Question
How to enable FPU Exception interrupt handler in STM32H7
Hello,
I try to use the FPU exception interrupt handler in STM32H743ZIT but the FPU interrupt is not coming.
I initialized the interrupt in this way:
HAL_NVIC_SetPriority(FPU_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(FPU_IRQn);Than provoke a division by zero FPU Exception.
static float test = 0;
test = 1.0f/test;In the debugger I can see that the in the FPSCR register the DZC bit is now 1. But the FPU interrupt is not pending. When I manually set the interrupt to pending the handler is called.
In the ACTLR register the FPEXCODIS is 0 so exception outputs should be enabled.
So were else I need to enable the FPU exceptions?
Thanks
