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

Product codes
EVAL6460
Page of 139
L6460 
AD converter
Doc ID 17713 Rev 1
83/139
   
   
   
         
         
A conversion on channel 1 can be triggered by writing a logic ‘1’ in the A2DTrig1 bit in the 
A2DConfigX register and a conversion on channel 2 can be triggered writing a logic ‘1’ in the 
A2DTrig2 bit in the same register. While a request on a channel is pending but not yet 
completed L6460 will force to logic ‘0’ the corresponding A2DdoneX bit in the A2DResultX 
registers and L6460 will not accept other conversion request on that channel.
Continuous conversion on one channel can be accomplished by setting to logic ‘1’ the 
A2DcontinuousX bit in the A2DConfigX register. When A2DcontinuousX bit is set, other 
conversions can be accomplished on the other channel; these conversions will be inserted 
between two conversions of the other channel and the end of the conversion will be signaled 
using A2DdoneX bit. Of course when a channel is in continuous mode its sample time and 
channel address cannot be changed.
Continuous conversions on both 2 channels can be also accomplished by setting to logic ‘1’ 
the A2Dcontinuous1 and A2Dcontinuous2 bits; the conversions are made in sequence.
         
         
Table 32.
ADC sample times when working as a 8-bit ADC
A2DSampleX[2:0] (binary)
Sample time
Typ
Unit
000
16*T
osc
µs
001
32*T
osc
µs
010
64*T
osc
µs
011
128*T
osc
µs
100
256*T
osc
µs
101
512*T
osc
µs
110
1024*T
osc
µs
111
2048*T
osc
µs
Table 33.
ADC sample time when working as a 9-bit ADC
A2DSampleX[2:0] (binary)
Sample time
Typ
Unit
000
32*T
osc
µs
001
64*T
osc
µs
010
128*T
osc
µs
011
256*T
osc
µs
100
512*T
osc
µs
101
1024*T
osc
µs
110
2048*T
osc
µs
111
4096*T
osc
µs