Data Sheet S16423EJ2V0DS
7
μ
PD168113
5. FUNCTIONAL DEPLOYMENT
5.1 Serial Control
All information for driving the motor is processed by serial data from the CPU. The following parameters can be set
by commands.
Control of DC motor driving and output duty
Control during constant-current driving and current setting
Wait value for setting timing during stepping motor driving
Motor current, motor revolution direction, and output excitation mode
Pulse cycle, and number of pulses
Each command is assigned an address. Each data can be updated by inputting 16-bit data. For the configuration of
the data and details of commands, refer to
9. SERIAL INTERFACE SPECIFICATIONS
.
5.2 Reset Function
An initialization operation is performed and all the internal data is cleared to 0 when RESETB = L. The output
remains in the Hi-Z state.
When RESETB = H, commands can be input.
Once it sets the address 0 to address 2 for an initialization setting, they carry out latch operation inside, and prohibit
overwriting. In order that initialization operation is performed again, the reset operation is needed.
Be sure to perform a reset operation after turning on power supply. When RESETB = L, the internal circuitry is
stopped whenever possible, so that the self current consumption can be reduced. When input of the external CLK is
stopped, the current consumption can be lowered to 1
μ
A MAX.
Immediately after release of reset, excitation is started from the position where the current of ch1 is 100% and the
current of ch2 is 0%, in the micro step drive mode and 1-2 phase excitation drive mode. In the 2-phase excitation
drive mode, excitation is started from the position where the currents of ch1 and ch2 are 100%.
Remark
L: Low level, H: High level, Hi-Z: High impedance
5.3 Current Detection Resistor Connection (FB) Pin
The current detection resistor is connected when current driving is necessary.
For example: When micro step driving, when solenoid driving.
The current that flows into the output is {set voltage value/FB pin resistance x 1000}.
Where the set voltage value is 200 mV, FB = 2 k
Output current value = 200 (mV) /2 (k
)
x 1000
= 100 (mA)
Example)
Therefore, the load is driven at a constant current of 100 mA.
The set voltage value is a value that can be set by serial control.