l9942 STMicroelectronics, l9942 Datasheet - Page 21

no-image

l9942

Manufacturer Part Number
l9942
Description
Integrated Stepper Motor Driver For Bipolar Stepper Motors With Microstepping And Programmable Current Profile
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
L9942
Manufacturer:
FREESCALE
Quantity:
90
Part Number:
L9942
Manufacturer:
ST
0
Part Number:
L9942
Manufacturer:
ST
Quantity:
20 000
Part Number:
l9942XO1TR
Manufacturer:
ST
0
Part Number:
l9942XP
Manufacturer:
ST
0
Part Number:
l9942XP
Manufacturer:
ST
Quantity:
20 000
Part Number:
l9942XP (E3
Manufacturer:
ST
0
Part Number:
l9942XP (E3,PB)
Manufacturer:
ST
0
Part Number:
l9942XP1
Manufacturer:
st
Quantity:
33 040
Part Number:
l9942XP1
Manufacturer:
ST
Quantity:
20 000
Part Number:
l9942XP1TR
Manufacturer:
st
Quantity:
33 040
Part Number:
l9942XP1TR
Manufacturer:
ST
Quantity:
20 000
Company:
Part Number:
l9942XP1TR
Quantity:
10 000
Part Number:
l9942XPTR
Manufacturer:
ST
Quantity:
20 000
L9942
4
4.1
4.2
4.3
4.4
4.5
Functional description of the logic with SPI
Motor stepping clock input (STEP)
Rising edge of signal STEP is latched. It is synchronized by internal clock. At next start of a
new PWM cycle the new values of output current limit are used to drive motor in next
position. Before start new motor step this signal has to be low for at least two internal clock
periods to reset latch.
PWM output (PWM)
This output reflects the current duty cycle of the internal PWM controller of bridge A. High
level indicates on state to increase current through load and low level is in off state so load
current decreases depending on chosen decay mode.
Serial peripheral interface (SPI)
This device uses a standard 16 bit SPI to communicate with a microcontroller. The SPI can
be driven by a microcontroller with its SPI peripheral running in following mode: CPOL = 0
and CPHA = 0.
For this mode, input data is sampled by the low to high transition of the clock CLK, and
output data is changed from the high to low transition of CLK.
A fault condition can be detected by setting CSN to low. If CSN = 0, the DO-pin will reflect an
internal Error Flag of the device which is a logical-or of all status bits in the Status Register
(reg7) and in the Current Profile Register 4 (reg6). The microcontroller can poll the status of
the device without the need of a full SPI-communication cycle.
Chip select not (CSN)
The input pin is used to select the serial interface of this device. When CSN is high, the
output pin (DO) will be in high impedance state. A low signal will activate the output driver
and a serial communication can be started. The state when CSN is going low until the rising
edge of CSN will be called a communication frame.
Serial data in (DI)
The input pin is used to transfer data serial into the device. The data applied to the DI will be
sampled at the rising edge of the CLK signal and latched into an internal 16 bit shift register.
The first 3 bit are interpreted as address of the data register. At the rising edge of the CSN
signal the contents of the shift register will be transferred to the selected data register. The
writing to the register is only enabled if exactly 16 bits are transmitted within one
communication frame (i.e. CSN low). If more or less clock pulses are counted within one
frame the complete frame will be ignored. This safety function is implemented to avoid an
activation of the output stages by a wrong communication frame.
Functional description of the logic with SPI
21/40

Related parts for l9942