cancel
Showing results for 
Search instead for 
Did you mean: 

How to get interrupt handler generated by CubeMX?

White_Fox
Associate III

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?

1 ACCEPTED SOLUTION

Accepted Solutions
White_Fox
Associate III

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

View solution in original post

3 REPLIES 3
White_Fox
Associate III

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

TDK
Guru

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".

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.