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).
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 .
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.
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”...
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.
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...
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;...
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;...
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”...
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.
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.
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...
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.
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”;...
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.
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.
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.
Need help?
Do you have a question about the STSW-L9907-H and is the answer not in the manual?
Questions and answers