RM0440 Rev 4 929/2126
RM0440 High-resolution timer (HRTIM)
1083
Fault blanking and event counting
The fault inputs can be temporary disabled to blank spurious fault events. The blanking
sources are listed in the Table 235 below.
A fault counter also allows to discard multiple spurious fault events and define an
acceptance criteria.
The FLTxCNT[3:0] bitfield selects the FAULTx counter threshold. A fault is considered valid
when the number of events is equal to the FLTxCNT[3:0] value.
This FLTxRSTM selects the FAULTx counter reset mode
• 0: fault counter hardware reset on reset / roll-over event, as per the Table 236 below.
• 1: fault counter reset on each reset / roll-over event only if no event occurs during last
counting period, as shown on Figure 246 below.
The fault counter can be reset by software with the FLTxCRES bit at anytime.
Table 234. Sampling rate and filter length vs FLTFxF[3:0] and clock setting
- f
FLTS
vs FLTSD[1:0] Filter length for f
HRTIM
= 170 MHz
FLTFxF[3:0] 00 01 10 11 Min Max
0001,0010,0011 f
HRTIM
f
HRTIM
f
HRTIM
f
HRTIM
f
HRTIM
, N =2
11.8 ns
f
HRTIM
, N =8
47.1 ns
0100, 0101 f
HRTIM
/2 f
HRTIM
/4 f
HRTIM
/8 f
HRTIM
/16
f
HRTIM
/2, N = 6
70.6 ns
f
HRTIM
/16, N = 8
753 ns
0110, 0111 f
HRTIM
/4 f
HRTIM
/8 f
HRTIM
/16 f
HRTIM
/32
f
HRTIM
/4, N = 6
141 ns
f
HRTIM
/32, N = 8
1.51 µs
1000, 1001 f
HRTIM
/8 f
HRTIM
/16 f
HRTIM
/32 f
HRTIM
/64
f
HRTIM
/8, N = 6
282 ns
f
HRTIM
/64, N = 8
3.01 µs
1010, 1011, 1100 f
HRTIM
/16 f
HRTIM
/32 f
HRTIM
/64 f
HRTIM
/128
f
HRTIM
/16, N = 5
471 ns
f
HRTIM
/128, N = 8
6.02 µs
1101, 1110, 1111 f
HRTIM
/32 f
HRTIM
/64 f
HRTIM
/128 f
HRTIM
/256
f
HRTIM
/32, N = 5
941 ns
f
HRTIM
/256, N = 8
12.05 µs
Table 235. Fault input blanking events
- FLTxBLKS = 0, reset-aligned window FLTxBLKS = 1 moving window
Fault input Blanking window start Blanking window end Blanking window start Blanking window end
hrtim_flt1[4:1] Timer A reset/roll-over Timer A CMP3 event Timer A CMP4 event Timer A CMP3 event
hrtim_flt2[4:1] Timer B reset/roll-over Timer B CMP3 event Timer B CMP4 event Timer B CMP3 event
hrtim_flt3[4:1] Timer C reset/roll-over Timer C CMP3 event Timer C CMP4 event Timer C CMP3 event
hrtim_flt4[4:1] Timer D reset/roll-over Timer D CMP3 event Timer D CMP4 event Timer D CMP3 event
hrtim_flt5[4:1] Timer E reset/roll-over Timer E CMP3 event Timer E CMP4 event Timer E CMP3 event
hrtim_flt6[4:1] Timer F reset/roll-over Timer F CMP3 event Timer F CMP4 event Timer F CMP3 event