DLPU110B April   2021  – August 2022 DLPC6540

 

  1.   Programmer's Guide
  2.   Trademarks
  3. Scope
  4. References
  5. Acronyms
  6. System Boot
    1. 4.1 Data In flash
    2. 4.2 Bootloader Application
    3. 4.3 Main Application
    4. 4.4 Commands supported by Bootloader and Main Applications
    5. 4.5 Debug Terminal
    6. 4.6 HOST_IRQ/SYSTEM_BUSY
    7. 4.7 Heartbeat
    8. 4.8 Low-level Fault
  7. System Status
  8. Version
  9. Power Modes
  10. Display Modes
  11. Source Detection and Configuration
  12. 10Internal sources
    1. 10.1 Test Patterns (TPG)
    2. 10.2 Solid Field (SFG) Color
    3. 10.3 Curtain
  13. 11Display Formatting
  14. 12Image Processing
  15. 13Illumination Control
  16. 14Peripherals
    1. 14.1 GPIO
  17. 15Interface Protocol
    1. 15.1 Supported Interfaces
    2. 15.2 I2C Target
    3. 15.3 USB
  18. 16Command Protocol
    1. 16.1 Command Packet
    2. 16.2 Response Packet
    3. 16.3 Destination Details
    4. 16.4 Error Handling and Recovery
    5. 16.5 System Busy - I2C scenarios
      1. 16.5.1 GPIO implementation
      2. 16.5.2 Short Status response
    6. 16.6 Support for Variable Data Size
  19. 17Auto-Initilization Batch File
  20. 18Command Descriptions
  21. 19 System Commands
    1. 19.1  3D
    2. 19.2  Administrative
    3. 19.3  Autolock
    4. 19.4  Blending
    5. 19.5  Bootloader
    6. 19.6  Calibration
    7. 19.7  Debug Internal
    8. 19.8  Debug
    9. 19.9  General Operation
    10. 19.10 Illumination
    11. 19.11 Image Processing
    12. 19.12 Peripherals
    13. 19.13 Warping
    14. 19.14 Manual WPC
  22. 20Revision History

Debug

Debug

Table 19-52 Memory [Opcode: 10h | Destination: 1]
Set Memory
Write Parameter(s)
Byte Description
Bytes 0-3

Memory Address, must be a multiple of 4.

Bytes 4-7

Value to write

This command attempts a direct write of the given 32-bit value to the given 32-bit memory address. The memory address is not verified whether it is a valid location.

Get Memory
Read Parameter(s)
Byte Description
Bytes 0-3

Memory Address, must be a multiple of 4.

Return Parameter(s)
Byte Description
Bytes 0-3

Value read from address

This command returns the 32-bit value stored at the given 32-bit memory address.

Table 19-53 Memory Array [Opcode: 11h | Destination: 1]
Set Memory Array
Write Parameter(s)
Byte Description
Bytes 0-3

Start Address from which data is to be written

Byte 4

Access Info

bits 0-5: Address increment steps. 0 - No increment

bits 6-7: Write access width

0 = Uint32

1 = Uint16

2 = Uint08

Bytes 5-6

Number of words to be written

Byte 7

The number of bytes per word

Range = 1 to 2 with step size 4

Bytes 8 - *

Data to be written

Writes a stream of words into the RAM memory (DRAM or IRAM) starting from the address specified. Performs no checks whether the specified memory address given is valid.

Get Memory Array
Read Parameter(s)
Byte Description
Bytes 0-3

Start Address from which data is to be read

Byte 4

Access Info

bits 0-5: Address increment steps. 0 - No increment

bits 6-7: Read access width

0 = Uint32

1 = Uint16

2 = Uint08

Bytes 5-6

Number of words to be read

Byte 7

The number of bytes per word

Range = 1 to 4 with step size 1

Return Parameter(s)
Byte Description
Bytes 0 - *

Data

Reads a stream of words from memory starting from the address specified. Performs no checks whether the specified memory address given is valid.

Table 19-54 Debug Message Mask [Opcode: E0h | Destination: 4]
Set Debug Message Mask
Write Parameter(s)
Byte Description
Bytes 0-3

Debug Mask

bits 0-10: Reserved

bit 11: Communication related

bit 13: 3D

bit 14: RFC messaging

bit 15: I2C Handler

bit 17: Reserved

bit 18: Reserved

bit 19: GUI

bit 20: Environment

bit 21: Illumination

bit 22: System functions

bit 23: EEPROM

bit 24: Datapath

bit 25: Autolock

bit 26: Projector Control

bit 27: Peripheral

bit 28: IR

bit 29: USB

bit 30: Mailbox

Set enable mask for debug messages. The mask identifies the sources of debug messages which are to be enabled for printing at the UART debug port. The mask bit corresponding to the source has to be set to enable it.

Get Debug Message Mask
Return Parameter(s)
Byte Description
Bytes 0-3

Debug Mask

bit 11: Communication related

bit 13: 3D

bit 14: RFC messaging

bit 15: I2C Handler

bit 17: Closed Captioning

bit 18: DDC CI

bit 19: GUI

bit 20: Environment

bit 21: Illumination

bit 22: System functions

bit 23: EEPROM

bit 24: Datapath

bit 25: Autolock

bit 26: Projector Control

bit 27: Peripheral

bit 28: IR

bit 29: USB

bit 30: Mailbox

Retrieves the current debug message mask. The mask decides which sources of debug messages are enabled. A value of 1 in the mask bit corresponding to a source means that the source is enabled.

Table 19-55 Enable USB Debug Log [Opcode: E1h | Destination: 4]
Set Enable USB Debug Log
Write Parameter(s)
Byte Description
Byte 0

1 = Enable debug log on USB port

0 = Disable debug log on USB port

Enables or disables the USB logging of messages. When USB logging is enabled, UART logging is stopped.

Table 19-56 DLPA3005 Register [Opcode: E3h | Destination: 4]
Set DLPA3005 Register
Write Parameter(s)
Byte Description
Byte 0

Register Address

Byte 1

Register Value

Command that writes specified value to the specified register address. Refer to DLPA30005 datasheet for more information.

(https : //www.ti.com/product/DLPA3005)

Get DLPA3005 Register
Read Parameter(s)
Byte Description
Byte 0

Register Address

Return Parameter(s)
Byte Description
Byte 0

Register Value

Returns specified register value from DLPA3005. Refer to DLPA30005 datasheet for more information.

(https : //www.ti.com/product/DLPA3005)

Table 19-57 TI Actuator Interface Debug [Opcode: E4h | Destination: 4]
Set TI Actuator Interface Debug
Write Parameter(s)
Byte Description
Byte 0

Query type

0 = Query N number of bytes from offset address provided in next two bytes i.e., Bytes 1-2

1 = Query Actuator information also print on UART debug port

2 = Query AWG Data Set for index number provided in next two bytes i.e., Bytes 1-2

3 = Query AWG Edge table header for index number in next two bytes i.e., Bytes 1-2

Bytes 1-2

Query type provided in Byte 0; not applicable when Query type = 1

Bytes 3-4

Number of bytes to be read when Query type = 0. Note maximum 32 bytes can be read at a time.

Command used to query actuator related information for debugging purpose. Use this command to retrieve information when actuator not running or system is in standby state.

Get TI Actuator Interface Debug
Return Parameter(s)
Byte Description
Bytes 0-31

Actuator Data

Command returns queried data as per the settings made in the set command

Table 19-58 DMD Power [Opcode: E8h | Destination: 4]
Get DMD Power
Return Parameter(s)
Byte Description
Byte 0

Enable State

bit 0: 0 = Disable;1 = Enable

Returns DMD power enable state

Table 19-59 DMD Park [Opcode: E9h | Destination: 4]
Set DMD Park
Write Parameter(s)
Byte Description
Byte 0

Park State

bit 0: 0 = Unpark; 1 = Park

Parks/Unparks DMD

Get DMD Park
Data returned is in the same format as the Write Parameter(s).

Returns 1 if DMD is Parked, else returns 0

Table 19-60 DMD True Global Reset [Opcode: EBh | Destination: 4]
Set DMD True Global Reset
Write Parameter(s)
Byte Description
Byte 0

True Global Mode

bit 0: 0 = True Global Reset Mode Disabled; 1 = True Global Reset Mode Enabled.

The TrueGlobalMode should be set to TRUE only during factory/assembly operation.

Get DMD True Global Reset
Data returned is in the same format as the Write Parameter(s).
Table 19-61 Int Stack [Opcode: F0h | Destination: 4]
Get Int Stack
Return Parameter(s)
Byte Description
Bytes 0-3

Stack Size

Bytes 4-7

Stack Used

Bytes 8-11

Stack Free

Gives the current stack usage information
Table 19-62 Print All Task Information [Opcode: F1h | Destination: 4]
Write Parameter(s)

Prints(on UART) information of all tasks defined/created with RTOS.

Table 19-63 Resource [Opcode: F2h | Destination: 4]
Get Resource
Return Parameter(s)
Byte Description
Byte 0

Tasks High Count

Byte 1

Events High Count

Byte 2

Group Events High Count

Byte 3

Mailbox High Count

Byte 4

Memory Pools High Count

Byte 5

Semaphore High Count

Byte 6

Tasks Current Count

Byte 7

Events Current Count

Byte 8

Group Events Current Count

Byte 9

Mailbox Current Count

Byte 10

Memory Pools Current Count

Byte 11

Semaphore Current Count

Gives the maximum RTOS resource usage by the application.

Table 19-64 EEPROM Free Area Offset [Opcode: FFh | Destination: 4]
Get EEPROM Free Area Offset
Return Parameter(s)
Byte Description
Bytes 0-1

Free Area Offset

This function idicates the EEPROM address offset which corresponds to the start of free area.