ST STSW-L9026-Y0 User manual

Introduction
The present document describes the Graphical User Interface (GUI) that allows to initialize and control the EVAL-L9026-
Y0 evaluation board by changing parameters through the SPI protocol. The L9026 GUI has been developed using, as
microcontroller interface, the PT&S Connect.
STSW-L9026-Y0 GUI
UM2803
User manual
UM2803 - Rev 1 - November 2020
For further information contact your local STMicroelectronics sales office.
www.st.com

1Hardware connection
The EVAL-L9026-Y0 should be connected to PT&S Connect as shown in the following figures:
Figure 1. PT&S Connect connected to EVAL-L9026-Y0
Figure 2. Particular of EVAL-L9026-Y0 connectors associated to the proper flat cable of PT&S Connect
UM2803
Hardware connection
UM2803 - Rev 1 page 2/16

2Flashing firmware on PT&S connect
To use the EVAL-L9026-Y0 GUI the PT&S connect must be programmed with the dedicated Firmware (EVAL-
L9026-Y0.elf).
In the following paragraph it will be shown the procedure to program the PT&S Connect using the ST toolchain
based on SPC5-UDEDEBG:
1. Start UDE Visual Platform
2. If not yet done, create a New Workspace for SPC56M. Click File > New Workspace
UM2803
Flashing firmware on PT&S connect
UM2803 - Rev 1 page 3/16

3. Name the new Workspace i.e. "monaco.wsx" and select OPEN
4. UDE Visual Platform will be refreshed and new functionalities will appear, then click on "Load Program" (or
File/LoadProgramm)
5. Browse the file "EVAL-L9026-Y0.elf" and click "Open"
UM2803
Flashing firmware on PT&S connect
UM2803 - Rev 1 page 4/16

6. In the next window click on “Cancel”
7. Then click on "Program All"
8. The UDE Visual Platform will start to load the program
UM2803
Flashing firmware on PT&S connect
UM2803 - Rev 1 page 5/16

9. When the procedure is terminated click on "Exit" on all windows
10. After clicking "Exit" on all windows, close UDE Visual Platform. After disconnecting and reconnecting, the
PT&S connect will be ready to be used with the Graphical User Interface (GUI) for EVAL-L9026-Y0.
UM2803
Flashing firmware on PT&S connect
UM2803 - Rev 1 page 6/16

3GUI package installation
Before the first run of STSW-L9026-YO on your PC, you need to install the following components:
• Microsoft .NET Framework 4.6.1
• Microsoft Office Web Component (OWC) ver. 11
• PTS Connect COM driver (PTS_USB-COM_driver.zip contained in the PTS GUI package.zip file)
• Microsoft Excel 2016 or above installed
To install PT&S Connect COM drivers, please unzip the PTS_USB-COM_driver and launch
InstallPlsUsbJtagDriver.bat. Once completed, plug your PT&S Connect to USB port.
In your Windows Device Manager, you should be able to see a couple of devices "PLS USB JTAG Adapter for
SPC5xxx X" in the "Universal Serial Bus controllers" node.
Only for "PLS USB JTAG Adapter for SPC5xxx B", enable "Load VCP" from Advanced tab and click Ok. When
finished, a new device "PLS USB Serial Port" will appear in the "Ports (COM & LPT)" node.
Figure 3. GUI package installation
UM2803
GUI package installation
UM2803 - Rev 1 page 7/16

4GUI description
In order to run the GUI, once extracted the EVAL-L9026-Y0.zip archive please click on PTS_GUI.exe. To exit the
GUI the user should choose the menu "File" and click on EXIT.
The GUI is composed by three main tabs: Config, Normal Operation and SPI. The other tabs are used for Serial
log and PTS connect PIN configuration. This last tab should not be changed to avoid misconnection between
EVAL-L9026-Y0 and PT&S connect.
Figure 4. GUI interface
In order to connect the GUI to PT&S the user should push on the connection icon on the top left corner. If the
procedure has been correctly carried up in the bottom of the screen a led will turn green and this message: "PTS
connected on COM xx (FW ver.0.280)" will appear.
Figure 5. PTS Connect correctly connected
UM2803
GUI description
UM2803 - Rev 1 page 8/16

4.1 Config Tab
The Config Tab is used for the preliminary configuration of L9026. There are 6 parts:
1. Parallel input configuration: to configure the functionality of parallel input IN0 and IN1 of L9026. Pushing
on the radio button it is possible to associate the parallel input to one of the outputs. For further information
please refer to L9026 datasheet.
2. OFF diagnosis: to configure on which channel the OFF diagnosis will be enabled. Please note that this is
a one- hot diagnosis so, to be evaluated, it should be reengaged every time the user intends to check a
channel OFF diagnosis. For further information please refer to L9026 datasheet.
3. Bulb inrush mode configuration: to select channels connected to bulb lamps with significative inrush
current. For further information please refer to L9026 datasheet.
4. PWM configuration: to connect the internal PWM generator to a specific channel. For further information
please refer to L9026 datasheet
5. PWM generator: based on the PWM configuration, with this selector, it is possible to associate to each
configured channel one of the two available internal PWM generators. For further information please refer to
L9026 datasheet
6. Open load in ON diagnosis: to configure on which channel the Open load in ON condition diagnosis will be
enabled. For further information please refer to L9026 datasheet
Figure 6. Config Tab
4.2 Normal Tab
In Normal Tab the user has access to all the L9026 functionalities.
Figure 7. Normal tab
UM2803
Config Tab
UM2803 - Rev 1 page 9/16

Except Driver 0 and Driver 1 that are only High Side (HS) driver, all the other drivers can be configured, according
to the HW configuration of EVAL-L99026-YO, either as Low side (default) or as High Side clicking on the HS/LS
button. With the ON/OFF button it is possible to switch ON or OFF the corresponding driver.
The PWM Config/Status Box allows the user to configure the Frequency and duty cycle of the L9026 internal
PWM generator. For the GEN PWM generator a fine tune is available for the frequency. Please refer to L9026
Datasheet for further details.
The Status is a synthetic synoptic panel that shows the main status parameter of L9026. In the upmost right
text box, the internal status machine of L9026 is shown. The button "Idle mode" will act on the idle pin of L9026
allowing the status change associated to this signal (for further details refer to L9026 DS). The "Diagnosis" button
allows the user to read all the L9026 diagnosis registers. The results will be updated both in the Status box
and in the Drivers box, depending on the active diagnostics configured in the Config Tab. Please note that all
the diagnoses, except the SHORT are one-shot, that means that once executed they have to be reengaged in
the Config Tab (for further details refer to L9026 DS). The "Diag reset" button will reset all the diagnostics. The
"Reset" button acts on the CFG_1.RST bit and resets L9026 (for further details refer to L9026 DS).
4.3 SPI Tab
The SPI Tab allows the user to directly read and write all the L9026 registers.
Figure 8. SPI Tab
The user can choose the register with the “Select register” drop down menu and if he wants to read or write the
register using the radio button on the top. Pressing the “Send command” green arrow the register is either read or
write depending on the user settings. In case of register writing the user can change the register bit values writing
0 or 1 in the MOSI column. The read value is decoded in the MISO column.
4.4 Serial log and PTS pin Tab
The serial log tab is a list of all the commands sent and received by the PT&S connection and is intended for
debug purpose only.
The PTS pin tab is used to configure the internal pin of the PT&S connection. Please do not modify the setup or
the GUI functionality cannot be guaranteed anymore.
UM2803
SPI Tab
UM2803 - Rev 1 page 10/16

Appendix A Other information
A.1 Reference documents
Table 1. Reference documents
Doc Name ID Title
DS13397 034478 Configurable multi channel relay driver 2HS + 6HS/LS
UM2803
Other information
UM2803 - Rev 1 page 11/16

Revision history
Table 2. Document revision history
Date Version Changes
18-Nov-2020 1 Initial release.
UM2803
UM2803 - Rev 1 page 12/16

Contents
1Hardware connection ..............................................................2
2Flashing firmware on PT&S connect ...............................................3
3GUI package installation ...........................................................7
4GUI description....................................................................8
4.1 Config Tab ....................................................................9
4.2 Normal Tab....................................................................9
4.3 SPI Tab......................................................................10
4.4 Serial log and PTS pin Tab......................................................10
Appendix A Other information ........................................................11
A.1 Reference documents..........................................................11
Revision history .......................................................................12
UM2803
Contents
UM2803 - Rev 1 page 13/16

List of figures
Figure 1. PT&S Connect connected to EVAL-L9026-Y0...............................................2
Figure 2. Particular of EVAL-L9026-Y0 connectors associated to the proper flat cable of PT&S Connect .............2
Figure 3. GUI package installation .............................................................7
Figure 4. GUI interface .....................................................................8
Figure 5. PTS Connect correctly connected .......................................................8
Figure 6. Config Tab .......................................................................9
Figure 7. Normal tab .......................................................................9
Figure 8. SPI Tab ........................................................................ 10
UM2803
List of figures
UM2803 - Rev 1 page 15/16

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. For additional information about ST trademarks, please refer to www.st.com/trademarks. 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.
© 2020 STMicroelectronics – All rights reserved
UM2803
UM2803 - Rev 1 page 16/16
Table of contents
Other ST Computer Hardware manuals

ST
ST B-WB1M-WPAN1 User manual

ST
ST X-NUCLEO-IDW04A1 User manual

ST
ST X-NUCLEO-53L7A1 User manual

ST
ST STM32F101 series User manual

ST
ST FP-ATR-BLE1 User manual

ST
ST X-NUCLEO-OUT19A1 User manual

ST
ST STM32F3DISCOVERY User manual

ST
ST 32L152CDISCOVERY User manual

ST
ST EVALSPEAr320HMI User manual

ST
ST STM32Cube User manual

ST
ST STDES-50W2CWBC Specification sheet

ST
ST X-NUCLEO-IHM14A1 User manual

ST
ST X-NUCLEO-OUT06A1 User manual

ST
ST STM32CubeF2 User manual

ST
ST STEVAL-C34KAT2 User manual

ST
ST STM32F4 Series User manual

ST
ST X-NUCLEO-OUT02A1 User manual

ST
ST X-CUBE-SBSFU User manual

ST
ST AEK-COM-ISOSPI1 User manual

ST
ST STEVAL-IDZ3V1 Series User manual