cancel
Showing results for 
Search instead for 
Did you mean: 

How to assgin TIM1 as time base source on cube MX for STM32MP157C-DK2

ABous.1
Associate II

Hello,

I wish use FreeRTOS with STM32MP157C. When I configure my bord on CubeMX a message pop up says I should configure SYS parameter with an others time source than sysTick. But if I configure TIM1 for example I cannot assign TIM1 in SYS section .

card

Have you any ideas to solve this problem ?

Best Regards,

Arnaud Bousquet

3 REPLIES 3
Olivier GALLIEN
ST Employee

Hi @ABous.1​ 

Normally you just have to assign TIM1 on M4 context without enabling anything else.

Then TIM1 should be available in SYS section.

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.
ABous.1
Associate II

Hello,

I try again with your recommendation but without success.

I do some screenshot of my modification in cubeMX project.

PS: My STMcubeMX version is 5.5.0.

Best regards,

Arnaud Bousquet0690X00000BxAhRQAV.png0690X00000BxAhMQAV.png0690X00000BxAhHQAV.png

Olivier GALLIEN
ST Employee

Hi @ABous.1​ 

You have to remove Clock Source setting in TIM1. Set it back to Disable.

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.