Datasheet

L6474 Programming manual
Doc ID 022529 Rev 3 37/52
9.1.8 ADC_OUT
The ADC_OUT register contains the result of the analog to digital conversion of the ADCIN
pin voltage.
Any attempt to write to the register causes the command to be ignored and the
NOTPERF_CMD flag to rise (see Section 9.1.13).
9.1.9 OCD_TH
The OCD_TH register contains the overcurrent threshold value (see Section 6.9 for details).
The available range is from 375 mA to 6 A, steps of 375 mA as shown in Ta bl e 1 7.
Table 16. ADC_OUT value and torque regulation feature
VADCIN/ VREG ADC_OUT [4..0] Output current amplitude
0 0 0 0 0 0 125 mA
1/32 0 0 0 0 1 250 mA
30/32 1 1 1 1 0 3.875 A
31/32 1 1 1 1 1 4 A
Table 17. Overcurrent detection threshold
OCD_TH [3..0] Overcurrent detection threshold
0 0 0 0 375 mA
0 0 0 1 750 mA
1 1 1 0 5.625 A
1 1 1 1 6 A