DLPU082C August   2021  – March 2024 DLPC7540

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. Scope
  5. References
  6. Acronyms
  7. 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
  8. System Status
  9. Version
  10. Power Modes
  11. Display Modes
  12. Source Detection and Configuration
  13. 10Internal Sources
    1. 10.1 Test Patterns (TPG)
    2. 10.2 Solid Field (SFG) Color
    3. 10.3 Curtain
  14. 11Display Formatting
  15. 12Image Processing
  16. 13Warping
    1. 13.1 Control Point Table
    2. 13.2 Manual Warp Table
    3. 13.3 Table Constraints
    4. 13.4 Example Warp Table
    5. 13.5 Manual Warping Commands
      1. 13.5.1 CMD_SetManualWarpControlPoints [Command ID: 0x35, Destination: 4]
      2. 13.5.2 CMD_GetManualWarpControlPoints [Command ID: 0x35, Destination: 4]
      3. 13.5.3 CMD_WriteManualWarpTable [Opcode: 0x34, Destination: 4]
      4. 13.5.4 CMD_ReadManualWarpTable [Opcode: 0x34, Destination: 4]
      5. 13.5.5 CMD_ConfigureSmoothWarp [Command ID: 0x38, Destination: 4]
      6. 13.5.6 CMD_ApplyManualWarping [Command ID: 0x36, Destination: 4]
    6. 13.6 Optical (Lens) Distortion Correction
  17. 14Introduction to Blending
    1. 14.1  Blend Map Control Points
    2. 14.2  Blend Map Gain Values
    3. 14.3  Blend Map Offset Value
    4. 14.4  Constraints
    5. 14.5  Manual Blending Commands
      1. 14.5.1 CMD_EnableEdgeBlending [Command ID: 0x2F]
      2. 14.5.2 CMD_SetBlendMapControlPoints [Opcode: 0x2E]
      3. 14.5.3 CMD_ GetBlendMapControlPoints [Command ID: 0x2E]
      4. 14.5.4 CMD_SetBlendMapGainValues [Command ID: 0x2B]
      5. 14.5.5 CMD_ GetBlendMapGainValues [Command ID: 0x2B]
      6. 14.5.6 CMD_ SetBlendMapOffsetValues [Command ID: 0x2D]
      7. 14.5.7 CMD_ GetBlendMapOffsetValues [Command ID: 0x2D]
      8. 14.5.8 CMD_ApplyBlendMap [Command ID: 0x2C]
    6. 14.6  Manual Blending Application Commands
      1. 14.6.1 CMD_SetEdgeBlendingSystemParams [Command ID: 0x3D]
      2. 14.6.2 CMD_GetEdgeBlendingSystemParams [Command ID: 0x3D]
      3. 14.6.3 CMD_SetEdgeBlendingConfiguration [Command ID: 0x3E]
      4. 14.6.4 CMD_GetEdgeBlendingConfiguration [Command ID: 0x3E]
    7. 14.7  Cropping of Input Image for Blending Setup
    8. 14.8  Storing Edge Blend Configuration in EEPROM
    9. 14.9  Storing in EEPROM or Secondary Flash
    10. 14.10 Manual Blending GUI in Control Program
  18. 15Illumination Control
  19. 16Peripherals
    1. 16.1 GPIO
    2. 16.2 PWM
  20. 17Interface Protocol
    1. 17.1 Supported Interfaces
    2. 17.2 I2C Target
    3. 17.3 USB
  21. 18Command Protocol
    1. 18.1 Command Packet
    2. 18.2 Response Packet
    3. 18.3 Destination Details
    4. 18.4 Error Handling and Recovery
    5. 18.5 System Busy - I2C scenarios
      1. 18.5.1 GPIO Implementation
      2. 18.5.2 Short Status Response
    6. 18.6 Support for Variable Data Size
  22. 19Auto-Initialization Batch File
  23. 20Command Descriptions
  24. 21System Commands
    1. 21.1  3D
    2. 21.2  Administrative
    3. 21.3  Autolock
    4. 21.4  Bootloader
    5. 21.5  Calibration
    6. 21.6  Blending
    7. 21.7  Debug Internal
    8. 21.8  Debug
    9. 21.9  General Operation
    10. 21.10 Illumination
    11. 21.11 Image Processing
    12. 21.12 Manual WPC
    13. 21.13 Peripherals
    14. 21.14 Vision
    15. 21.15 Warping
  25.   Revision History

Debug

Debug

Table 21-56 Memory [Opcode: 10h | Destination: 1]
Set Memory
Write Parameters
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 Parameters
Byte Description
Bytes 0-3

Memory Address, must be a multiple of 4.

Return Parameters
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 21-57 Memory Array [Opcode: 11h | Destination: 1]
Set Memory Array
Write Parameters
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 Parameters
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 Parameters
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 21-58 Debug Message Mask [Opcode: E0h | Destination: 4]
Set Debug Message Mask
Write Parameters
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 Parameters
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 21-59 Enable USB Debug Log [Opcode: E1h | Destination: 4]
Set Enable USB Debug Log
Write Parameters
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 21-60 EEPROM Memory [Opcode: E2h | Destination: 4]
Set EEPROM Memory
Write Parameters
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 Parameters
Byte Description
Bytes 0-1

Index of the memory to read from

Bytes 2-3

Number of bytes to read

Return Parameters
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 21-61 TI Actuator Interface Debug [Opcode: E4h | Destination: 4]
Set TI Actuator Interface Debug
Write Parameters
Byte Description
Byte 0 Query type

0 = Query N number of bytes from offset address provided in next two bytes, 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, Bytes 1-2

3 = Query AWG Edge table header for index number in next two bytes, 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 Parameters
Byte Description
Bytes 0-31 Actuator Data
Command returns queried data as per the settings made in the set command
Table 21-62 Vsync Period [Opcode: E5h | Destination: 4]
Get Vsync Period
Return Parameters
Byte Description
Bytes 0-3

Frame period in micro seconds

Returns the latest VSync period measurement

Table 21-63 DMD Power [Opcode: E8h | Destination: 4]
Get DMD Power
Return Parameters
Byte Description
Byte 0

Enable State

bit0: 0 = Disable; 1 = Enable

Returns DMD power enable state

Table 21-64 DMD Park [Opcode: E9h | Destination: 4]
Set DMD Park
Write Parameters
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 Parameters.

Returns 1 if DMD is Parked, else returns 0

Table 21-65 DMD True Global Reset [Opcode: EBh | Destination: 4]
Set DMD True Global Reset
Write Parameters
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 Parameters.
Table 21-66 Int Stack [Opcode: F0h | Destination: 4]
Get Int Stack
Return Parameters
Byte Description
Bytes 0-3

Stack Size

Bytes 4-7

Stack Used

Bytes 8-11

Stack Free

Gives the current stack usage information
Table 21-67 Print All Task Information [Opcode: F1h | Destination: 4]
Write Parameters

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

Table 21-68 Resource [Opcode: F2h | Destination: 4]
Get Resource
Return Parameters
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 21-69 EEPROM Free Area Offset [Opcode: FFh | Destination: 4]
Get EEPROM Free Area Offset
Return Parameters
Byte Description
Bytes 0-1

Free Area Offset

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