DLPU082B August   2021  – August 2022 DLPC7540

 

  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
    2. 14.2 PWM
  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-Initialization Batch File
  20. 18Command Descriptions
  21. 19System 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 Manual WPC
    13. 19.13 Peripherals
    14. 19.14 Warping
  22.   Revision History

Debug

Debug

Table 19-56 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-57 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-58 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

bit11: Communication related

bit13: 3D

bit14: RFC messaging

bit15: I2C Handler

bit17: Closed Captioning

bit18: Reserved

bit19: GUI

bit20: Environment

bit21: Illumination

bit22: System functions

bit23: EEPROM

bit24: Datapath

bit25: Autolock

bit26: Projector Control

bit27: Peripheral

bit28: IR

bit29: USB

bit30: 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

bit11: Communication related

bit13: 3D

bit14: RFC messaging

bit15: I2C Handler

bit17: Closed Captioning

bit18: DDC CI

bit19: GUI

bit20: Environment

bit21: Illumination : DMD, wheel, lamp

bit22: System functions

bit23: EEPROM

bit24: Datapath

bit25: Autolock

bit26: Projector Control

bit27: Peripheral

bit28: IR

bit29: USB

bit30: 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-59 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-60 EEPROM Memory [Opcode: E2h | Destination: 4]
Set EEPROM Memory
Write Parameter(s)
Byte Description
Bytes 0-1

Index of the memory to write (0 means first byte in EEPROM, 1 means second byte and so on)

Bytes 2-3

Number of bytes to be written

Bytes 4-7

EEPROM password if the user needs to write to the TI specified memory space

Bytes 8- Number of bytes passed

Data

Writes data to EEPROM connected to the controller.

The EEPROM holds settings and calibration data. The primary purpose of this function is for the user to write to areas of EEPROM outside of the settings and calibration data. If user wants to overwrite settings/calibration data, the password sent with the command should match the expected password. This is a protection mechanism to prevent accidental overwrite of settings/calibration data.

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

Index of the memory to read from

Bytes 2-3

Number of bytes to read

Return Parameter(s)
Byte Description
Bytes 0- Number of bytes passed

Data

This function reads data from EEPROM connected to the Controller which has settings and calibration data.

Note : EEPROM data can be read without unlocking.

Table 19-61 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-62 Vsync Period [Opcode: E5h | Destination: 4]
Get Vsync Period
Return Parameter(s)
Byte Description
Bytes 0-3

Frame period in micro seconds

Returns the latest VSync period measurement

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

Enable State

bit0: 0 = Disable; 1 = Enable

Returns DMD power enable state

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

Park State

bit0: 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-65 DMD True Global Reset [Opcode: EBh | Destination: 4]
Set DMD True Global Reset
Write Parameter(s)
Byte Description
Byte 0

True Global Mode

bit0: 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-66 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-67 Print All Task Information [Opcode: F1h | Destination: 4]
Write Parameter(s)

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

Table 19-68 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-69 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.