Home
EVAL-L9958 Graphical user interface – (GUI)
Contents
1. STSW L9958 Graphical User Interface GUI for EVAL L9958 D 0 l 0 0 0 0 0 0 0 0 0 l l l oo o Court erC locirwene ita Clockwete SEND DIR OK SEND DISABLE OK GAPG2811141057RI Com Port Setup the com port is selected where the microcontroller is connected too SDI selecting the specific device register and setup all the bits to the required value SDO reading the SDO register of the device 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 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 ENABLE through this menu set the level of the EN pin DIR through this menu set the level of the DIR pin DISABLE through this menu set the DI pin of the device HELP through this menu download the help the Datasheet and the HW Help d DoclD027235 Rev 1 UM1844 2 d How to use the GUI to conf
2. 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 e c E EU 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 e Once the installation is completed connect the USB cable to the SPC560P DISP board the USB drivers are installed e Right click on InstallPlsUsbJtagDriver bat then select Run as administrator Figure 2 USB Driver Installation folder JtagUsbDriver Name dpinst Je Driver gt InstallPisUsbitagDriver bat readme bd Y UninstallPisUsbitagDrver bat Wy Run as administrator Create PDF and Bitmap Files with POFCreator Troubleshoot compatibility 7 Zip Sean far Vinime GAPG2811141141RI e 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 GAPG2811141149RI e From Start Menu right click on Computer item then select Manage From Start Menu right click on Computer item then se
3. lt 7 UM1844 Yy life augmented 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 rrannvnnnnnnnennnennnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnennnennnennnennnennn 14 2 15 DoclD027235 Rev 1 Ly UM1844 List of figures List of figures Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 STSW L9958 Graphical User Interface GUI for EVAL L9958 annen 4 USB Driver Installation folder JtagUSbDriver rrrrrrnurnvvrrannvrnrnnnrevrnnnnerrvannennrnnnsenrnnerensnaneennnnn 6 FP NNSPUIUBRN ee eee ne ee ee ee EE 6 Sta
4. aded 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 e 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 pls mc com spc5 udestk e Create a New Workspace for SPC560P DISP Click File gt New WorkspaceX Figure 9 UDE Visual Platform File and New Workspace elp PEPE t at Save Workspace As Ctrl S Save Workspace gt Close Workspace Ctri F4 Save View Content As Ctri Alt S Print Setup Print Ctri P Recent Files Recent Workspaces Bat GAPG2811141353RI e Name the new Workspace i e Pictus then select OPEN Figure 10 UDE Visual Platform Define File name DoclD027235 Rev 1 Ly d UM1844 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 File Edit Config Window Help D RKRASEOS ING Last Used Browse Folder to browse C Users gudapas Documents ois UDE 4 0 Targets Iz Addtonal Firer Onese Boards j fey Fies in folder F Shon descaptions STM Bolero Demo Evaluation Board wth SPC 560840 SPC5 UDE STIO STM Bolero Demo Evaluation Board with SPC550860 SPC5 UDE STK STM Monaco De
5. already flagged do not modify it DoclD027235 Rev 1 7 15 SPC560P DISP USB drivers installation UM1844 Figure 7 PLS USB JTAG Adapter for SPC5xxx B Advanced Tab Enable VCP ef Sr Sraa ener Advanced Dever Details vir SE Ji ACo AGacter tor SF a ot Je tese oetinos to Gvenda roa Gevice DDA GAPG2811141305RI e Click OK button to continue e 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 GAPG2811141310RI e 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 d 8 15 DoclD027235 Rev 1 UM1844 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 hitp 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 d SPC560P DISP Load Firmware UM1844 5 10 15 SPC560P DISP Load Firmware To use the L9958 GUI a dedicated FW file name GP Pictus elf must to be lo
6. e missing license key feature FLASH programming for device 512 kByte OnChip FLASH ready FLASH programming for device 64 kByte OnChip Data FLASH ready Connection to SPCt amp 0PS target established PowerPC Target JT G ID OxSAE21061 Core stem spcS60pS0 pictus demo evalboard debug agg Core haked Function disabled GAPG2811141424RI e Click on Program All DoclD027235 Rev 1 11 15 SPC560P DISP Load Firmware UM1844 Figure 13 UDE Visual Platform Program All F r foe Debug Show set Toct C ord sg Vh orc him cre RBSSBSCROZGEOSETZTOE se gt CREI J4 P 2 9 x i Targetidanaqe APPA ubt ASVO rute Merton Command Lf Teger e Controter J Curt FLASHJOTP Device Cor PFLASH EA Byte Orth Data FLASH ce son Programming OOOO MODS WOE r e hatet buretnn tr shied GAPG2811141438RI Ler Ar Merton Command sert FLASJJOTP Cet 512 k yte Ord hp FLASH h r tee Prog amweerg MOP OO FF Ferd rape FLEET va GAPG2811141447RI d 12 15 DoclD027235 Rev 1 UM1844 SPC560P DISP Load Firmware Figure 15 UDE Visual Platform Procedure completed GAPG2811141500RI e 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 d DoclD027235 Rev 1 13 15 Revisi
7. igure the device 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 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 Set the PWM frequency value in the field 5 Press SET button Configure the PWM Duty Cycle Press START button 0 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
8. lect Manage d 6 15 DoclD027235 Rev 1 UM1844 d SPC560P DISP USB drivers installation Figure 4 Start menu Computer Manage BSE Je GAPG2811141210RI e Once the Computer management popup appears select Device Manager from the System Tools menu Figure 5 Disk Management Computer Management Ele Action View Help el 20 8 A Computer Management Local 4 ya NAPCWL2054 a System Tools Batteries 9 Task Scheduler M Computer ld Event Viewer ca Disk drives s Shared Folders Be Display adapters dr Local Users and Groups gl DVD CD ROM drives Performan Qs Human Interface Devices gy Device Manager cy IDE ATA ATAPI controllers rage Q IEEE 1394 Bus host controllers im Disk Management Imaging devices 4 Services and Applications Keyboards A Mice and other pointing devices Tur Modems Ke Monitors amp Network adapters PCMCIA adapters GAPG2811141224RI e 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 zy ere we e Vewverss he st Bun controllers ron U 8 30 Host GAPG2811141301RI e In order to enable the COM port right click on PLS USB JTAG Adapter for SPC5xxx B only this then click Proprieties e Anew window will pop up select the tab Advanced then flag the LOAD VCP Virtual COM Port box This item should be
9. mo Evaluation Board with SPCS63M64 SPCS UDE ST HE GAPG2811141421RI 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 File Edm Debug Show Views Toos Config Window Macro Help amp s8uauggogsgumopgsemccomsg pde WO 6 n P OUS c BA ces nor EL Daas 2 TIF 2 v5 Ce mac SPCS HAL Copyright C 2013 STMicroelectronics Licensed under the Apache License Version 2 0 the License m aay sot use this file except in compliance vith the License ou may obtain e copy of the License at http wvv apache org licenses LICENSE 2 0 Unless required by applicable lav or agreed to im writs software distributed under the License is distributed on en AS 18 BASIS WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND either express or implied the License for the specific lengusge governing permissions and limitetions under the License r inclusion of the main header order ifred on the amnis files of all the inported coaponents in the tirom com ond The dal ir meme uta Connected to E200Z0 processor core Big endian Target has Nexus License check for trace stream Controller NexusTlrace error so valid license for UDE tra Trace stream object Controllerd KexusTrace vas removed to du
10. on history UM1844 6 Revision history Table 1 Document revision history Date Revision Changes 02 Dec 2014 ial release d 14 15 DoclD027235 Rev 1 UM1844 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 d DoclD027235 Rev 1 15 15
11. rt menu Computer Mande Lavrans 7 BE IM ANAC ge EE Eme 7 PLS USB JIAG Adapter COM Pors svarene Peseane lt esasseevieseane 7 Figure 7 PLS USB JTAG Adapter for SPC5xxx B Advanced Tab Enable VCP 8 Figure 8 PLS Drivers and VOP aassicanannssansdeasianardusreniesesacamsiennendiancdsdustnessosasenidadulanbentatnpiaanssenidatdswalanehecdueeits 8 Figure 9 UDE Visual Platform File and New Workspace rrrnnnrnnnnnnrennnnnnennnnnnennnnnnnennnnenennnnnnrnnnnnnennnnene 10 Figure 10 UDE Visual Platform Define File name sees 10 Figure 11 UDE Visual Platform Select STM Pictus Evaluation Board with SPC560P50 SPC5 PEST e T 11 Figure 12 UDE Visual Platform Load Program rrrnnnnnvnvrnnnnnrovrrnnnnnrrnrnnnnnnrenrnnnnnnrnnrnnnnnsennnnnnsnsennnnnnsnsenn 11 Figure 13 UDE Visual Platform Program All sese 12 Figure 14 UDE Visual Platform Execute Memtool Command loading ssseeesessssss 12 Figure 15 UDE Visual Platform Procedure completed nennen enne nennneeneeennnnenreennneenne nen 13 d DoclD027235 Rev 1 3 15 Graphical User Interface description UM1844 4 15 Graphical User Interface description The L9958 GUI includes the fields highlighted in Figure 1 STSW L9958 Graphical User Interface GUI for EVAL L9958 oN 9 dn E Figure 1
Download Pdf Manuals
Related Search
Related Contents
Caratteristiche del tablet Self Ad.Ins(8.5X11).eps - ABC Cork Co. Whirlpool EHO60FXL User's Manual Metronom_files/Metronom Manual_V2201 manual do utilizador Zotac ZT-71003-10L NVIDIA GeForce GT 740 1GB graphics card CFW100 - Adendo ao Manual do Usuário Documents de validation du permis de chasser datos técnicos 2 Berühren Sie Copyright © All rights reserved.
Failed to retrieve file