STMicroelectronics STSW-L9907-H User Manual
STMicroelectronics STSW-L9907-H User Manual

STMicroelectronics STSW-L9907-H User Manual

Graphical user interface (gui) for eval-l9907-h
Table of Contents

Advertisement

Quick Links

UM2119
User manual
Graphical user interface (GUI) for EVAL-L9907-H
Introduction
This document describes the STSW-L9907 the Graphical User Interface (GUI) dedicated to
set and control the EVAL-L9907-H board (3-phase BLDC motor application boards for
L9907) through the SPI protocol, manage the Enable and BST_Dis pins and read the value
from the current sensing section.
®
The STSW-L9907-H has been developed using Labview
and it works with SPC560P-DISP
evaluation board programmed with a dedicated FW (GP-Pictus.elf).
October 2016
DocID029822 Rev 1
1/23
www.st.com
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STSW-L9907-H and is the answer not in the manual?

Questions and answers

Summary of Contents for STMicroelectronics STSW-L9907-H

  • Page 1 L9907) through the SPI protocol, manage the Enable and BST_Dis pins and read the value from the current sensing section. ® The STSW-L9907-H has been developed using Labview and it works with SPC560P-DISP evaluation board programmed with a dedicated FW (GP-Pictus.elf).
  • Page 2: Table Of Contents

    List of figures Figure 1. STSW-L9907-H Graphical User Interface (GUI) for EVAL-L9907-H ....4 Figure 2. SPC560P-DISP ............8 Figure 3.
  • Page 3 Contents UM2119 Contents Graphical User Interface description ......4 How to use the GUI to configure and test the EVAL-L9907-H ..6 How to plug SCP560P-DISP and EVAL-L9907-H .
  • Page 4: Figure 1. Stsw-L9907-H Graphical User Interface (Gui) For Eval-L9907-H

    The STSW-L9907-H GUI includes the fields highlighted in Figure Figure 1. STSW-L9907-H Graphical User Interface (GUI) for EVAL-L9907-H Com Port Setup: this menu allows to set the COM port SDI: this menu allows to select and to configure each device register. It is possible to program all the bits of each register.
  • Page 5 UM2119 Graphical User Interface description signals. Before sending a PWM configuration, the selected Frequency must be confirmed by pushing the “SET” button. ENABLE SETUP – BST_DIS SETUP & FS_FLAG STATUS: this frame is used is to configure the EN1, EN2 and BST_DIS pins of the L9907 and to read the FS_FLAG status.
  • Page 6: How To Use The Gui To Configure And Test The Eval-L9907-H

    How to use the GUI to configure and test the EVAL-L9907-H UM2119 How to use the GUI to configure and test the EVAL- L9907-H The following procedure has to be followed to start the EVAL-L9907-H Device using the L9907-H GUI. A.
  • Page 7 UM2119 How to use the GUI to configure and test the EVAL-L9907-H D. How to start the MOTOR CONTROLL STOP all the PWM signals by pressing “STOP PWM” for all 6 channels (L1, L2, L3, H1, H2 and H3), see Field #5. This action will stop all PWM signals from L9907-H. Follow the procedure described at point A or B or press one of the two button “Automatic Reset 3.3 V”...
  • Page 8: Figure 2. Spc560P-Disp

    How to plug SCP560P-DISP and EVAL-L9907-H UM2119 How to plug SCP560P-DISP and EVAL-L9907-H In the SPC560P-DISP is implemented a 0.1” 4x37 pin array; it is used as connector to plug the EVAL-L9907-H. Figure 2. SPC560P-DISP Figure 3. SPC560P-DISP – 4x37 Connector, pin “A-34” Figure 4.
  • Page 9: Figure 5. Eval-L9907-H And Spc560P-Disp

    UM2119 How to plug SCP560P-DISP and EVAL-L9907-H Figure 5. EVAL-L9907-H and SPC560P-DISP Figure 6. EVAL-L9907-H and SPC560P-DISP plugged DocID029822 Rev 1 9/23...
  • Page 10: Figure 7. Ude Software

    SPC560P-DISP: USB drivers installation UM2119 SPC560P-DISP: USB drivers installation The GUI needs a dedicated USB driver to enable the serial communication channel. If the driver is not yet installed or not appropriately configured, the following procedure describes how to install the Driver or to update the current version. To install the drivers the board SPC560P-DISP does not need the external supplier;...
  • Page 11: Figure 9. Device Driver Installation Wizard

    UM2119 SPC560P-DISP: USB drivers installation Figure 9. Device driver installation wizard Open the folder “C:\Program Files (x86)\pls\UDE 4.2\Driver\JtagUsbDriver” Right click on “InstallPlsUsbJtagDriver.bat” then select “Run as administrator” Figure 10. USB Driver Installation – folder “JtagUsbDriver” Once the installation is completed, connect the USB cable to the SPC560P-DISP board;...
  • Page 12: Figure 11. Spc560P-Disp: Usb Port

    SPC560P-DISP: USB drivers installation UM2119 Figure 11. SPC560P-DISP: USB port 10. From “Start” Menu, right click on “Computer” item then select “Manage”. Figure 12. Start menu, Computer, Manage 11. Once the Computer management popup appears, from the System Tools menu, select “Device Manager”...
  • Page 13: Figure 13. Disk Management

    UM2119 SPC560P-DISP: USB drivers installation Disk management Figure 13. 12. Expand the item Universal Serial Bus controllers; Identify “PLS USB JTAG Adapter for SPC5xxx A” and “PLS USB JTAG Adapter for SPC5xxx B” (see Figure Figure 14. PLS USB JTAG Adapter- COM Ports 13.
  • Page 14: Figure 15. Pls Usb Jtag Adapter For Spc5Xxx B - Load Vcp Box

    SPC560P-DISP: USB drivers installation UM2119 Figure 15. PLS USB JTAG Adapter for SPC5xxx B – Load VCP box 14. Disconnect the USB cable from the SPC56P-Discovery then reconnect. A new COM port appears, and Windows will install the new drivers automatically. From the Device Manager window check the new COM port available.
  • Page 15: Figure 17. Pls Usb Drivers And Serial Port - Device Manager Window After Installation Procedure

    UM2119 SPC560P-DISP: USB drivers installation Figure 17. PLS USB drivers and serial port – Device manager window after installation procedure DocID029822 Rev 1 15/23...
  • Page 16: Labview Driver: Installation Guide

    Labview Driver: Installation Guide UM2119 Labview Driver: Installation Guide The STSW-L9907-H GUI can be used stand alone without a Labview license installing the free SW named “Runtime Engine for Labview” and “VISA Runtime”, last versions can be downloaded from NI web site.
  • Page 17: Figure 18. Ude Visual Platform Icon

    SPC560P-DISP: Load Firmware SPC560P-DISP: Load Firmware To use the STSW-L9907-H GUI a dedicated FW (file name: “GP-Pictus.elf”) must be loaded on the microcontroller in the SPC560P-DISP board following the below procedure (the board is supplied by the USB cable thus the external PSU is not required): Run “UDE Visual Platform”;...
  • Page 18: Figure 20. Ude Visual Platform: Define File Name

    SPC560P-DISP: Load Firmware UM2119 Figure 20. UDE Visual Platform: Define File name Select “ STM Pictus Evaluation Board with SPC560P50(SPC5 UDE/STK)” then click 18/23 DocID029822 Rev 1...
  • Page 19: Figure 21. Ude Visual Platform: Select Target Configuration

    UM2119 SPC560P-DISP: Load Firmware Figure 21. UDE Visual Platform: Select Target Configuration UDE Visual Platform window will be refreshed and new functionalities will appear, then click on the icon “Load Program” highlighted in the red circle; browse the file “GP- Pictus.elf “then click “Open.
  • Page 20: Figure 23. Ude Visual Platform: Program All

    SPC560P-DISP: Load Firmware UM2119 Figure 23. UDE Visual Platform: Program All Figure 24. UDE Visual Platform: Execute Memtool Command - loading 20/23 DocID029822 Rev 1...
  • Page 21: Figure 25. Ude Visual Platform: P0Rocedure Completed

    When the procedure is completed click on “Exit” button. The microcontroller in the SPC560P-DISP board is programmed now and the board is ready to be used with the Graphical User Interface (GUI) STSW-L9907-H and configure and control the evaluation board EVAL-L9907-H.
  • Page 22: Revision History

    Revision history UM2119 Revision history Table 1. Document revision history Date Revision Changes 04-Oct-2016 Initial release. 22/23 DocID029822 Rev 1...
  • Page 23 IMPORTANT NOTICE – PLEASE READ CAREFULLY STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders.

Table of Contents