STMicroelectronics FlexSPIN: SPI configurable stepper and DC multi motor driver evaluation board EVAL6460 EVAL6460 Fiche De Données

Codes de produits
EVAL6460
Page de 139
L6460 
AD converter
Doc ID 17713 Rev 1
81/139
   
   
   
Figure 24.
A2D block diagram
The A2D system is enabled by setting the A2DEnable bit to ‘1’ in the A2DControl register.
The A2DType bit in the A2DConfigX registers selects the A2D active configuration (8-bit 
resolution or 9-bit) according to the 
.
         
The multiplexer channel to be converted can be chosen by writing the A2DChannel1[4:0] or 
A2DChannel2[4:0] bits in the A2DConfigX register; the channel addresses table is reported 
in the 
Table 30.
ADC truth table
A2DEnable
A2DType A2D 
operation
0
X
Disabled
1
0
ADC working as a 
8-bit
 ADC
1
1
ADC working as a 
9-bit
 ADC
S&H 
A2D 
To SPI
 
Analog Mux 
V
supply
V
LINmain FB
V
GPIO[0:14]
RefOpAmpX
Current DAC
Temp Sensors
Conversion 
Address 0
Conversion 
Address 1
SWDRV_F
B
V
SWmain FB
V
pump
V
3v3
Co
n
ver
sion
 
Do
n
e 1
 
Co
n
ve
rs
ion
 
Re
su
lt
 
Co
n
ve
rs
ion
 
Do
n
e
 0
 
A2
DE
n
ab
le
S
elected
 
A2
DTyp
Sa
mp
le
 T
ime 0
Sa
m
p
le
 Ti
me 
1
A2
DTyp
e 0
A2
DTyp
e 1
OutStripStepperPHX