AnsweredAssumed Answered

HTIM UIF clear from capture callback

Question asked by Paolo Chiantore on Jun 19, 2017
Latest reply on Jun 20, 2017 by Paolo Chiantore

On a STM32 F777 I am configuring TIM4 to read Hall sensors (HAL_TIMEx_HallSensor_Init).

I have enabled capture interrupt and in capture callback  (which is triggered at every Hall event as expected) I am clearing UIF flag (i.e. timer overflow flag).

The issue is that everytime the capture callback is triggered UIF flag is always found to be one even if I measure Hall events faster than timer overflow (which is expected every 32.7 ms). With reference to the attached figure: code never breaks in line 282.

Any hint appreciated.

Attachments

Outcomes