DLPU110B April 2021 – August 2022 DLPC6540
Set GPIO Pin Config | |
---|---|
Write Parameter(s) | |
Byte | Description |
Byte 0 |
GPIO to select. Range = 0 to 87. |
Byte 1 |
Input Output bit 0: 1 = Output (Output buffer enabled) 0 = Input (Output buffer High Z) |
Byte 2 |
Logic Value bit 0: 1 = LogicVal 1 0 = LogicVal 0 |
Byte 3 |
Open Drain Configuration bit 0: 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 |
GPIO to select. Range = 0 to 87. |
Return Parameter(s) | |
Byte | Description |
Byte 0 |
Input Output bit 0: 1 = Output (Output buffer enabled) 0 = Input (Output buffer High Z) |
Byte 1 |
Logic Value bit 0: 1 = LogicVal 1 0 = LogicVal 0 |
Byte 2 |
Open Drain Configuration bit 0: 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 |
GPIO to select. Range = 0 to 87. |
Byte 1 |
Logic Value bit 0: 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 |
GPIO to select. Range = 0 to 87. |
Return Parameter(s) | |
Byte | Description |
Byte 0 |
Logic Value bit 0: 1 = LogicVal 1 0 = LogicVal 0 |
Returns the logic value for the specified GPIO pin. |
Set General Purpose 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 General Purpose Clock Enable | |
---|---|
Read Parameter(s) | |
Byte | Description |
Byte 0 |
DLPC Clock Output. |
Return Parameter(s) | |
Byte | Description |
Byte 0 |
Is Enabled |
Get General Purpose 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 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 |
Sub-address Present 0 = No sub-address present; 1 = sub-address 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 |
Sub-address Present 0 = No sub-address present; 1 = sub-address 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 Celcius Note: As a default condition, the firmware is configured to read TMP411A outputs using I2C port 2. 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 saved to the EEPROM. The locked mode is to be used only in factory where user wants to test with various settings without actually recording them in the EEPROM. In normal use mode, the lock state parameters should not be modified. |
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 = Port 0 1 = Port 1 2 = Port 2 |
Byte 1 |
Enable State bit 0: 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 = Port 0 1 = Port 1 2 = Port 2 |
Return Parameter(s) | |
Byte | Description |
Byte 0 |
Enable State bit 0: 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 = Reserved |
Gets current configuration for the specified UART port. |
Write to Actuator EEPROM Free Memory | |
---|---|
Write Parameter(s) | |
Byte | Description |
Byte 0 -1 |
Offset |
Byte 2 - 3 |
Size |
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 saved to the EEPROM. The locked mode is to be used only in factory where user wants to test with various settings without actually recording them in the EEPROM. In normal use mode, the lock state parameters should not be modified. |
Get EEPROM Lock State | |
---|---|
Data returned is in the same format as the Write Parameter(s). | |
Gets the lock state of EEPROM. |
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 |