SNLU224D September   2017  – February 2023 DS90UB953-Q1 , DS90UB953A-Q1

 

  1.   Trademarks
  2. 1Introduction
  3. 2Quick Start Guide
    1. 2.1 System Requirements
    2. 2.2 Application Block Diagram
    3. 2.3 Major Components of DS90UB95x-Q1EVM
    4. 2.4 Demo Instructions for DS90UB95x-Q1EVM
    5. 2.5 Use With DS90UB935-Q1
  4. 3Troubleshooting
    1. 3.1 Default Addresses
    2. 3.2 USB2ANY
    3. 3.3 ALP Software Setup
      1. 3.3.1  System Requirements
      2. 3.3.2  Download Contents
      3. 3.3.3  Installation of the ALP Software
      4. 3.3.4  Start-Up - Software Description
      5. 3.3.5  Information Tab
      6. 3.3.6  Registers Tab
      7. 3.3.7  Registers Tab - Address 0x00 Selected
      8. 3.3.8  Registers Tab - Address 0x00 Expanded
      9. 3.3.9  Scripting Tab
        1. 3.3.9.1 Example Functions
          1. 3.3.9.1.1 Local I2C Reads/Writes
          2. 3.3.9.1.2 General I2C Reads/Writes:
          3. 3.3.9.1.3 I2C Reads/Writes with Multi-Byte Register Addresses
      10. 3.3.10 Scripting Tab
    4. 3.4 Troubleshooting ALP Software
      1. 3.4.1 ALP Loads the Incorrect Profile
      2. 3.4.2 ALP Does Not Detect the EVM
      3. 3.4.3 Error When Opening ALP: One Instance of this Application Can Be Active
      4. 3.4.4 Error Referring to USB2ANY Firmware Update
      5. 3.4.5 Identifying USB IDs and Corresponding Devices
      6. 3.4.6 Set up File for Loading Scripts and Create Buttons for Each Script
    5. 3.5 Additional Troubleshooting – Step-by-Step Guide
      1. 3.5.1 EVM Equipment
      2. 3.5.2 EVM Equipment Setup
      3. 3.5.3 Procedure
  5. 4Bill of Materials
  6. 5PCB Schematics
  7. 6Board Layout
  8. 7Related Documentation
    1. 7.1 References
  9. 8Revision History

Scripting Tab

#SNLU2235438 shows the Scripting tab. The script window provides a full Python scripting environment which can be for running scripts and interacting with the device in an interactive or automated fashion. Commands may be written directly into the Scripting tab or may be run from a .py file using the "Run" button. Example scripts may be found using the "Run PreDef Script" button.

GUID-F2348ED5-89AB-4D5E-814B-AD5BBD069B36-low.gif Figure 3-11 ALP Scripting Tab
GUID-AF6634D2-2E2D-4C14-A1D1-C300CD5AF0D5-low.gif Figure 3-12 Pre-Defined Scripts

It is also possible to create custom buttons on the Scripting tab to run a desired script. To do so, click on the "Setup" button, then say "Add", and select the desired name and script. To make the button appear in future instances of ALP, click the "Set As Default" button.

GUID-5715CD5E-35D2-43D6-80FD-25ABFF321E97-low.gif Figure 3-13 Custom Button Creation Step 1
GUID-6E59808D-5409-407F-869B-85AB9FFF4053-low.gif Figure 3-14 Custom Button Creation Step 2
WARNING:

Directly interacting with devices either through register modifications or calling device support library functions can effect the performance and/or functionality of the user interface and may even crash the ALP Framework application.