Skip to main content
Associate III
September 6, 2024
Solved

How to get interrupt handler generated by CubeMX?

  • September 6, 2024
  • 2 replies
  • 1573 views

Hi guys

I want to generate a time base by a general purpose timer interrupt (TIM6) on a F334 with low level library. I do not know why, I get init functions fine but no interrupt request handler is generated, nowhere.
It should be very simple, I thought, but I did nothing with STM32 for a longer time. I remember to did this (and more...) with old HAL library years ago, but even though if I select HAL in advanced settigs, I get nothing better.

 

I use the last firmware package version (CubeMX says its version 1.11.5) and tried many things before, including that here:
https://community.st.com/t5/stm32cubemx-mcus/how-to-generate-callback-functions-in-stm32cubemx/td-p/130320

So I come up here, maybe someone else know what is going wrong here? I attach the cubemx file, maybe somebody can ivestigate what I've forgotten?

Best answer by White_Fox

After posting this, I found the irq handler in the stm32f3xx.it file. Ok, problem is solved (I hope).

2 replies

White_FoxAuthorBest answer
Associate III
September 6, 2024

After posting this, I found the irq handler in the stm32f3xx.it file. Ok, problem is solved (I hope).

TDK
Super User
September 6, 2024

If you know the name of a function, you can use Search -> File... to find out where it is.

"If you feel a post has answered your question, please click ""Accept as Solution""."
White_FoxAuthor
Associate III
September 6, 2024

Yes, this is in fact my biggest problem during using the ll library.

I had started with assembler an avrs many years ago, no problem with understanding the programming manual, even though it is a huge bunch.

 

But knowing the right function names is a challenge, even though you have the low layer description read and do not exactly know what you are looking for. But I think I will get it...even I will maybe have to come back multiple times here. A lot of experienced people seems to be here.