Skip to content

STM32 DWT Interval and Delay in micro/millisecond

Notifications You must be signed in to change notification settings

sweesineng/STM32_DWT

Repository files navigation

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:

Releases

No releases published

Packages

No packages published

Languages