
ALP Software Setup
14
SNLU220 – December 2016
Copyright © 2016, Texas Instruments Incorporated
Using the DS90UB934-Q1EVM Evaluation Module
4.9
Scripting Tab
The Scripting tab is shown below.
Figure 11. ALP 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.
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.
4.10 Sample ALP Python Script
4.10.1
Initialization
board.WriteI2C(0x7A, 0x4C, 0x01) #enable to write to PORT0 registers
board.WriteI2C(0x7A, 0x58, 0x58) #enable I2C pass-through
board.WriteI2C(0x7A, 0x5D, 0x60) #set slave ID to 0x62
board.WriteI2C(0x7A, 0x65, 0x68) #set slave alias to 0x62