English
Language : 

EVAL6470H Datasheet, PDF (49/70 Pages) STMicroelectronics – dSPIN fully integrated microstepping motor driver with motion engine and SPI
L6470
Programming manual
Table 21. ALARM_EN register
ALARM_EN bit
0 (LSB)
1
2
3
4
5
6
7 (MSB)
Alarm condition
Overcurrent
Thermal shutdown
Thermal warning
Undervoltage
Stall detection (Bridge A)
Stall detection (Bridge B)
Switch turn-on event
Wrong or non-performable command
9.1.21
CONFIG
The CONFIG register has the following structure:
Table 22. CONFIG register
Bit 15
Bit 14
Bit 13
Bit 12
Bit 11 Bit 10 Bit 9
Bit 8
F_PWM_INT
F_PWM_DEC
POW_SR
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
OC_SD RESERVED EN_VSCOMP SW_MODE EXT_CLK
OSC_SEL
The OSC_SEL and EXT_CLK bits set the system clock source:
Table 23. Oscillator management
EXT_C
LK
OSC_SEL[2..0]
Clock source
0
0
0
0
0
0
0
1
Internal oscillator: 16 MHz
0
0
1
0
0
0
1
1
1
0
0
0
Internal oscillator: 16 MHz
OSCIN
Unused
Unused
1
0
0
1
Internal oscillator: 16 MHz
Unused
1
0
1
0
Internal oscillator: 16 MHz
Unused
1
0
1
1
Internal oscillator: 16 MHz
Unused
OSCOUT
Unused
Supplies a 2-MHz
clock
Supplies a 4-MHz
clock
Supplies an 8-MHz
clock
Supplies a 16-MHz
clock
Doc ID16737 Rev 5
49/70