Single pulse width measurement
means to validate a single waveform for time width between two programmed edges.
The time between two edges of given waveform is measured in terms of input clock
to the block. Measurement is based on the configuration of the edge type and
edge numbers.
The pulse width single
measurement and pulse width aggregation are mutually exclusive, one can do
individual edge-to-edge width check or does sum check. The software configured
values come from the same compare registers; hence, only either the individual
readings or accumulated readings are compared.
The WADI block measures the pulse
width of the signal waveform. On which edge the counters start is defined in the
SIGxCFG[SIG_POL] that can be on rising, falling, or either edge. The
SIGxCFG[EDGESPAN] defines how many edges to span to measure the width.
Figure 19-3 shows a few examples of how to measure a given pulse width. For example, if
SIGxCFG[EDGESPAN] = 0x1, the pulse width being measured is from 1 to 2. If
SIGx_CONFIG[EDGE_SPAN] = 0x2, the pulse width being measured is from 1 to
3.
Configuration to span across
more than the third edge is possible and provides flexibility for multiphase or
multilevel waveforms.