SDHS Registers
608
SLAU367P – October 2012 – Revised April 2020
Copyright © 2012–2020, Texas Instruments Incorporated
Sigma-Delta High Speed (SDHS)
22.5.11 SDHSCTL2 Register (Offset = 14h) [reset = 0h]
SDHSCTL2 is shown in
and described in
Return to
SDHS Control Register 2
When SDHSCTL3.TRGEN = 1 or SDHSCTL5.SDHS_LOCK = 1, this register is locked. In that case, an
attempt to update this registers will be ignored.
Figure 22-37. SDHSCTL2 Register
15
14
13
12
11
10
9
8
DTCOFF
WINCMPEN
Reserved
SMPCTLOFF
SMPSZ
R/W-0h
R/W-0h
R-0h
R/W-0h
R/W-0h
7
6
5
4
3
2
1
0
SMPSZ
R/W-0h
Table 22-22. SDHSCTL2 Register Field Descriptions
Bit
Field
Type
Reset
Description
15
DTCOFF
R/W
0h
Data Transfer Controller (DTC) Off.
Reset type: PUC
0h (R/W) = DTC enabled. The DTC automatically transfers the data
from the SDHSDT register to the address specified in the
SDHSDTCDA register.
1h (R/W) = DTC disabled. The data in the SDHSDT register must be
read by CPU, otherwise the overflow interrupt flag (SDHSRIS.OVF)
will eventually be asserted.
14
WINCMPEN
R/W
0h
Window Comparator Enable.
Note:
- For the samples skipped by SDHSCTL0.INTDLY, window
comparison is not applied.
- Window comparison is performed with the latest conversion result
before it is pushed to the internal buffer.
- Window comparison is still functional when the internal buffer is full.
Reset type: PUC
0h (R/W) = Window Comparator is disabled
1h (R/W) = Window Comparator is enabled
13-11
Reserved
R
0h
Reserved. Always reads as 0.
10
SMPCTLOFF
R/W
0h
Disable sampling size counting.
Reset type: PUC
0h (R/W) = Total sampling size is determined by SDHSCTL2.SMPSZ
bits. The SDHS automatically stops data conversion.
1h (R/W) = SDHSCTL2.SMPSZ bits are ignored. Conversion does
not stop until the trigger source selected by TRGSRC bits is
deasserted.
9-0
SMPSZ
R/W
0h
Total Sample Size. Total Sample Size = SMPSZ + 1.
Note that SDHSCTL2.SMPSZ includes the samples skipped by
SDHSCTL0.INTDLY:
- The total number of samples SDHS generates = SMPSZ + 1.
- The number of samples SDHS generates via SDHSDT register =
SMPSZ - 1.
Care must be taken when writing a value to SDHSCTL2.SMPSZ. If
SDHSCTL2.SMPSZ - SDHSCTL0. 1 <= 0, then no data
output to SDHSDT register.
Reset type: PUC