[bug] STM32L100 systick misconfigured when using RCC LL driver
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-11-23 2:56 AM
CubeMX systick initialization on STM32L100RC (DISCOVERY board) is invalid when used with RCC LL library.
Steps to reproduce:
- open CubeMX and select STM32L100 DISCOVERY board
- init peripherals with default state
- project settings:
- advanced mode
- .c/.h pair output code selected
- LL RCC driver selected
- Tested with KEIL project or Makefile + GCC
- Toggle led with 1sec delay, check time with HAL_GetTick()
If I add: HAL_InitTick(TICK_INT_PRIORITY); just after /* USER CODE BEGIN 2 */
in main.c main(), systick is configured properly.
Labels:
0 REPLIES 0
