Skip to main content
Jshan.1
Associate
September 6, 2020
Question

STM32CubeMX doesn't generate IRQ handler for time base (system tick timer)

  • September 6, 2020
  • 2 replies
  • 2158 views

Hello,

I am using DISCO-F469I, and stm32CubeMX, when I finished all setup, and generate code. I found there is no systick handler in stm32f4xx_it.c, then I checked the NVIC configuration in cubemx, the time base (system tick timer) doesn't selected. however this situation doesn't happened on other MCUs, like F767, it will be selected automatically. so is it normal, or it just happen on F469?

thanks in advance.0693W000003Qr4UQAS.png

This topic has been closed for replies.

2 replies

TDK
September 6, 2020

I created a brand new project with that board with default peripherals enabled, set STM32CubeIDE as the target, disabled RTOS, and the interrupt was generated by default.

0693W000003Qr4jQAC.png

With RTOS, it says SysTick is handled by the RTOS.

0693W000003Qr4eQAC.png

"If you feel a post has answered your question, please click ""Accept as Solution""."
Jshan.1
Jshan.1Author
Associate
September 6, 2020

thanks for the reply, I tried to start a new project with default peripherals, and system tick timer did generate. but I usually clear the pinouts when I start a new project, in this case, the interrupt won't generated automatically. Right now, I can select the interruption option manually, or I use the timer as timebase source in SYS.