
Figure 2-4. Successful FTDI Cable Connection Established in GUI
6. Python scripts can be run from the
Scripting
window. The script shown below can be used to select one of
the pre-programmed test patterns of the DLP3021-Q1 DGP composer project. Press the green button to run
the script, and the projected content will toggle between a static image and video.
7.
from dgp.commands import *
#------------------------------------------------------
#Uncomment one static test pattern
#------------------------------------------------------
#WriteVideoStartAddress1(0x85980) # Color Bars
#WriteVideoStartAddress1(0x95F64) # Color Bars Gradient
#WriteVideoStartAddress1(0xC2734) # Solid Black
#WriteVideoStartAddress1(0xD3830) # Solid Red
#WriteVideoStartAddress1(0xE3E14) # Solid Green
#WriteVideoStartAddress1(0xF43F8) # Solid Blue
#WriteVideoStartAddress1(0x1049DC) # Solid White
#WriteVideoStartAddress1(0x114FC0) # Black to White Gradient
#WriteVideoStartAddress1(0x1546C8) # Checkerboard
#WriteVideoStartAddress1(0x179F3C) # MTF Chart
WriteVideoStartAddress1(0x1A2280) # Bird
WriteVideoConfiguration1(0,30)
#------------------------------------------------------
#Uncomment the desired video test pattern
#------------------------------------------------------
WriteVideoStartAddress2(0x20A98C) # Race Car
WriteVideoConfiguration2(220,0)
#------------------------------------------------------
# Configure and run video control
#------------------------------------------------------
VideoControl = VideoControl()
VideoControl.Play = True
VideoControl.Stop = False
VideoControl.Autostop = False
VideoControl.BufPtr = 0
VideoControl.LoopConfigs = True
VideoControl.ToggleConfigs = True
WriteVideoControl(VideoControl)
8. Before closing the GUI, click the
Disconnect
button in the
Connection
window to properly disconnect the
FTDI cable interface. If the EVM is power cycled, repeat steps
c
and
d
to select and display content again.
2.5 LED Driver
The LED brightness can be controlled through PWM output from DMD controller. Using the DLP Control
Program "General" tab, the PWM input text boxes (RPWM DC, GPWM DC, and BPWM DC) control the current
through each LED driver channel. Note that the PWM control may exceed the maximum current specification
of some LEDs in certain LED configurations.
provides reference conversions from PWM level to drive
current for commonly used current levels.
Quick Start
12
DLP3021LEQ1EVM Evaluation Module
DLPU106A – MARCH 2021 – REVISED OCTOBER 2021
Copyright © 2021 Texas Instruments Incorporated