SPRUIZ1B July 2023 – August 2024 TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-Q1
The following analog subsystem block diagrams show the connections between the different integrated analog modules to the device pins. These pins fall into two categories: analog module inputs/outputs and reference pins.
The reference pins, VREFHIA to VREFHIC and VREFLOA to VREFLOC, can be used to supply an external voltage reference to the associated ADCs. VREFHIA can also be used to supply the voltage reference to DAC A, and VREFHIB can be used to supply the voltage reference to DAC C. An internal voltage reference is available and connects to VREFHIA. To use the internal voltage reference on ADC B, ADC C or DAC C, connect VREFHIA to VREFHIB and/or VREFHIC externally.
The VDAC reference pin can be used to set an alternate range for DAC A and DAC C, and for the DACs inside the CMPSS modules (the CMPSS DACs are referenced to VDDA and VSSA by default). Using this pin as a reference prevents the channel from being used as an ADC input (but the ADC can be used to sample the VDAC voltage, if desired). The choice of reference is configurable per module for each CMPSS or buffered DAC; the selection is made using the module's configuration registers.
Some analog pins support digital functionality through muxed AIOs and AGPIOs. AIOs only support digital input functionality, while AGPIOs support full digital input and output functionality.
The following notes apply to all packages:
Input connections to the CMPSS modules are selectable through a programmable input mux. Figure 17-2 shows the CMPSS input connections. Table 17-1 shows the mapping of ADC input signals to CMPSS mux inputs.
CMP1 | CMP2 | CMP3 | CMP4 | CMP5 | CMP6 | CMP7 | CMP8 | CMP9 | CMP10 | CMP11 | |
---|---|---|---|---|---|---|---|---|---|---|---|
HP0 | A2 | A4 | B2 | A14 | C4 | C2 | A6 | A8 | B13 | C10 | C11 |
HP1 | A0 | B8 | B0 | B10 | B4 | C0 | B6 | A10 | C13 | C6 | C7 |
HP2 | A1 | B9 | B1 | B11 | B5 | C1 | B7 | A11 | A7 | C8 | C9 |
HP3 | A3 | A5 | TS | A15 | TS | 0.9*VREFHIA | 0.9*VREFHIB | 0.9*VREFHIC | |||
HN0 | A3 | A5 | B3 | A15 | C5 | C3 | A7 | A9 | A0 | B8 | B0 |
HN1 | A1 | A2 | B7 | B10 | B4 | C0 | B6 | A10 | B9 | C4 | C13 |
LP0 | A2 | A4 | B2 | A14 | C4 | C2 | A6 | A8 | B13 | C10 | C11 |
LP1 | A0 | B8 | B0 | B10 | B4 | C0 | B6 | A10 | C13 | C6 | C7 |
LP2 | A1 | B9 | B1 | B11 | B5 | C1 | B7 | A11 | A5 | C8 | C9 |
LP3 | B3 | C5 | C3 | A7 | A9 | 0.9*VREFHIA | 0.9*VREFHIB | 0.9*VREFHIC | |||
LN0 | A3 | A5 | B3 | A15 | C5 | C3 | A7 | A9 | A0 | B8 | B0 |
LN1 | A1 | A2 | B7 | B10 | B4 | C0 | B6 | A10 | B9 | C4 | C13 |
Signal Name | Description |
---|---|
ADCINAx, Ax | ADC A Input |
ADCINBx, Bx | ADC B Input |
ADCINCx, Cx | ADC C Input |
CMPH_POSIN | Comparator subsystem high comparator positive input |
CMPH_NEGIN | Comparator subsystem high comparator negative input |
CMPL_POSIN | Comparator subsystem low comparator positive input |
CMPL_NEGIN | Comparator subsystem low comparator negative input |
DACOUTx | Buffered DAC Output |
TEMP SENSOR, TS | Internal temperature sensor |
VDAC | Optional external reference voltage for on-chip DACs. There is a 100pF capacitor to VSSA on this pin whether used for ADC input or DAC reference that cannot be disabled. If this pin is being used as a reference for the on-chip DACs, place at least a 1µF capacitor on this pin. |
Module | Reference Option | Configured Where? | Register | Driverlib Function | Notes |
---|---|---|---|---|---|
ADC | External or Internal | Analog Subsystem | AnalogSubsysRegs.ANAREFCTL.bit. ANAREFxSEL |
ASysCtl_setAnalog ReferenceInternal, ASysCtl_setAnalog ReferenceExternal |
Internal reference only connected to ADCA. For ADCB/ADC, VREFHI pins must be externally connected to VREFHIA. |
Internal Reference 2.5V or 3.3V | Analog Subsystem | AnalogSubsysRegs.ANAREFCTL.bit. ANAREFx2P5SEL |
ASysCtl_setAnalog Reference2P5, ASysCtl_setAnalog Reference1P65 |
||
Buffered DAC | VREFHI or VDAC | DAC Module | DacxRegs. DACCTL.bit. DACREFSEL |
DAC_setReferenceVoltage | |
External or Internal | Analog Subsystem | AnalogSubsysRegs.ANAREFCTL.bit. ANAREFxSEL |
ASysCtl_setAnalog ReferenceInternal, ASysCtl_setAnalog ReferenceExternal |
Internal reference only connected to ADCA. For ADCB/ADC, VREFHI pins must be externally connected to VREFHIA. | |
CMPSS DACs | VDDA or VDAC | CMPSS Module | CmpssxRegs. COMPDACHCTL.bit.SELREF | CMPSS_COMPDACHCTL_SELREF |
Pin Name | Pins/Package | ADC | DAC | Comparator Subsystem (Mux) | AIO Input/GPIO | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
256 ZEJ | 176 PTP | 169 NMR | 100 PZP | A | B | C | High Positive | High Negative | Low Positive | Low Negative | |||
VREFHIA | M2 | 37 | K2 | 19 | |||||||||
VREFHIB | R4 | 53 | M4 | 34 | |||||||||
VREFHIC | L2 | 35 | J2 | 19 | |||||||||
VREFLOA | M1 | 33 | K1 | 16 | A18 | C18 | |||||||
VREFLOB | T4 | 50 | N4 | 32 | A19 | C19 | |||||||
VREFLOC | L1 | 32 | J1 | 16 | A20 | C20 | |||||||
Analog Group 1 | CMP1 | ||||||||||||
A1 | P2 | 42 | K3 | 24 | A1 | B19 | CMP1 (HPMXSEL=2) | CMP1 (HNMXSEL=1) | CMP1 (LPMXSEL=2) | CMP1 (LNMXSEL=1) | AIO228 | ||
A3 | N4 | 40 | H3 | 22 | A3 | B21 | CMP1 (HPMXSEL=3) | CMP1 (HNMXSEL=0) | CMP1 (LNMXSEL=0) | AIO230 | |||
Analog Group 2 | CMP1/CMP2/CMP9 | ||||||||||||
A2 | N3 | 41 | J3 | 23 | A2 | B20 | CMP1 (HPMXSEL=0) | CMP2 (HNMXSEL=1) | CMP1 (LPMXSEL=0) | CMP2 (LNMXSEL=1) | AIO229 | ||
A0 | P1 | 43 | L3 | 25 | A0, A12 |
B12 | C12 | DACA_OUT | CMP1 (HPMXSEL=1) | CMP9 (HNMXSEL=0) | CMP1 (LPMXSEL=1) | CMP9 (LNMXSEL=0) | AIO227 |
Analog Group 3 | CMP2 | ||||||||||||
A4 | M4 | 39 | H2 | 21 | A4 | B22 | CMP2 (HPMXSEL=0) | CMP2 (LPMXSEL=0) | AIO231 | ||||
Analog Group 4 | CMP2/CMP9/CMP10 | ||||||||||||
A5 | M5 | 38 | H1 | 20 | A5 | B23 | CMP2 (HPMXSEL=3) | CMP2 (HNMXSEL=0) | CMP9 (LPMXSEL=2) | CMP2 (LNMXSEL=0) | AIO232 | ||
B9 | N8 | 67 | N7 | B9 | C29 | CMP2 (HPMXSEL=2) | CMP9 (HNMXSEL=1) | CMP2 (LPMXSEL=2) | CMP9 (LNMXSEL=1) | GPIO218 | |||
B8 | P8 | 66 | M7 | B8 | C28 | CMP2 (HPMXSEL=1) | CMP10 (HNMXSEL=0) | CMP2 (LPMXSEL=1) | CMP10 (LNMXSEL=0) | GPIO217 | |||
Analog Group 5 | CMP3 | ||||||||||||
TempSensor | A13 | B18 | CMP3 (HPMXSEL=3) | ||||||||||
B2 | R3 | 48 | M3 | 30 | A26 | B2 | CMP3 (HPMXSEL=0) | CMP3 (LPMXSEL=0) | AIO235 | ||||
B1 | T3 | 47 | N3 | 29 | A25 | B1 | DACC_OUT | CMP3 (HPMXSEL=2) | CMP3 (LPMXSEL=2) | AIO234 | |||
Analog Group 6 | CMP3/CMP1/CMP11 | ||||||||||||
B3 | P3 | 49 | L4 | 31 | A27 | B3 | CMP3 (HNMXSEL=0) | CMP1 (LPMXSEL=3) | CMP3 (LNMXSEL=0) | AIO236 | |||
B0 | T2 | 46 | N2 | 28 | B0 | A24 | VDAC | CMP3 (HPMXSEL=1) | CMP11 (HNMXSEL=0) | CMP3 (LPMXSEL=1) | CMP11 (LNMXSEL=0) | AIO233 | |
Analog Group 7 | CMP4 | ||||||||||||
A14/B14/C14 | R1 | 44 | M1 | 26 | A14 | B14 | C14 | CMP4 (HPMXSEL=0) | CMP4 (LPMXSEL=0) | AIO225 | |||
A15/B15/C15 | R2 | 45 | M2 | 27 | A15 | B15 | C15 | CMP4 (HPMXSEL=3) | CMP4 (HNMXSEL=0) | CMP4 (LNMXSEL=0) | AIO226 | ||
B11 | P4 | 51 | B11 | C31 | CMP4 (HPMXSEL=2) | CMP4 (LPMXSEL=2) | AIO240 | ||||||
B10 | R7 | 61 | B10 | C30 | CMP4 (HPMXSEL=1) | CMP4 (HNMXSEL=1) | CMP4 (LPMXSEL=1) | CMP4 (LNMXSEL=1) | GPIO219 | ||||
Analog Group 8 | CMP5 | ||||||||||||
TempSensor | A13 | B18 | CPM5 (HPMXSEL=3) | ||||||||||
B5 | N7 | 65 | N6 | A29 | B5 | CMP5 (HPMXSEL=2) | CMP5 (LPMXSEL=2) | GPIO216 | |||||
B4 | P7 | 64 | M6 | A28 | B4 | CMP5 (HPMXSEL=1) | CMP5 (HNMXSEL=1) | CMP5 (LPMXSEL=1) | CMP5 (LNMXSEL=1) | GPIO215 | |||
Analog Group 9 | CMP5/CMP2/CMP10 | ||||||||||||
C5 | L6 | 28 | G6 | 12 | B29 | C5 | CMP5 (HNMXSEL=0) | CMP2 (LPMXSEL=3) | CMP5 (LNMXSEL=0) | GPIO204 | |||
C4 | M6 | 29 | H6 | 13 | B28 | C4 | CMP5 (HPMXSEL=0) | CMP10 (HNMXSEL=1) | CMP5 (LPMXSEL=0) | CMP10 (LNMXSEL=1) | GPIO205 | ||
Analog Group 10 | CMP6 | ||||||||||||
0.9*VREFHIA | B16 | C16 | CMP6 (HPMXSEL=3) | CMP6 (LPMXSEL=3) | |||||||||
C0 | H1 | 22 | F1 | 9 | B24 | C0 | CMP6 (HPMXSEL=1) | CMP6 (HNMXSEL=1) | CMP6 (LPMXSEL=1) | CMP6 (LNMXSEL=1) | GPIO199 | ||
C1 | J1 | 23 | G1 | 10 | B25 | C1 | CMP6 (HPMXSEL=2) | CMP6 (LPMXSEL=2) | GPIO200 | ||||
C2 | L4 | 31 | H4 | 15 | B26 | C2 | CMP6 (HPMXSEL=0) | CMP6 (LPMXSEL=0) | AIO237 | ||||
Analog Group 11 | CMP6/CMP3 | ||||||||||||
C3 | L5 | 30 | H5 | 14 | B27 | C3 | CMP6 (HNMXSEL=0) | CMP3 (LPMXSEL=3) | CMP6 (LNMXSEL=0) | GPIO206 | |||
Analog Group 12 | CMP7 | ||||||||||||
0.9*VREFHIB | A16 | C17 | CMP7 (HPMXSEL=3) | CMP7 (LPMXSEL=3) | |||||||||
B6 | N5 | 55 | J4 | 36 | A30 | B6 | CMP7 (HPMXSEL=1) | CMP7 (HNMXSEL=1) | CMP7 (LPMXSEL=1) | CMP7 (LNMXSEL=1) | GPIO207 | ||
A6 | N6 | 57 | J5 | 38 | A6 | CMP7 (HPMXSEL=0) | CMP7 (LPMXSEL=0) | GPIO209 | |||||
Analog Group 13 | CMP7/CMP3 | ||||||||||||
B7 | P5 | 56 | K4 | 37 | A31 | B7 | CMP7 (HPMXSEL=2) | CMP3 (HNMXSEL=1) | CMP7 (LPMXSEL=2) | CMP3 (LNMXSEL=1) | GPIO208 | ||
Analog Group 14 | CMP8 | ||||||||||||
0.9*VREFHIC | A17 | CMP8 (HPMXSEL=3) | CMP8 (LPMXSEL=3) | ||||||||||
A8 | R6 | 59 | J6 | A8 | C24 | CMP8 (HPMXSEL=0) | CMP8 (LPMXSEL=0) | GPIO211 | |||||
A11 | R8 | 63 | L6 | 40 | A11 | C27 | CMP8 (HPMXSEL=2) | CMP8 (LPMXSEL=2) | GPIO214 | ||||
A10 | T8 | 62 | L5 | 39 | A10 | C26 | CMP8 (HPMXSEL=1) | CMP8 (HNMXSEL=1) | CMP8 (LPMXSEL=1) | CMP8 (LNMXSEL=1) | GPIO213 | ||
Analog Group 15 | CMP8/CMP5 | ||||||||||||
A9 | T7 | 60 | K6 | A9 | C25 | CMP8 (HNMXSEL=0) | CMP5 (LPMXSEL=3) | CMP8 (LNMXSEL=0) | GPIO212 | ||||
Analog Group 16 | CMP9 | ||||||||||||
B13 | R5 | B13 | CMP9 (HPMXSEL=0) | CMP9 (LPMXSEL=0) | AIO238 | ||||||||
Analog Group 17 | CMP9/CMP4/CMP7/CMP11 | ||||||||||||
A7 | P6 | 58 | K5 | A7 | CMP9 (HPMXSEL=2) | CMP7 (HNMXSEL=0) | CMP4 (LPMXSEL=3) | CMP7 (LNMXSEL=0) | GPIO210 | ||||
C13 | K1 | C13 | CMP9 (HPMXSEL=1) | CMP11 (HNMXSEL=1) | CMP9 (LPMXSEL=1) | CMP11 (LNMXSEL=1) | AIO239 | ||||||
Analog Group 18 | CMP10 | ||||||||||||
C8 | K3 | 25 | G3 | C8 | CMP10 (HPMXSEL=2) | CMP10 (LPMXSEL=2) | GPIO202 | ||||||
C6 | K5 | 27 | G5 | 11 | B30 | C6 | CMP10 (HPMXSEL=1) | CMP10 (LPMXSEL=1) | GPIO203 | ||||
C10 | L3 | C10 | CMP10 (HPMXSEL=0) | CMP10 (LPMXSEL=0) | AIO241 | ||||||||
Analog Group 19 | CMP11 | ||||||||||||
C9 | J2 | 24 | G2 | C9 | CMP11 (HPMXSEL=2) | CMP11 (LPMXSEL=2) | GPIO201 | ||||||
C11 | K2 | C11 | CMP11 (HPMXSEL=0) | CMP11 (LPMXSEL=0) | AIO242 | ||||||||
C7 | K4 | 26 | G4 | B31 | C7 | CMP11 (HPMXSEL=1) | CMP11 (LPMXSEL=1) | GPIO198 |