Skip to main content
DYann.1
Senior II
September 16, 2022
Question

Timer with interruption

  • September 16, 2022
  • 2 replies
  • 538 views

Hello,

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

This topic has been closed for replies.

2 replies

DYann.1
DYann.1Author
Senior II
September 16, 2022

I've an error at this line

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

Regards

Technical Moderator
September 19, 2022

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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks