Scan IF Operation
30-9
Scan IF
Direct Analog And Digital Inputs
By setting the SIFCAX bit, external analog or digital signals can be connected
directly to the comparator through the SIFCIx inputs. This allows
measurement capabilities for optical encoders and other sensors.
Comparator Input Selection And Output Bit Selection
The SIFCAX and SIFSH bits select between the SIFCIx channels and the
SIFCHx channels for the comparator input as described in Table 30−1.
Table 30−1.SIFCAX and SIFSH Input Selection
SIFCAX
SIFSH
Operation
0
0
SIFCHx and excitation circuitry is selected
0
1
SIFCHx and sample-and-hold circuitry is selected
1
X
SIFCIx inputs are selected
The TESTDX signal and SIFTESTS1(tsm) signal select between the
SIFxOUT output bits and the SIFTCHxOUT output bits for the comparator
output as described in Table 30−2. TESTDX is controlled by the SIFTESTD bit.
Table 30−2.Selected Output Bits
TESTDX
SIFCH(tsm)
SIFTESTS1(tsm)
Selected Output Bit
0
00
X
SIF0OUT
0
01
X
SIF1OUT
0
10
X
SIF2OUT
0
11
X
SIF3OUT
1
X
0
SIFTCH0OUT
1
X
1
SIFTCH1OUT
When TESTDX = 0, the SIFCHx(tsm) signals select which SIFCIx or SIFCHx
channel is excited and connected to the comparator. The SIFCHx(tsm) signals
also select the corresponding output bit for the comparator result.
When TESTDX = 1, channel selection depends on the SIFTESTS1(tsm)
signal. When TESTDX = 1 and SIFTESTS1(tsm) = 0, input channel selection
is controlled with the SIFTCH0x bits and the output bit is SIFTCH0OUT. When
TESTDX = 1 and SIFTESTS1(tsm) = 1, input channel selection is controlled
with the SIFTCH1x bits and the output bit is SIFTCH1OUT.
Summary of Contents for MSP430x4xx Family
Page 1: ...MSP430x4xx Family 2007 Mixed Signal Products User s Guide SLAU056G ...
Page 2: ......
Page 6: ...vi ...
Page 114: ...3 76 RISC 16 Bit CPU ...
Page 304: ...5 20 FLL Clock Module ...
Page 340: ...7 8 Supply Voltage Supervisor ...
Page 348: ...8 8 16 Bit Hardware Multiplier ...
Page 372: ...9 24 32 Bit Hardware Multiplier ...
Page 400: ...10 28 DMA Controller ...
Page 428: ...13 10 Basic Timer1 ...
Page 466: ...15 24 Timer_A ...
Page 522: ...17 30 USART Peripheral Interface UART Mode ...
Page 544: ...18 22 USART Peripheral Interface SPI Mode ...
Page 672: ...23 12 Comparator_A ...
Page 692: ...24 20 LCD Controller ...
Page 746: ...26 28 ADC12 ...