ST EVALSP820-XS User Manual

Introduction
The EVALSP820-XS is an easy to use evaluation board for the STSPIN820, providing a compact solution to evaluate the performance of the STSPIN820 stepper motor driver with minimal external equipment and without the need for extra components.
The hardware is fully compatible with RepRAp Arduino Mega Poloulo Shield (RAMPS) or other similar Fused Filament Fabrication (FFF) 3D Printing platforms, representing a very fast drop-in replacement of similar solutions. Contrary to most other competitor solutions, the EVALSP820-XS helps customers to really exploit the benefits of working at high microstepping resolution.
Getting started with the EVALSP820-XS evaluation board
UM2434
User manual
UM2434 - Rev 1 - June 2018 For further information contact your local STMicroelectronics sales office.
www.st.com
1 Board overview
The main characteristics of the board are:
Supply voltage from 7 V to 45 V
Output current up to 1.5 A rms for each motor phase
Peak current regulation through trimmer
Form factor and connectivity compatible with RAMPS (RepRap Arduino Mega Pololu Shield) or similar boards
Based on STSPIN820 driver featuring:
Stepper motor driving with a microstepping resolution up to 1/256th of step
Overcurrent, short-circuit and overtemperature protections
Figure 1. Board overview
Table 1. Board pinout
J1
Signal J2 Signal
8 Enable (EN) 1 Motor supply voltage (VM)
7 Step mode selection input (M0) 2 Ground
6 Step mode selection input (M1) 3 Phase B out 1 (OUTB1)
5 Step mode selection input (M2) 4 Phase B out 2 (OUTB2)
4 NC 5 Phase A out 2 (OUTA2)
3 Active low standby (nSTBY) 6 Phase A out 1 (OUTA1)
2 Step-clock input (STEP) 7 Logic supply voltage (VDD)
1 Direction input (DIR) 8 Ground
UM2434
Board overview
UM2434 - Rev 1
page 2/11
2 Quick start
2.1 Safety precautions
Note: Warning! Some of the components mounted on the board could reach hazardous temperatures during
operation.
While using the board, please adhere to the following precautions
Do not touch the components
Do not cover the board
Do not put the board in contact with flammable materials of with materials releasing smoke when heated
After operation, allow the board to cool down before touching it.
2.2 Adjusting motor peak current
The R7 trimmer adjusts the reference voltage of the STSPIN820 PWM current controller setting the peak current input to the motor phases.
The R7 trimmer controls the current level. Rotating clockwise increases and rotating counter clockwise decrease the current level.
The range depends on the VDD logic supply voltage (pin 6 of J2) as listed in the table below.
Table 2. Peak current ranges
VDD Minimum Maximum
3.3 V V
REF
= 0 V
I
peak
= 0 A
(1)
V
REF
= 0.67 V
I
peak
= 4.5 A
(2)
5 V V
REF
= 0 V
I
peak
= 0 A
(1)
V
REF
= 1 V
I
peak
= 6.8 A
(2)
(1)
Minimum current could be present due to the PWM current control operation
(2)
The overcurrent protection of the STSPIN820 could limit the actual peak current
2.2.1 Modify the peak current range
The trimmer can be adjusted by modifying some board components.
In particular the components contributing to the definition of the peak current are:
Both the sensing resistors
Pull-up resistor (R6)
Sensing resistor (R8 and R9)
The detailed formula is the following:
Changing the sensing resistors requires particular attention:
Bust the sensing resistors must have the same value
Power dissipation on the resistors is equal to I
peak
2
× R
sense
. The power rating must be selected accordingly.
UM2434
Quick start
UM2434 - Rev 1
page 3/11
2.3 Setting off time duration
The R5 resistor sets the off time duration for the PWM current control circuitry as indicated in the figure below. Low resistance value imposes a short off time reducing the current ripple into the motor phases.
The default value is 10 kΩ, corresponding to about 14 µs.
Figure 2. OFF time vs R
OFF
value
0
20
40
60
80
100
120
140
160
OFF time [µs ]
R
OFF
[k ]
AM040213
2.4
Setting the step mode
The inputs M0, M1 and M2 sets the step mode of the STSPIN820 driver as listed in the table below.
Table 3. Step mode selection
M2 M1 M0 Mode
LOW LOW LOW Full step
LOW LOW HIGH ½ step
LOW HIGH LOW ¼ of step
LOW HIGH HIGH
1/8th of step
HIGH LOW LOW
1/16
th
of step
HIGH LOW HIGH
1/32
nd
of step
HIGH HIGH 0
1/128
th
of step
HIGH HIGH HIGH
1/256
th
of step
UM2434
Setting off time duration
UM2434 - Rev 1
page 4/11
Loading...
+ 7 hidden pages