SPRUIM2H May 2020 – October 2023 AM2431 , AM2432 , AM2434 , AM6411 , AM6412 , AM6421 , AM6422 , AM6441 , AM6442
Some device pads have debounce logic. The following MCU_CTRL_MMR0 registers are used to configure the debounce period:
The CTRLMMR_MCU_DBOUNCE_CFG1 register contains the debounce period for pads with PADCONFIGx[13-11] DEBOUNCE_SEL fields set to 1h. The CTRLMMR_MCU_DBOUNCE_CFG2 register contains the debounce period for pads with PADCONFIGx[13-11] DEBOUNCE_SEL fields set to 2h and so on. The CTRLMMR_MCU_DBOUNCE_CFG6 register contains the debounce period for pads with PADCONFIGx[13-11] DEBOUNCE_SEL fields set to 6h.
The debounce logic is not associated with all signals that can be multiplexed on a pad. Only certain signals can use it.
For information about each signal that has associated debounce logic, see the device Datasheet.
For information about the PADCONFIGx registers, see Section 5.1.2.3.1.1 and Section 5.1.1.3.1.1.
Table 5-544 shows the debounce period values to load in the CTRLMMR_MCU_DBOUNCE_CFGx[5-0] DB_CFG field.
The debounce clock selection should happen before the consumer of the debounced signals is enabled as the clock multiplexers for the debounce logic are NOT glitch-free.
CTRLMMR_MCU_DBOUNCE_CFGx[5-0] DB_CFG Decimal Value | GPIO Case (32.768 kHz(1)) | EQEP Case (25 MHz(1)) | CTRLMMR_MCU_DBOUNCE_CFGx[5-0] DB_CFG Decimal Value | GPIO Case (25 MHz(1)) | EQEP Case (250 MHz(1)) | |
---|---|---|---|---|---|---|
Delay[ms] | Delay[µs] | Delay[µs] | Delay[ns] | |||
0 | bypassed | bypassed | 32 | 0.04 | 4 | |
1 | 1.95 | 2.56 | 33 | 0.08 | 8 | |
2 | 2.93 | 3.84 | 34 | 0.12 | 12 | |
3 | 3.91 | 5.12 | 35 | 0.16 | 16 | |
4 | 4.88 | 6.40 | 36 | 0.20 | 20 | |
5 | 5.86 | 7.68 | 37 | 0.24 | 24 | |
6 | 6.84 | 8.96 | 38 | 0.28 | 28 | |
7 | 7.81 | 10.24 | 39 | 0.32 | 32 | |
8 | 8.79 | 11.52 | 40 | 0.36 | 36 | |
9 | 9.77 | 12.80 | 41 | 0.40 | 40 | |
10 | 10.74 | 14.08 | 42 | 0.44 | 44 | |
11 | 11.72 | 15.36 | 43 | 0.48 | 48 | |
12 | 12.7 | 16.64 | 44 | 0.52 | 52 | |
13 | 13.67 | 17.92 | 45 | 0.56 | 56 | |
14 | 14.65 | 19.20 | 46 | 0.60 | 60 | |
15 | 15.63 | 20.48 | 47 | 0.64 | 64 | |
16 | 16.6 | 21.76 | 48 | 0.68 | 68 | |
17 | 17.58 | 23.04 | 49 | 0.72 | 72 | |
18 | 18.55 | 24.32 | 50 | 0.76 | 76 | |
19 | 19.53 | 25.60 | 51 | 0.80 | 80 | |
20 | 20.51 | 26.88 | 52 | 0.84 | 84 | |
21 | 21.48 | 28.16 | 53 | 0.88 | 88 | |
Delay [ms] | Delay[µs] | Delay[µs] | Delay[µs] | |||
22 | 15.63 | 20.48 | 54 | 20.48 | 2.048 | |
23 | 31.25 | 40.96 | 55 | 40.96 | 4.096 | |
24 | 46.88 | 61.44 | 56 | 61.44 | 6.144 | |
25 | 62.5 | 81.92 | 57 | 81.92 | 8.192 | |
26 | 78.13 | 102.40 | 58 | 102.40 | 10.24 | |
27 | 93.75 | 122.88 | 59 | 122.88 | 12.288 | |
28 | 109.38 | 143.36 | 60 | 143.36 | 14.336 | |
29 | 125 | 163.84 | 61 | 163.84 | 16.384 | |
30 | 140.63 | 184.32 | 62 | 184.32 | 18.432 | |
31 | 156.25 | 204.80 | 63 | 204.80 | 20.48 |