cancel
Showing results for 
Search instead for 
Did you mean: 

Hal_init() never returns when TIM is selected (nucleo H755)

GCanc.1
Associate II

Hi Everyone!

I just received 10 STM32H755 nucleo boards to use in a project in the company I work for. However, I haven`t been able to use them.

I`m facing a problem with Hal_init(). When I select any timer as the Timebase Source Hal_init() never returns. However, when I select Systick, Hal_init() return just fine.

One more thing: I`m using the internal RC oscillator as the clock source.

Thanks a lot

Guilherme

11 REPLIES 11

E.g. FreeRTOS wants systick for itself. So the ST lib has to give way.

GCanc.1
Associate II

Ok. So just give a solution in case someone face the same problem:

It seems that it is not possible to use HSI and PLLCLK at the same time (or perhaps I have configured it wrongly). By changing the clock source to CSI RC, I was able to use the PLLCLK and my program worked fine.