cancel
Showing results for 
Search instead for 
Did you mean: 

Systick Delay

ajimathew
Associate III

I was trying to make a hardware delay using STM32 general purpose timers or Systick timer, But I did not get any source (using HAL Library). How to achieve in STM32L4P5-DK.

1 REPLY 1

How is the STM32L4P5-DK materially different from other L4 with respect to Systick or TIM.

Systick works the same on all Cortex-M3/M4 parts, add some counts or functionality to the System Handler. I think current builds they want to migrate you to using CubeMX/IDE to wizard up code rather than functional examples of every usage, on every board.

Look more broadly at ALL the examples to find one if you need it. Most everything is using Systick as a 1ms ticker, brought up via HAL_Init() code. See MSP files.

STM32Cube_FW_L4_V1.17.2\Projects\STM32L4R9I-EVAL\Examples\TIM\TIM_PWMOutput

 

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..