www.ti.com
3.2.7 DWT
The DWT provides watchpoints, data tracing, and system profiling for the processor. A full DWT contains
four comparators that can be configured as any of the following:
•
A hardware watchpoint
•
An ETM trigger
•
A PC sampler event trigger
•
A data address sampler event trigger
The first comparator, DWT_COMP0, can also compare against the clock cycle counter, CYCCNT. The
second comparator, DWT_COMP1, can be used as a data comparator.
A reduced DWT contains one comparator that can be used as a watchpoint or as a trigger. A reduced
DWT does not support data matching.
The DWT contains counters for the following:
•
Clock cycles (CYCCNT)
•
Folded instructions
•
Load store unit (LSU) operations
•
Sleep cycles
•
CPI (that is, all instruction cycles except for the first cycle)
•
Interrupt overhead
The DWT generates PC samples at defined intervals and interrupt event information. The DWT can also
provide periodic requests for protocol synchronization to the ITM and the TPIU.
SWCU117C – February 2015 – Revised September 2015
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Functional Description
225
Cortex-M3 Peripherals