STSW-logo

STSW-STUSB020 Graphical User Interface

STSW-STUSB020-Graphical-User-Interface-product

Specifications

  • Related Software: STSW-STUSB020, STUSB4531 Graphical User Interface
  • Operating System: Windows
  • Supported Hardware:
    • NUCLEO-C071RB or NUCLEO-F072RB USB cable EVAL-SCS006V1 or
      EVAL-SCS007V1
    • STM32 Nucleo-64 development board with STM32C071RB MCU
    • STM32 Nucleo-64 development board with STM32F072RB MCU with data support
    • STUSB4531 mini dongle
    • STUSB4531 evaluation board

Installation Process

  1. NUCLEO FW Upgrade Hardware Configuration:
    1. Connect the NUCLEO-C071 (or NUCLEO-F072) to the laptop using USB-C cable.
  2. NUCLEO FW Upgrade Steps:
    1. Please make sure the device drivers are installed successfully.
    2. Download and install STSW-LINK007 software.
    3. Select your operating system and run the STLINKUpgrade.exe to upgrade the NUCLEO.
    4. Select the STM32 Debug+Mass storage+VCP option.
  3. Hardware Configuration:
    1. Case 1: Using EVAL-SCS007V1 – Power the board from the NUCLEO.
    2. Case 1: Using EVAL-SCS007V1 – Connect to the NUCLEO and to the laptop.
    3. Case 2: Using EVAL-SCS006V1 – Connect to the NUCLEO.
    4. Case 2: Using EVAL-SCS006V1 – Power the board from the USB-C port.
  4. Download the STUSB4531 GUI Package:
    1. Search for STSW-STUSB020 from the www.st.com home page and download the GUI package.

Product Usage Instructions

Open the GUI:

  • Connect the necessary hardware components as per the installation instructions and open the STUSB4531 Graphical User Interface on your Windows system.

This document describes how to install STUSB4531 Graphical User Interface (STSW-STUSB020), and main GUI features.

  • The GUI can be opened and used without any electrical connection to STUSB4531 IC (offline mode).

Supported Hardware

  • MINI-DONGLE (EVAL-SCS006V1)STSW-STUSB020-Graphical-User-Interface-fig- (1)
  • EVALUATION BOARD
    • (EVAL-SCS007V1)STSW-STUSB020-Graphical-User-Interface-fig- (2)

NUCLEO FW upgrade

  1. Connect the NUCLEO-C071 (or NUCLEO-F072) to the laptop using USB-C cableSTSW-STUSB020-Graphical-User-Interface-fig- (3)
  2. Please make sure the device drivers are installed successfully.STSW-STUSB020-Graphical-User-Interface-fig- (4)
  3. Download and install STSW-LINK007STSW-STUSB020-Graphical-User-Interface-fig- (5)
  4. Select your operating system and run the STLINKUpgrade.exe to upgrade the NUCLEO-C071 (or NUCLEO-F072).STSW-STUSB020-Graphical-User-Interface-fig- (6)
  5. Select the STM32 Debug+Mass storage+VCP optionSTSW-STUSB020-Graphical-User-Interface-fig- (7)
  6. Case 1:
    1. Using EVAL-SCS007V1: Power the board from the NUCLEO
    2. By default, JP1 and JP8 are in external position: STUSB4531 is powered by USB-C port (VBUS)
    3. Set JP1 and JP8 in internal position: STUSB4531 is powered by Nucleo boardSTSW-STUSB020-Graphical-User-Interface-fig- (8)
    4. Explanation: In order to access to STUSB4531 NVM or I²C registers from the NVM flasher or a GUI, the STUSB4531 must be always ON, even if the STUSB4531 is not attached to a source. That’s why, STUSB4531 power supply must come from the system, and not from VBUS
  7. Case 1:
    1. Using EVAL-SCS007V1: Connect to the NUCLEO and to the laptopSTSW-STUSB020-Graphical-User-Interface-fig- (11)
  8. Case 2: Using EVAL-SCS006V1: Connect to the NUCLEO.STSW-STUSB020-Graphical-User-Interface-fig- (10)
    1. Please make sure SDA and SCL signals from the STUSB4531 board are properly connected to their counterpart from NUCLEO-C071B / NUCLEO-F072RB
  9. Case 2:
    • Using EVAL-SCS006V1: Power the board from the USB-C portSTSW-STUSB020-Graphical-User-Interface-fig- (11)
    • Explanation: at the opposite of EVAL-SCS007V1, EVAL-SCS006V1 is powered from VBUS exclusively.
    • In order to access to STUSB4531 NVM or I²C registers from the NVM flasher or the GUI, the EVAL-SCS006V1 must be attached to a SOURCE (A to C cable, power bank, AC adapter, docking etc.)
  10. Download the STUSB4531 GUI package by searching STSW-STUSB020 from the www.st.com homepage.STSW-STUSB020-Graphical-User-Interface-fig- (12)
  11. Then click on “Get Software” from the bottom of the pageSTSW-STUSB020-Graphical-User-Interface-fig- (13)
  12. Download will start after accepting the License Agreement, and filling contact information.STSW-STUSB020-Graphical-User-Interface-fig- (14)
  13. Save the file stsw-stusb020.zip on your laptop and unzip:STSW-STUSB020-Graphical-User-Interface-fig- (15)
  14. The STM32 Nucleo board must be flashed with the correct binary file contained in the bin directory.STSW-STUSB020-Graphical-User-Interface-fig- (16)
  15. Connect the Nucleo board to the Laptop (see 7 or 9 ) Drag and drop the appropriated BIN file to the Nucleo board (NODE_C071RB or NODE_F072RB)STSW-STUSB020-Graphical-User-Interface-fig- (17)
  16. Press the NUCLEO-C071RB “RESET” button (B2 – Black push button).
  17. If using the EVAL-SCS007V1, the LED LD5 should be blinking (see 7)
  18. The board is now configured to act as a USB to I²C bridge between the STSW-STUSB020/1 and STUSB4531.
  19. Click on the STUSB4531_GUI.exe file to open the GUI. The following window must appear.
  20. Select the correct COM port in the “COM settings” section:STSW-STUSB020-Graphical-User-Interface-fig- (18)
  21. NB: The GUI can also be used in OFF-LINE mode, ie. without being connected to STUSB4531.
    • In this case, no ST LINK is detected on the computer’s COM ports.
    • The “NVM Configuration” panel can be accessed to modify / create a STUSB4531 configuration and generate the NVM file.
    • At the opposite, the I²C Utility and Dashboard panels are not activeSTSW-STUSB020-Graphical-User-Interface-fig- (19)

NVM configuration

STSW-STUSB020-Graphical-User-Interface-fig- (20) STSW-STUSB020-Graphical-User-Interface-fig- (22) STSW-STUSB020-Graphical-User-Interface-fig- (23)

More Info

  • © STMicroelectronics – All rights reserved.
  • ST logo is a trademark or a registered trademark of STMicroelectronics International NV or its affiliates in the EU and/or other countries. www.st.com/m/trademarks
  • 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.

FAQ

Q: What should I do if the GUI does not open?

A: Make sure all hardware components are properly connected and drivers are installed. Try restarting your system and reopening the GUI.

Documents / Resources

ST STSW-STUSB020 Graphical User Interface [pdf] Installation Guide
STSW-STUSB020, STSW-STUSB020 Graphical User Interface, Graphical User Interface, User Interface

References

Leave a comment

Your email address will not be published. Required fields are marked *