STMicroelectronics FlexSPIN: SPI configurable stepper and DC multi motor driver evaluation board EVAL6460 EVAL6460 Data Sheet

Product codes
EVAL6460
Page of 139
   
   
   
Digital comparator
L6460 
94/139
 Doc ID 17713 Rev 1
Figure 29.
Digital comparator block diagram
In 
 is reported the comparison type truth table.
         
In 
 is reported the Data0/Data1 selection truth table.
         
Table 37.
Comparison type truth table
EnDigCmp
SelCmpType[1]
SelCmpType[0]
Comparison type
0
X
X
Disabled
1
0
0
Data0[9:0] 
≤1³1÷Data1[9:0]
1
0
1
Data0[9:0] = Data1[9:0]
1
1
0
Data0[9:0] > Data1[9:0]
1
1
1
Data0[9:0] 
≤= Data1[9:0]
Table 38.
DataX selection truth table
DigCmpSelChX[1]
DigCmpSelChX[0]
DataX[9:0]
0
X
DigCmpValue[9:0]
1
0
A2DResult1[8:0]
1
1
A2DResult1[8:0]
 
COMPARATOR 
A2DResult0[8:0] 
A2DResult1[8:0] 
DigCmpUpdate[1:0] 
S
el
C
m
pType[
1:
0
A2
DDo
n
e
A2
DDo
n
e
ADC FSM 
Update 
Signal 
Logi
c ‘1
’ 
CmpOut 
 
DigCmpSelCh1[0] 
DigCmpSelCh1[1] 
Data0[9:0] 
Data1 [9:0] 
EnDigC
mp
 
DigCmpSelCh0[0] 
DigCmpValue[9:0] 
DigCmpSelCh0[1] 
 
Three check
filter