cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 How can I set the priority of a input capture interrupt (HAL_TIM_IC_CaptureCallback)?

KKase.1
Associate II

In STM32CubeIDE I can't find the setting under SystemCore->NVIC or I just don't know the name?

I have two input capture channels on TIM3. The global interrupt for TIM3 is disabled.

In particular I want to set it higher than a "EXTI line interrupt".

3 REPLIES 3

There is only one interrupt for TIM3, all interrupt sources from TIM3 trigger that one interrupt. So that's the interrupt you want to set the priority for. Maybe Cube calls it "global TIM3 interrupt", that's how it's called in the NVIC chapter of RM. The callbacks are product of Cube's default handler.

JW

KKase.1
Associate II

Okay, thanks.

It's a little bit strange that the interrupt (HAL_TIM_IC_CaptureCallback) is called but in STM32CubeIDE the global interrupt for TIM3 shows as disabled.

TDK
Guru

There's probably an explanation. Attach your IOC file if you can.

If you feel a post has answered your question, please click "Accept as Solution".