AnsweredAssumed Answered

STM32F3 / HRTIM1 with Fault Interrupt

Question asked by finsterbusch.florian on Oct 26, 2016
Latest reply on Oct 26, 2016 by Clive One
I'm using the HRTIM1 to control a flyback converter.
The FAULT5 input is used to stop the converter in case of an error.

Now I want to use an interrupt service routine to react to the fault immediately.
Therefore I've enabled the fault interrupt in my timer initialization:


I've also added the according interrupt handler routine:

But the interrupt handler routine is not called when the fault is triggered.
(I'm sure the fault input is working because the converter stops immediately).

I'm also unsure which HAL IRQHandler must be called to branch to the according
HAL_HRTIM_Fault5Callback() routine.

Could you please help me to setup my system to call the interrupt and the callback routine in case of the fault?