UM1844 User manual. EVAL-L9958 Graphical user interface (GUI) Introduction

Similar documents
STSW-L9960, STSW-L9960T Graphical User Interface (GUI) for EVAL-L9960 & EVAL-L9960T

UM2119 User manual. Graphical user interface (GUI) for EVAL-L9907-H. Introduction

L9958 Evaluation board for high current (8.6A) DC and Stepper Motors. Description

Description. January 2019 DB2381 Rev 3 1/5

Description. July 2016 DocID Rev 2 1/6

UM2167 User manual. OrCAD PSpice model usage instructions

AN4782 Application note

RN0084 Release note. ST-LINK/V2 firmware upgrade. About this release note

STSW-BLUENRG1-DK. BlueNRG-1, BlueNRG-2 DK SW package

UM2255 User manual. SPC58NG-DISP user manual. Introduction

UM2091 User manual. EVAL-L9301 Demo board Hardware documentation. Introduction

Motor control power board based on the SLLIMM-nano 2 nd series

This manual provides information for the final user application developer on how to use SPC57S-Discovery microcontroller evaluation board.

STSW-STWBCFWDT. STWBC firmware downloader tool. Description. Features

AN4321 Application note

TN1235 Technical note

STEVAL-IPMnM2N. Motor control power board based on the SLLIMM-nano 2 nd series. Description. Features. RoHS compliant

Description SPC564A-DISP. March 2014 DocID Rev 3 1/5

Software GUI user guide for STEVAL-ISV021V1, STEVAL- IDS002V1 and STEVAL-IDS003V1 evaluation boards

P-NUCLEO-USB001. STM32 Nucleo pack for USB Type-C and Power Delivery. Features. Description

UM2343 Application note

AN4491 Application note

Getting started with STEVAL-IDB007V1 and STEVAL-IDB008V1 evaluation boards

How to configure the BlueNRG-1 and BlueNRG-2 devices in network coprocessor mode. Main components Bluetooth Low Energy wireless system-on-chip

Dynamic Electro-Thermal simulator for VIPower products. Description

UM2092 User manual. Basic metrology firmware for the STM32F103RD and the STPM32 devices. Introduction

DT0095 Design tip. Datalogging the SensorTile through a PC. Purpose and benefits. Description

Getting started with MotionPM real-time pedometer library in X CUBE-MEMS1 expansion for STM32Cube

STSW-BNRGUI. BlueNRG GUI SW package. Data brief. Features. Description

X-NUCLEO-53L0A1. Ranging and gesture detection sensor expansion board based on VL53L0X for STM32 Nucleo. Description. Features

X-NUCLEO-53L1A1. Long distance ranging Time-of-Flight sensor expansion board based on VL53L1X for STM32 Nucleo. Description.

P-NUCLEO-USB001. STM32 Nucleo pack for USB Type-C and Power Delivery Data brief. Features. Description

ST25DV-DISCOVERY. Discovery kit for the ST25DV04K dynamic NFC/RFID tag. Features

EVALKITSTKNX. Miniature transceiver STKNX evaluation and development kit. Features

EV-VNH7040AY. VNH7040AY Evaluation Board. Features. Description

UM2461 User manual. SPC584B-DIS Discovery Board. Introduction

300 ma triple DC-DC converter for powering AMOLED displays. Description. Table 1: Device summary Negative voltage. Auxiliary positive voltage

Getting started with X-NUCLEO-IHM06A1 low voltage stepper motor driver expansion board based on STSPIN220 for STM32 Nucleo

EVLKSTCOMET10-1. STCOMET smart meter system-on-chip development kit. Features

NUCLEO-L433RC-P NUCLEO-L452RE-P

UM2216 User manual. Getting started with MotionFA fitness activity library in X CUBE MEMS1 expansion for STM32Cube. Introduction

USB Type-C and Power Delivery Nucleo pack with NUCLEO-F072RB expansion board based on STUSB1602. Description

Using the GPIOs and interrupt controller to drive LEDs on STM8 Nucleo-64 boards

Getting started with X-CUBE-LED channel LED driver software expansion based on LED1642GW for STM32Cube

NUCLEO-L496ZG. STM32 Nucleo-144 board. Features. Description

AN4045 Application note

UM2361. Getting started with the ST BlueNRG-Mesh ios application. User manual. Introduction

Getting started with the digital MEMS microphone expansion board based on MP34DT01-M for STM32 Nucleo

Bluetooth low energy profiles for the X-CUBE-BLE1 expansion for STM32Cube. Description

AN5123 Application note

P-NUCLEO-IKA02A1. STM32 Nucleo pack: electrochemical toxic gas sensor expansion board with CO sensor. Description. Features

How to upgrade the firmware on the STEVAL-USBC2DP USB Type-C to DisplayPort adapter

AN3980 Application note

STSW-BNRG-Mesh. Mesh over Bluetooth low energy. Features. Description. Applications

AN4869 Application note

AN2667 Application note

AN4820 Application note

Getting started with the high power stepper motor driver expansion board based on powerstep01 for STM32 Nucleo

AN2676 Application note

USB Type-C and Power Delivery Nucleo pack with NUCLEO-F072RB expansion board based on the STUSB1602

RN0100 Release note. SPC5-STUDIO v.5.0 Release. Introduction

UM2495. High performance HF reader / NFC initiator IC software expansion for NUCLEO-8S208RB. User manual. Introduction

AN4749 Application note

AN4464 Application note

P-NUCLEO-6180X2. Proximity, gesture, ambient light sensor expansion board based on VL6180X for STM32L053R8. Description. Features

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction

Getting started with the X-CUBE-IKA02A1 multifunctional software expansion for STM32Cube

P-NUCLEO-53L1A1. VL53L1X nucleo pack with X-NUCLEO-53L1A1 expansion board and STM32F401RE nucleo board. Description. Features

AN4311 Application note

UM1719 User manual. The STPM3x evaluation software. Introduction

STM32 Trusted Package Creator tool software description

AN4696 Application note

Getting started with the X-NUCLEO-IHM14A1 stepper motor driver expansion board based on STSPIN820 for STM32 Nucleo

STEVAL-SPBT4ATV3. USB dongle for the Bluetooth class 1 SPBT2632C1A.AT2 module. Features. Description

Getting started with MotionPM real-time pedometer library in X-CUBE-MEMS1 expansion for STM32Cube

STOD32W. 100 ma triple DC-DC converter for powering AMOLED displays. Applications. Features. Description

UM1893 User Manual. STSW-RFSOL001 STWPLLSim simulation tool for STW81200/STuW Introduction

UM2350. Getting started with MotionPW real-time pedometer for wrist library in X-CUBE-MEMS1 expansion for STM32Cube. User manual.

P-NUCLEO-53L0A1. VL53L0X Nucleo pack with ranging, gesture detection sensor expansion board and STM32F401RE. Description. Features

EV-VNQ7003SY. VNQ7003SY Evaluation Board. Data brief. Features. Applications. Description

STM32L4R9I-EVAL. Evaluation board with STM32L4R9AI MCU. Features

USB dongle for the Bluetooth class 2 SPBT3.0DP2 module

SPC58NE84E7, SPC58NE84C3

UM2330 User manual. ST8500 boot. Introduction

AN4241 Application note

Getting started with MotionMC magnetometer calibration library in X-CUBE-MEMS1 expansion for STM32Cube

AN4624 Application note

EV-AUTO-LDOS. L5150GJ-L5300AH7-L4995AK Evaluation Board. Applications. Features. Description

Getting started with osxmotiongc gyroscope calibration library for X-CUBE-MEMS1 expansion for STM32Cube

Getting started with the STM32 Nucleo pack for USB Type-C and Power Delivery with the Nucleo-F072RB board and the STUSB1602

USB dongle for the Bluetooth class 2 SPBT3.0DP2 module. Description

Switch mode single cell Li+ battery charger with OTG boost, voltage mode fuel gauge and LDO

UM2276. Getting started with MotionSD standing vs sitting desk detection library in X-CUBE-MEMS1 expansion for STM32Cube. User manual.

The BlueNRG-1, BlueNRG-2 BLE OTA (over-the-air) firmware upgrade

STEVAL-CCM002V1. TFT-LCD panel demonstration board based on the STM32 as LCD controller. Features. Description

UM1862 User manual. Getting started with STM32F411E Discovery software Development Tools. Introduction

EVALKIT-VL6180X. VL6180X plug-in and STM32 F401RE Nucleo board explorer kit. Description. Features

USB dongle for the Bluetooth class 1 SPBT3.0DP1 module. Description

UM1853 User manual. STM32CubeF1 Nucleo demonstration firmware. Introduction

EVAL6235PD. L6235 three-phase brushless DC motor driver demonstration board. Features. Description

Transcription:

User manual EVAL-L9958 Graphical user interface (GUI) Introduction This document describes the STSW-L9958, the Graphical User Interface (GUI) dedicated to set and control the EVAL-L9958 board (DC Motor Driver application boards for L9958) through the SPI protocol and the EN, DI and DIR pins.the STSW-L9958 has been developed using Labview and it works with SPC560P-DISP evaluation board programmed with a dedicated FW ( GP-Pictus.elf). December 2014 DocID027235 Rev 1 1/15 www.st.com

Contents UM1844 Contents 1 Graphical User Interface description... 4 2 How to use the GUI to configure the device... 5 3 SPC560P-DISP: USB drivers installation... 6 4 Labview driver: installation guide... 9 5 SPC560P-DISP: Load Firmware... 10 6 Revision history... 14 2/15 DocID027235 Rev 1

List of figures List of figures Figure 1: :STSW-L9958 Graphical User Interface (GUI) for EVAL-L9958... 4 Figure 2: USB Driver Installation folder JtagUsbDriver... 6 Figure 3: SPC560P-DISP: USB input... 6 Figure 4: Start menu, Computer, Manage... 7 Figure 5: Disk Management... 7 Figure 6: PLS USB JTAG Adapter- COM Ports... 7 Figure 7: PLS USB JTAG Adapter for SPC5xxx B - Advanced Tab, Enable VCP... 8 Figure 8: PLS Drivers and VCP... 8 Figure 9: UDE Visual Platform: File and New Workspace... 10 Figure 10: UDE Visual Platform: Define File name... 10 Figure 11: UDE Visual Platform: Select STM Pictus Evaluation Board with SPC560P50(SPC5 UDE/STK)... 11 Figure 12: UDE Visual Platform: Load Program... 11 Figure 13: UDE Visual Platform: Program All... 12 Figure 14: UDE Visual Platform: Execute Memtool Command - loading... 12 Figure 15: UDE Visual Platform: Procedure completed... 13 DocID027235 Rev 1 3/15

Graphical User Interface description UM1844 1 Graphical User Interface description The L9958 GUI includes the fields highlighted in Figure 1: ":STSW-L9958 Graphical User Interface (GUI) for EVAL-L9958 ": Figure 1: :STSW-L9958 Graphical User Interface (GUI) for EVAL-L9958 1. Com Port Setup : the com port is selected where the microcontroller is connected too. 2. SDI: selecting the specific device register and setup all the bits to the required value 3. SDO: reading the SDO register of the device. 4. SPI Send/Receive: through this menu, by pushing the [SEND] button, it is possible to send the SPI command configured in the SDI menu (menu 2) or directly send an SPI command writing the command in the MOSI field in hexadecimal. In this menu there is the possibility to read also the device answer MISO. The two LEDs, SPI SEND OK and SPI RECEIVE OK are used to give feedback on the SPI communication (red means communication is running properly). 5. PWM: through this menu setup the Frequency and the Duty cycle of the PWM. By pushing the [START] button, the PWM starts, by pushing the [STOP] button the PWM is stopped. Before sending a PWM, the Frequency value must be confirmed by pushing the [SET] button. 6. ENABLE: through this menu set the level of the EN pin. 7. DIR: through this menu set the level of the DIR pin. 8. DISABLE: through this menu set the DI pin of the device. 9. HELP: through this menu download the help, the Datasheet and the HW Help. 4/15 DocID027235 Rev 1

How to use the GUI to configure the device 2 How to use the GUI to configure the device The following procedure must to be followed to configure the GUI and to set the EVAL- L9958 evaluation board. 1. Configure the COM port. 2. Press OK. 3. Insert the register configuration value of the SPI in the field #2. 4. Press SEND in the field n 4. If the communication is established and the command is sent, the LED SPI SEND OK must be red. The LED SPI RECEIVE OK becomes red if the message sent by the device has been received properly. 5. In the field #3 is reported the device answer; in the field # 4 it is possible to read the SDI and SDO signals expressed in hex. 6. Set the PWM frequency value in the field #5 7. Press SET button. 8. Configure the PWM Duty Cycle 9. Press START button. 10. Enable the Device (EN) by pressing the corresponding button in the field #6. If the communication has been established and the configuration command has been sent, the led SEND ENABLE OK will appear red. The LED D1 on the EVAL-L9958 will be turned ON. 11. Enable the Device (DI) by pressing the corresponding button in the field #8. If command has been received and decoded properly, the LED SEND DISABLE OK will appear red and the LED D5 on the EVAL-L9958 will be turned OFF. 12. Pressing the button DIR (field #7), the direction of the DC motor is inverted and the LED SEND DIR OK will appear red. 13. Pressing STOP PWM field #5 the PWM will be stopped and consequently the motor will be stopped as well. 14. Pressing the button STOP on the top side of the GUI the execution of Labview will be stopped. DocID027235 Rev 1 5/15

SPC560P-DISP: USB drivers installation UM1844 3 SPC560P-DISP: USB drivers installation The GUI needs a dedicated USB driver to enable the serial communication channel. If the driver is not installed or not appropriately configured, the following procedure describes how to uninstall then install the latest driver.to install the drivers the board does not need the external supplier; the USB provides the supply voltage. Once the installation is completed, connect the USB cable to the SPC560P-DISP board; the USB drivers are installed. Right click on InstallPlsUsbJtagDriver.bat then select Run as administrator Figure 2: USB Driver Installation folder JtagUsbDriver Once the installation is completed, connect the USB cable to the SPC560P-DISP board; the USB drivers are installed. Figure 3: SPC560P-DISP: USB input From Start Menu, right click on Computer item then select Manage. From Start Menu, right click on Computer item then select Manage. 6/15 DocID027235 Rev 1

Figure 4: Start menu, Computer, Manage SPC560P-DISP: USB drivers installation Once the Computer management popup appears, select Device Manager from the System Tools menu Figure 5: Disk Management Expand the item Universal Serial Bus controllers : the item PLS USB JTAG Adapter for SPC5xxx A and PLS USB JTAG Adapter for SPC5xxx B will appear. Figure 6: PLS USB JTAG Adapter- COM Ports In order to enable the COM port, right click on PLS USB JTAG Adapter for SPC5xxx B (only this) then click Proprieties. A new window will pop up: select the tab Advanced then flag the LOAD VCP (Virtual COM Port ) box. This item should be already flagged, do not modify it. DocID027235 Rev 1 7/15

SPC560P-DISP: USB drivers installation Figure 7: PLS USB JTAG Adapter for SPC5xxx B - Advanced Tab, Enable VCP UM1844 Click OK button to continue. Disconnect the USB cable from the SPC560P-DISP board then reconnect it. A new COM port will be detected, and Windows will automatically install the new drivers. From the Device Manager window check the new COM port available. Figure 8: PLS Drivers and VCP Now the COM port is available on the SPC560P-DISP and the USB port on the SPC560P-DISP board can be used for serial communication with the PC. 8/15 DocID027235 Rev 1

Labview driver: installation guide 4 Labview driver: installation guide The L9958 GUI can be used stand alone without a Labview license installing the free SW named Runtime Engine for Labview 2013 and VISA Runtime 5.4 ; here below the links: Runtime Engine for Labview 2013:http://www.ni.com/download/labview-run-time-engine- 2013/4059/en/ VISA Runtime 5.4:http://www.ni.com/download/ni-visa-run-time-engine-5.4/4231/en/ DocID027235 Rev 1 9/15

SPC560P-DISP: Load Firmware UM1844 5 SPC560P-DISP: Load Firmware To use the L9958 GUI a dedicated FW (file name: GP-Pictus.elf ) must to be loaded on the microcontroller in the SPC560P-DISP board following below procedure (the board is supplied by the USB cable thus the external PSU is not required): Start UDE Visual Platform. If the SPC5Studio is installed UDE Visual Platform is already available otherwise it can be downloaded from the link: http://www.plsmc.com/spc5-udestk Create a New Workspace for SPC560P-DISP. Click File>New WorkspaceX Figure 9: UDE Visual Platform: File and New Workspace Name the new Workspace i.e. Pictus then select OPEN Figure 10: UDE Visual Platform: Define File name 10/15 DocID027235 Rev 1

SPC560P-DISP: Load Firmware Select STM Pictus Evaluation Board with SPC560P50(SPC5 UDE/STK) then click OK Figure 11: UDE Visual Platform: Select STM Pictus Evaluation Board with SPC560P50(SPC5 UDE/STK) UDE Visual Platform 4.0 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. Figure 12: UDE Visual Platform: Load Program Click on Program All. DocID027235 Rev 1 11/15

SPC560P-DISP: Load Firmware Figure 13: UDE Visual Platform: Program All UM1844 Figure 14: UDE Visual Platform: Execute Memtool Command - loading 12/15 DocID027235 Rev 1

Figure 15: UDE Visual Platform: Procedure completed SPC560P-DISP: Load Firmware When the procedure is completed click on Exit. The SPC560P-DISP is programmed and the SPC560P-DISP is ready to be used with the Graphical User Interface (GUI) dedicated to configure and control the board EVAL-L9958. DocID027235 Rev 1 13/15

Revision history UM1844 6 Revision history Table 1: Document revision history Date Revision Changes 02-Dec-2014 1 Initial release. 14/15 DocID027235 Rev 1

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. ST products are sold pursuant to ST s terms and conditions of sale in place at the time of order acknowledgement. Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of Purchasers products. No license, express or implied, to any intellectual property right is granted by ST herein. Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product. ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners. Information in this document supersedes and replaces information previously supplied in any prior versions of this document. 2014 STMicroelectronics All rights reserved DocID027235 Rev 1 15/15