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 
GPIO pins
Doc ID 17713 Rev 1
115/139
   
   
   
22.9 GPIO[8]
The GPIO[8] truth table is (for the abbreviation list please refer to 
).
         
Table 49.
GPIO[8] truth table
EnDac 
(1)
1.
The EnDAC bit in the CurrDacCtrl register enables the Current DAC (see
GPIO[8] SPI bits
Function 
(2)
2.
This pin is 5 volt input tolerant.
Note
GpioOut 
enable[8]
Mode[2]
Mode[1]
Mode[0]
1
X
X
X
X
CurrDAC
(3)
3.
When EnDAC = ‘1’ the GpioOutEnable[8] bit is forced to 0. The current DAC circuit is directly connected to 
GPIO[8] pin so as soon as it is enabled it will sink current from pin.
0
0
X
X
X
HiZ (SPI_IN)
(4)
4.
The GPIO[8] pin can be always used as a digital input so its value can be always read through SPI 
interface (SPI_IN function). To avoid affecting the precision of CurrDAC when this is used to sink very low 
currents, it is necessary to enable the digital input functionality of GPIO[8]. Therefore to read their values 
through SPI interface (SPI_IN function), it is necessary to enable the EnGpio8DigIn bit in the CurrDacCtrl 
register.
0
1
0
0
0
SPI  OUT
0
1
0
0
1
AuxPwm1
0
1
0
1
0
AuxPwm3
0
1
0
1
1
Comp2OUT 
0
1
1
0
0
AuxPwm1
inverted
0
1
1
0
1
AuxPwm3
inverted
0
1
1
1
1
Comp2OUT inverted