DLPU082B August 2021 – August 2022 DLPC7540
Set GPIO Pin Config | |
---|---|
Write Parameter(s) | |
Byte | Description |
Byte 0 |
Range = 0 to 87. |
Byte 1 |
Input Output bit0: 1 = Output(Output buffer enabled) 0 = Input(Output buffer High Z) |
Byte 2 |
Logic Value bit0: 1 = LogicVal 1 0 = LogicVal 0 |
Byte 3 |
Open Drain Configuration bit0: 1 = Open Drain output 0 = Standard output |
Programs the direction, logic value and open drain characteristics of a single general purpose I/O pin. |
Get GPIO Pin Config | |
---|---|
Read Parameter(s) | |
Byte | Description |
Byte 0 |
Range = 0 to 87. |
Return Parameter(s) | |
Byte | Description |
Byte 0 |
Input Output bit0: 1 = Output(Output buffer enabled) 0 = Input(Output buffer High Z) |
Byte 1 |
Logic Value bit0: 1 = LogicVal 1 0 = LogicVal 0 |
Byte 2 |
Open Drain Configuration bit0: 1 = Open Drain output 0 = Standard output |
Returns the direction, logic value and open drain configuration for a single general purpose I/O pin. |
Set GPIO Pin | |
---|---|
Write Parameter(s) | |
Byte | Description |
Byte 0 |
Range = 0 to 87. |
Byte 1 |
Logic Value bit0: 1 = LogicVal 1 0 = LogicVal 0 |
Sets the output logic value for the specified GPIO Pin. |
Get GPIO Pin | |
---|---|
Read Parameter(s) | |
Byte | Description |
Byte 0 |
Range = 0 to 87. |
Return Parameter(s) | |
Byte | Description |
Byte 0 |
Logic Value bit0: 1 = LogicVal 1 0 = LogicVal 0 |
Returns the logic value for the specified GPIO pin. |
Set Gen Purpse Clock Enable | |
---|---|
Write Parameter(s) | |
Byte | Description |
Byte 0 |
Clock to Configure |
Byte 1 |
TRUE = Enable clock FALSE = Disable clock. |
Bytes 2-5 |
Amount to divide the selected clock. This parameter is ignored if the clock is to be disabled. Range 2-127. |
Get Gen Purpse Clock Enable | |
---|---|
Read Parameter(s) | |
Byte | Description |
Byte 0 |
DDP Clock Output. |
Return Parameter(s) | |
Byte | Description |
Byte 0 |
Is Enabled |
Get Gen Purpse Clock Frequency | |
---|---|
Read Parameter(s) | |
Byte | Description |
Byte 0 |
Clock for which the frequency configuration needs to be returned. |
Return Parameter(s) | |
Byte | Description |
Bytes 0-3 |
Clock frequency in KHz. Range = 787 to 50,000 KHz. |
Set PWM Output Configuration | |
---|---|
Write Parameter(s) | |
Byte | Description |
Byte 0 |
Port 0 = Output PWM 0 1 = Output PWM 1 2 = Output PWM 2 3 = Output PWM 3 4 = Output PWM 4 5 = Output PWM 5 6 = Output PWM 6 7 = Output PWM 7 8 = Color Wheel 0 PWM 9 = Color Wheel 1 PWM 10 = Color Wheel 2 PWM 11 = Input PWM 0 12 = Input PWM 1 13 = Used for setting the DynamicBlack PWM port when DB PWM is not used 14 = Invalid PWM Port |
Bytes 1-4 |
Frequency Range = 20 to 10390000 with step size 1 |
Byte 5 |
Duty Cycle Range = 0 to 100 with step size 1 |
Byte 6 |
Output Enabled Byte bit0: 1 = Enabled 0 = Disabled |
Sets the Dutycycle and frequency for the specified PWM port. It also enables or disables the port. NOTE : The frequency of LED PWM Ports is fixed and cannot be changed. |
Get PWM Output Configuration | |
---|---|
Read Parameter(s) | |
Byte | Description |
Byte 0 |
Port 0 = Output PWM 0 1 = Output PWM 1 2 = Output PWM 2 3 = Output PWM 3 4 = Output PWM 4 5 = Output PWM 5 6 = Output PWM 6 7 = Output PWM 7 8 = Color Wheel 0 PWM 9 = Color Wheel 1 PWM 10 = Color Wheel 2 PWM 11 = Input PWM 0 12 = Input PWM 1 13 = Used for setting the DynamicBlack PWM port when DB PWM is not used 14 = Invalid PWM Port |
Return Parameter(s) | |
Byte | Description |
Bytes 0-3 |
Frequency Range = 20 to 10390000 with step size 1 |
Byte 4 |
Duty Cycle Range = 0 to 100 with step size 1 |
Byte 5 |
Output Enabled bit0: 1 = Enabled 0 = Disabled |
Gets the Dutycycle and frequency for the specified PWM port. It also returns whether the port is currently enabled or disabled. |
Set PWM Input Configuration | |
---|---|
Write Parameter(s) | |
Byte | Description |
Byte 0 |
Port 0 = PWM Input Counter 0 1 = PWM Input Counter 1 |
Bytes 1-4 |
Sample Rate |
Byte 5 |
In Counter Enabled |
Sets the sample rate, dutycycle, high pulse width and low pulse width of the specified PWM incounter port. It also enables or disables the port. |
Get PWM Input Configuration | |
---|---|
Read Parameter(s) | |
Byte | Description |
Byte 0 |
Port 0 = PWM Input Counter 0 1 = PWM Input Counter 1 |
Return Parameter(s) | |
Byte | Description |
Bytes 0-3 |
Sample Rate Range = 317 to 20780000 with step size 1 |
Byte 4 |
In Counter Enabled |
Bytes 5-6 |
High Pulse Width |
Bytes 7-8 |
Low Pulse Width |
Byte 9 |
Duty Cycle Range = 0 to 100 with step size 1 |
Gets the sample rate, dutycycle, high pulse width and low pulse width of the specified PWM incounter port. It also returns whether the port is currently enabled or disabled. |
Set I2C Passthrough | |
---|---|
Write Parameter(s) | |
Byte | Description |
Byte 0 |
Port 0 = I2C Port 0 1 = I2C Port 1 2 = I2C Port 2 3 = Only three Ports are supported |
Byte 1 |
7-bit Address - 0 = 10-bit Address; 1 = 7-bit Address |
Byte 2 |
SubAddress Present - 0 = No sub-addr present; 1 = sub-addr present |
Bytes 3-6 |
Clock Rate - 100Khz or 400Khz supported |
Bytes 7-8 |
Device Address |
Bytes 9- Number of bytes passed |
Sub-address (if present) |
Bytes 9 - * |
Data Bytes |
Writes data to specified I2C device address. |
Get I2C Passthrough | |
---|---|
Read Parameter(s) | |
Byte | Description |
Byte 0 |
Port 0 = I2C Port 0 1 = I2C Port 1 2 = I2C Port 2 3 = Only three Ports are supported |
Byte 1 |
7-bit Address 0 = 10-bit Address 1 = 7-bit Address |
Byte 2 |
SubAddress Present - 0 = No sub-addr present; 1 = sub-addr present |
Bytes 3-6 |
Clock Rate |
Bytes 7-8 |
Device Address |
Bytes 9-10 |
Byte Count |
Bytes 11- Number of bytes passed |
sub-address (if present) |
Return Parameter(s) | |
Byte | Description |
Bytes 0- Number of bytes passed |
Data Bytes |
Reads data from specified I2C device address. |
Get DMD Temperature | |
---|---|
Return Parameter(s) | |
Byte | Description |
Bytes 0-1 |
value in degree CelciusNote : As a default condition, the firmware is configured to read TMP411A outputs using I2C port 2. This can be changed as desired. Using latest DLP Composer SW, the firmware can be rebuilt to receive serial data via I2C at ports 1 and 2 to which the hardware would need to be configured. Range = -256 to 255 with step size 1 |
This command applicable only if TMP411A temperature sensor is installed in the system. |
Set EEPROM Lock State | |
---|---|
Write Parameter(s) | |
Byte | Description |
Byte 0 |
'0' - Unlocked '1' - Locked |
Sets the lock state of EEPROM. When lock is set, all writes to EEPROM settings and/or calibration data from application software will not be actually written to the EEPROM. The locked mode is to be used only in factory where user wants to play around with various settings without actually recording them in the EEPROM. In normal use mode, the lock is not supposed to be set. |
Get EEPROM Lock State | |
---|---|
Data returned is in the same format as the Write Parameter(s). | |
Gets the lock state of EEPROM. |
Set UART Configuration | |
---|---|
Write Parameter(s) | |
Byte | Description |
Byte 0 |
UART Port 0 = Port0 1 = Port1 2 = Port2 |
Byte 1 |
Enable State bit0: 0 = Disable 1 = Enable |
Byte 2 |
Baud Rate 0 = 1200 1 = 2400 2 = 4800 3 = 9600 4 = 14400 5 = 19200 6 = 38400 7 = 57600 8 = 115200 9 = 230400 10 = 460800 11 = 921600 |
Byte 3 |
Data Bits 0 = 5 1 = 6 2 = 7 3 = 8 |
Byte 4 |
Stop Bits 0 = 1 1 = 2 |
Byte 5 |
Parity 0 = Parity bit is neither transmitted or checked 1 = Even parity is transmitted and checked 2 = Odd parity is transmitted and checked |
Byte 6 |
Flow Control 0 = Off 1 = Hardware flow control |
Byte 7 |
Rx Trig Level 0 = One Eighth Full 1 = One Fourth Full 2 = One Half Full 3 = Three Fourths Full 4 = Seven Eighths Full |
Byte 8 |
Tx Trig Level 0 = One Eighth Full 1 = One Fourth Full 2 = One Half Full 3 = Three Fourths Full 4 = Seven Eighths Full |
Byte 9 |
Rx Data Polarity 0 = Supply non-inverted version of UART_RXD input 1 = Supply inverted version of UART_RXD input |
Byte 10 |
Rx Data Source 0 = UART_x.RXD is sourced by UART_x_RXD pin 1 = UART_x.RXD is sourced by LAMPSTAT pin |
Initializes all programmable parameters for the specified UART port. |
Get UART Configuration | |
---|---|
Read Parameter(s) | |
Byte | Description |
Byte 0 |
UART Port 0 = Port0 1 = Port1 2 = Port2 |
Return Parameter(s) | |
Byte | Description |
Byte 0 |
Enable State bit0: 0 = Disable 1 = Enable |
Byte 1 |
Baud Rate 0 = 1200 1 = 2400 2 = 4800 3 = 9600 4 = 14400 5 = 19200 6 = 38400 7 = 57600 8 = 115200 9 = 230400 10 = 460800 11 = 921600 |
Byte 2 |
Data Bits 0 = 5 1 = 6 2 = 7 3 = 8 |
Byte 3 |
Stop Bits 0 = 1 1 = 2 |
Byte 4 |
Parity 0 = Parity bit is neither transmitted or checked 1 = Even parity is transmitted and checked 2 = Odd parity is transmitted and checked |
Byte 5 |
Flow Control 0 = Off 1 = Hardware flow control |
Byte 6 |
Rx Trig Level 0 = One Eighth Full 1 = One Fourth Full 2 = One Half Full 3 = Three Fourths Full 4 = Seven Eighths Full |
Byte 7 |
Tx Trig Level 0 = One Eighth Full 1 = One Fourth Full 2 = One Half Full 3 = Three Fourths Full 4 = Seven Eighths Full |
Byte 8 |
Rx Data Polarity 0 = Supply non-inverted version of UART_RXD input 1 = Supply inverted version of UART_RXD input |
Byte 9 |
Rx Data Source 0 = UART_x.RXD is sourced by UART_x_RXD pin 1 = UART_x.RXD is sourced by LAMPSTAT pin |
Gets current configuration for the specified UART port. |
Set Actuator EEPROM Free Memory Access | |
---|---|
Write Parameter(s) | |
Byte | Description |
Bytes 0-1 |
Offset |
Bytes 2-3 |
Size |
Bytes 4 - * |
Data Bytes |
Writes data to Actuator EEPROM available memory. |
Get Actuator EEPROM Free Memory Access | |
---|---|
Read Parameter(s) | |
Byte | Description |
Bytes 0-1 |
Offset |
Bytes 2-3 |
Size |
Return Parameter(s) | |
Byte | Description |
Bytes 0- Number of bytes passed |
Data Bytes |
This Command reads data from Actuator EEPROM Free memory. |
Get Actuator EEPROM Free Memory Info | |
---|---|
Return Parameter(s) | |
Byte | Description |
Bytes 0-1 |
Offset |
Bytes 2-3 |
Size |
This command returns the XPR EEPROM address offset which corresponds to the start of free memory area and size available. |