2023-06-23 07:12 AM
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.
2023-06-23 08:51 AM
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