STM32 FreeRTOS clock issue
Device and Software Configuration Details:
- MCU Full Part Number: STM32L010RB
- Development Environment:
- Utilizing Visual Studio with the STM32 VS Code Extension.
- Configured the development setup using STM32CubeCLT, which includes STM32CubeMX, toolchain, debugger, and flashing tools.
- Employed STM32CubeMX to set up the Nucleo-L010RB board for FreeRTOS under CMSIS_V2 specification. Notable adjustments include:
- Changed the clock source to TIM22 to align with best practices in RTOS environments, avoiding the use of sys_clk.
- Generated the base code with default configurations.
Challenges Encountered:
We are experiencing challenges with the OS clock/timers — specifically, calls to osDelay() result in the application hanging. Similar issues are observed when attempting to create and use timers.
Inquiry:
Could there be additional configurations required for the system clock or OS clock source to ensure proper functionality within a FreeRTOS context? Any guidance or suggestions in this regard would be immensely valuable.
I would greatly appreciate any help on the issue.
Thanks and Regards
Savita Dhiman
