This application note describes the evaluation board of the DMOS fully integrated stepper
motor driver L6228Q. The board implements a typical application that can be used as a
reference design to drive two-phase bipolar stepper motors with currents up to 1 A DC.
Thanks to the small footprint of the L6228Q (QFN 5 x 5 mm, 32-lead) the PCB is very
compact (27 x 32 mm).
Figure 1.EVAL6228QR reference design board
January 2009Rev 2 1/10
www.st.com
Demonstration board descriptionAN2757
1 Demonstration board description
Table 1.EVAL6228QR pin connections
NameTypeFunction
VSPower supplyBridge A and bridge B power supply
PGNDGroundPower ground terminal
CLOCKLogic inputStep clock input
CW/CCWLogic input
CONTROLLogic input
HALF / FULLLogic input
ENLogic input / output
RESETLogic input
DIAGLogic input
SGNDGroundSignal ground terminal
REFAAnalog inputBridge A current controller reference voltage
REFBAnalog inputBridge B current controller reference voltage
OUT1APower outputBridge A output 1
OUT2APower outputBridge A output 2
OUT1BPower outputBridge B output 1
Selects the direction of the rotation (high = CW;
low = CCW)
Chip enable (active high). When low, all power
DMOSs are switched OFF (both bridge A and
bridge B)
Reset pin (active low). When low, the Phase
Sequence Generator is reset to home state (state
1)
Diagnostic pin. When low, an overcurrent or
overtemperature event is signaled
OUT2BPower outputBridge B output 2
2/10
AN2757Demonstration board description
Figure 2. EVAL6228QR reference design board
CLOCKREFACW/CCW
PGNDRESET
SGND
REFBHALF / FULLCONTROLDIAG
VS
OUT1A
OUT2A
OUT2B
OUT1B
EN
A step-clock input CLOCK is used to apply a clock signal which determines the progress of
the internal state machine. It can be reset to its initial state by pulling down the RESET line.
To perform the PWM current control an analog reference voltage should be provided to each
channel of the driver.
A fixed reference voltage can be easily obtained through a resistive divider from an external
voltage rail and GND (can be the one supplying the microcontroller or the rest of the
application). Otherwise a very simple way to obtain a variable voltage without using a DAC
is to low-pass filter a PWM output of a microcontroller. Table 2 summarizes the electrical
specification of the application, Figure 3 shows the electrical schematic and Table 3 gives
the part list.
The input lines CW/CCW, CONTROL, HALF / FULL, EN and RESET are connected to
ground through a pull-down resistor which sets the low logic level as default. An external
signal can be applied to change each input status.
D1, C1 and C4 constitute a charge pump circuit, which generates the supply voltage for the
high-side integrated MOSFETs. Due to voltage and current switching at relatively high
frequency, these components are connectedthrough short paths in order to minimize
induced noise on other circuitries.
R1 and C5 are used by the overcurrent protection integrated circuitry (disable time t
is about 200 µs and delay time t
R6, C6 and R7, C7 are used to set the off-time t
about 1 µs using the values in Table 3.).
DELAY
of the two PWM channels to about
OFF
DISABLE
50 µs. The off-time should be adjusted according to the motor electrical characteristics and
supply voltage by changing the R6, C6 and R7, C7 values.
R11, R12, C8 and R13, R14, C9 are low-pass filters which provide an external reference
voltage through a PWM output of a microcontroller.
Figure 4, Figure 5 and Figure 6 show the placement of the components and the layout of the
two layers of the EVAL6228QR reference design board. A GND area has been used to
improve the IC power dissipation.
6/10
AN2757Demonstration board description
Figure 4.EVAL6228QR component placement
32 mm
27 mm
Figure 5.EVAL6228QR top layer layout
7/10
Demonstration board descriptionAN2757
Figure 6.EVAL6228QR bottom layer layout
8/10
AN2757Revision history
2 Revision history
Table 4.Document revision history
DateRevisionChanges
06-Oct-20081Initial release
28-Jan-20092
Updated value in Table 2: EVAL6228QR electrical specification
(recommended values) on page 4
9/10
AN2757
Please Read Carefully:
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the
right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any
time, without notice.
All ST products are sold pursuant to ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no
liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this
document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products
or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such
third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT
RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING
APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY,
DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE
GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void
any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any
liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.