cancel
Showing results for 
Search instead for 
Did you mean: 

FreertOs for M4 core embed in STM32MP157C-DK2

LScag.1
Associate II

Hello All,

I make an introduction, it is my first experience in the stm32 world, but I've been working with Linux embedded, MPUs MCUs etc.. for several years.

In this days I'm starting to understand and try the M4 core in DK2 evk, following the wiki i'm able to use it. Now I would like to create a new project from zero, but I have a small problem.

If I start new project in CubeMX, I can enable freertos but if I try to generete code i have the follow alert:

0693W000000VJl8QAG.png

Ok, i can try to change the TIMEBASE Source but is not possible (seems in use):

0693W000000VJlNQAW.png

Can someone help me?

Best regards to all

Luigi

1 ACCEPTED SOLUTION

Accepted Solutions
Olivier GALLIEN
ST Employee

Hi @LScag.1​ 

You have to assign a TIMx to M4 context but without enabling it.

It will be available as time source then.

Hope it help

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

4 REPLIES 4
TDK
Guru

You probably need to enable TIMx in the "Timers" peripheral section before you can use it as a time source.

If you feel a post has answered your question, please click "Accept as Solution".
LScag.1
Associate II

No, I tried, but the "Timebase source" remains blocked.

Olivier GALLIEN
ST Employee

Hi @LScag.1​ 

You have to assign a TIMx to M4 context but without enabling it.

It will be available as time source then.

Hope it help

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
LScag.1
Associate II

Hi @Community member​  and @TDK​ ,

thanks for your support! It seems working!