Stm32 Delay. h in your project, call DWT_Init() and then Working with STM32 and Ti