sweesineng / STM32_DWT

STM32 DWT Interval and Delay in micro/millisecond

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DWT Delay in millis or microsecond

DWT, Debug Watchpoint and Trace which usually used for system debugging and tracking

The purpose of this utilities is to achived precision millis and micro second timer with DWT

This utilities provide millis and micro second delay and interval measurement

Delay in HAL/LL is not accurate and there is always additional 1ms delay(refer to below)

There is some discussion on this issue in ST community forum : Here

Delay using HAL_Delay:

Delay using LL_mDelay:

Delay using DwtDelay_ms:

About

STM32 DWT Interval and Delay in micro/millisecond


Languages

Language:C 100.0%