L6460
Figure 24. A2D block diagram
V supply
V pump
V3v3
VLINmain FB
VSWmain FB
VSWDRV_BF
GPIO[0:14]
RefOpAmpX
OutStripStepperPHX
Current DAC
Temp Sensors
Analog Mux
AD converter
S&H
A2D
Conversion
Address 0
Conversion
Address 1
To SPI
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 Table 30.
Table 30. ADC truth table
A2DEnable
0
1
1
A2DType
X
0
1
A2D operation
Disabled
ADC working as a 8-bit ADC
ADC working as a 9-bit ADC
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 31.
Doc ID 17713 Rev 1
81/139