Skip to main content
LScag.1
Associate
April 3, 2020
Solved

FreertOs for M4 core embed in STM32MP157C-DK2

  • April 3, 2020
  • 4 replies
  • 1930 views

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

This topic has been closed for replies.
Best answer by Olivier GALLIEN

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

4 replies

TDK
Super User
April 3, 2020

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
LScag.1Author
Associate
April 4, 2020

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

Olivier GALLIEN
Olivier GALLIENBest answer
Technical Moderator
April 6, 2020

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
LScag.1Author
Associate
April 6, 2020

Hi @Community member​  and @TDK​ ,

thanks for your support! It seems working!