How to assgin TIM1 as time base source on cube MX for STM32MP157C-DK2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-01-30 7:59 AM
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
- Labels:
-
FreeRTOS
-
STM32CubeMX
-
STM32MP15 Lines
-
TIM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-01-30 9:07 AM
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
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-01-31 2:45 AM
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 Bousquet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-01-31 6:09 AM
Hi @ABous.1
You have to remove Clock Source setting in TIM1. Set it back to Disable.
Olivier
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.
