cancel
Showing results for 
Search instead for 
Did you mean: 

Timer with interruption

DYann.1
Senior II

Hello,

I've an error in the interrupt but I don't see where it can come from.

2 REPLIES 2
DYann.1
Senior II

I've an error at this line

0693W00000SvZFgQAN.pngDo you how to program this Timer in interruption please ?

Regards

Imen.D
ST Employee

Hello @DYann.1​ ,

What kind of message gives ?

Maybe it's a hardware fault ! or It's possible due to failing to clear the flag.

Check with register view if the timer is running, check the correct settings: processor, startup file,  _FLASH and _RAM file...

You may refer to the TIM examples as a start point, within STM32CubeXX MCU package relevant to the device that you are using.

Eg: STM32Cube_FW_F4_V1.27.0\Projects\STM32F4-Discovery\Examples\TIM\TIM_TimeBase\

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen