Functional description
L6470
24/64
Doc ID 16737 Rev 2
SoftHiZ command causes the motor to decelerate with programmed deceleration value until
MIN_SPEED value is reached and then forces the bridges in high impedance state (no
holding torque is present).
HardHiZ command instantly forces the bridges in high impedance state (no holding torque is
present).
6.7.5 Step-clock
mode
In step clock mode the motor motion is defined by the step clock signal applied to STCK pin.
At each step clock rising edge, the motor is moved of one microstep in the programmed
direction and absolute position is consequently updated.
When the system is in step clock mode the SCK_MOD flag in STATUS register is raised,
SPEED register is set to zero and motor status is considered stopped whatever the STCK
signal frequency (MOT_STATUS parameter in STATUS register equal to “00”).
6.8
Internal oscillator and oscillator driver
The control logic clock can be supplied by the internal 16 MHz oscillator, an external
oscillator (crystal or ceramic resonator) or a direct clock signal.
These working modes can be selected by EXT_CLK and OSC_SEL parameters in the
CONFIG register (see
).
At power-up the device starts using the internal oscillator and provides a 2 MHz clock signal
on the OSCOUT pin.
Attention:
In any case, before changing clock source configuration, a
hardware reset is mandatory.
6.8.1 Internal
oscillator
In this mode the internal oscillator is activated and OSCIN is unused. If OSCOUT clock
source is enabled, OSCOUT pin provides a 2, 4, 8 or 16 MHz clock signal (according to
OSC_SEL value); otherwise it is unused (see
6.8.2 External
clock
source
Two types of external clock source can be selected: crystal/ceramic resonator or direct clock
source. Four programmable clock frequencies are available for each external clock source:
8, 16, 24 and 32 MHz.
When an external crystal/resonator is selected, OSCIN and OSCOUT pins are used to drive
the crystal/resonator (see
). Crystal/resonator and load capacitors (C
L
) must be
placed as close as possible to the pins. Refer to
for the choice of the load capacitor
value according to the external oscillator frequency.