ST PractiSPIN UM0696 User Manual Download Page 5

UM0696

Starting PractiSPIN™.spmd

Doc ID 15599 Rev 2

5/15

   

   

   

2 Starting 

PractiSPIN™.spmd

Since the PractiSPIN™.spmd system is capable of supporting several module 
demonstration boards the user must first select the module that is evaluated.

Module demonstration board set up: configure the jumpers/switches on the target 
board and the control board as described in the paragraph for the specific 
demonstration board being used.

Control board - PC connection: connect the control board to a serial COMM port of the 
PC via a standard (straight through) 9 pin D connector cable.

Powerup: energize the power supply

Start PractiSPIN™.spmd software: on the PC, start the PractiSPIN™.spmd program

Communication settings: click the drop down list under "port selection" and select the 
COMM port being used. Baud rate and other communication parameters are fixed on 
both sides of the link and do not need to be set.

Establish COMM link: click the "connect to ST7 hardware". At this point the 
PractiSPIN™.spmd software transmits several commands to the control board to 
initialize the processor. The PractiSPIN™.spmd software reads the revision code of the 
firmware currently stored in the Flash memory of the ST7 and determine if the correct 
version of firmware resides in the ST7. If the PractiSPIN™.spmd software detects that 
a firmware update is necessary, either because there is an old version of firmware or 
the firmware currently in the Flash memory is not the correct firmware for the motor 
type selected, one or more dialogue boxes appear asking if the program should 
proceed with the update. Accept the updates and the PractiSPIN™.spmd software 
automatically updates the firmware. The system then initializes the settings to the last 
stored settings and open the appropriate PractiSPIN™.spmd software for the selected 
target board.

Figure 2.

PractiSPIN™ launch window

Calibrate current setting: when communication is established the user has the option to 
adjust the offset and maximum current settings. If this is the first time you use the 
system, calibration may be needed to adjust out the offset in the reference bias 
circuitry. Calibration ensures that the reference voltage provided to target module 
follows the PractiSPIN™.spmd software current settings. Calibration is a two-step 
process; first the offset is adjusted then the maximum current is set. Clicking on      
"connect ST7 hardware" button, the calibration window appears.

AM04220v1

 

Summary of Contents for PractiSPIN UM0696

Page 1: ...communicates with the PC and the PractiSPIN spmd software via a serial COMM port and a module specific demonstration board target board that connects to the ST7 interface board via a standard 34 pin r...

Page 2: ...Rev 2 Contents 1 System overview 4 2 Starting PractiSPIN spmd 5 3 Stepper motor driver 7 3 1 Constant speed mode 7 3 2 Indexing mode 9 4 STEVAL SPMD250V1 STEVAL SPMD250V2 10 5 STEVAL SPMD150V1 STEVAL...

Page 3: ...bration window 6 Figure 4 PractiSPIN spmd constant speed mode window 7 Figure 5 PractiSPIN spmd indexing mode window 9 Figure 6 STEVAL SPMD250V1 STEVAL SPMD250V2 demonstration system 10 Figure 7 STEVA...

Page 4: ...s and a stepper motor connected to the proper connectors Through the control board and friendly user interface the PractiSPIN spmd system supports the following measurements and demonstrations to driv...

Page 5: ...vision code of the firmware currently stored in the Flash memory of the ST7 and determine if the correct version of firmware resides in the ST7 If the PractiSPIN spmd software detects that a firmware...

Page 6: ...3 Calibration window To null out the offset click on calibrate zero for details please refer to the specific target board section To set the maximum current click on calibrate max for details please r...

Page 7: ...ilable when using the STEVAL SPMD150STP Device selection in the device selection box select the device being evaluated Direction in the direction box click the toggle switch to pick forward or reverse...

Page 8: ...ible to set the deceleration current lower Holding current set the holding current to 25 Whenever the motor is stopped after a run this level of current circulates in the motor so that it holds positi...

Page 9: ...ou can enter up to twelve indexed movements in the box and the wait time between each movement When started the software executes each movement by accelerating up to the peak speed moving the required...

Page 10: ...ctor Apply motor voltage VS to P2 connector Launch the PractiSPIN spmd program on the host PC Click on connect to ST7 hardware and perform calibration Click on calibrate zero and verify that VTP3 is z...

Page 11: ...1 SPMD250STP GND 1 SYNC 2 RESET 3 HALF FULL 4 HOME 5 STEPCLOCK 6 CW CCW 7 OSC 8 Io_SET 9 CONTROL 10 ENABLE 11 VSS 12 GND 13 PHD 14 PHC 15 PHB 16 PHA 17 VS 18 P1 1 2 P2 1 2 P3 1 2 U2A 74HC14 1 2 DIAG E...

Page 12: ...nnect to ST7 hardware and perform calibration Click on calibrate zero and trim R18 on control board until voltage on VREFA and VREFB is zero Click on calibrate max and set the maximum current correspo...

Page 13: ...9 10 11 12 13 14 15 16 17 19 21 23 25 26 27 28 29 30 31 32 33 34 18 20 22 24 5V P1 1 2 P2 1 2 P3 1 2 C10 100nF RES C16 N M RV3 N M R6 22K JR5 GND C11 220nF 16V R5 2 2K VS U2 ST3232 C1 3 C2 4 C2 5 V 6...

Page 14: ...Revision history UM0696 14 15 Doc ID 15599 Rev 2 6 Revision history Table 1 Document revision history Date Revision Changes 08 May 2009 1 Initial release 19 Oct 2009 2 Inserted new board part numbers...

Page 15: ...ARRANTIES 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 UNLE...

Reviews: