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

Administrative

Administrative

Table 19-4 Mode [Opcode: 00h | Destination: 1]
Get Mode
Return Parameter(s)
Byte Description
Byte 0

Mode Info

bit 0: Application Mode

0 = Bootloader

1 = Main Application

bit 1: Controller Configuration

0 = Single

1 = Multiple

This command returns whether we are in Bootloader or in Main Application.

Table 19-5 Controller Info [Opcode: 00h | Destination: 4]
Get Controller Info
Return Parameter(s)
Byte Description
Bytes 0-3

Controller ID

Bytes 4-12

Controller Name

Returns DLP Controller Information.

Table 19-6 Version [Opcode: 01h | Destination: 1]
Get Version
Return Parameter(s)
Byte Description
Byte 0

App Major

Byte 1

App Minor

Bytes 2-3

App Patch

Byte 4

0-Production; A-Alpha; B-Beta

Byte 5

(0-Production; 1-255-Alpha/Beta)

Byte 6

(0-Not a test build; 1-255-Test-build-number)

Byte 7

API Major

Byte 8

API Minor

Bytes 9-10

API Patch

Byte 11

0-Production; A-Alpha; B-Beta

Byte 12

(0-Production; 1-255-Alpha/Beta)

Byte 13

(0-Not a test build; 1-255-Test-build-number)

This command returns the version of the currently active Application and the version of the underlying API library. The currently active application can be queried using Get Mode command.

Table 19-7 DMD Info [Opcode: 01h | Destination: 4]
Get DMD Info
Return Parameter(s)
Byte Description
Bytes 0-3

DMD device ID

Bytes 4-7

DMD Fuse ID

Bytes 8-25

Fuse Bit String

Bytes 26-33

DMD Name

Returns the DMD information.

Table 19-8 Switch Mode [Opcode: 02h | Destination: 1]
Set Switch Mode
Write Parameter(s)
Byte Description
Byte 0

Application to switch to

0 = Switch to bootloader

1 = Via reset

2 = Switch to application regardless of the BOOT_HOLD GPIO State. This option is provided for debug purposes only

3 = Switch to application with DMD True Global Enabled regardless of the BOOT_HOLD GPIO State.

This command is used to switch between bootloader and application mode.

Table 19-9 DMD Resolution [Opcode: 02h | Destination: 4]
Get DMD Resolution
Return Parameter(s)
Byte Description
Bytes 0-1

Effective width of DMD in pixels.

Bytes 2-3

Effective height of DMD in lines.

Returns the DMD width and height in number of pixels and lines respectively.

Table 19-10 Flash Version [Opcode: 03h | Destination: 4]
Get Flash Version
Return Parameter(s)
Byte Description
Byte 0

Flash Version Major

Byte 1

Flash Version Minor

Byte 2

Flash Version Subminor

Returns version number that uniquely identifies the flash image.

Table 19-11 Flash Layout Version [Opcode: 04h | Destination: 4]
Get Flash Layout Version
Return Parameter(s)
Byte Description
Bytes 0-1

Flash Config Layout Version

Bytes 2-33

Flash Config Layout Hash

Bytes 34-35

Application Config Layout Version

Bytes 36-67

Application Config Layout Hash

Returns supported Layout revision numbers and hash for flash config and app config layout.

Table 19-12 Product Configuration Failure Cause [Opcode: 05h | Destination: 4]
Get Product Configuration Failure Cause
Return Parameter(s)
Byte Description
Byte 0

Cause of product configuration failure.

0 = Invalid Controller for the product configuration

1 = Invalid DMD for the product configuration

2 = DMD project data does not match the actual DMD

3 = PAD cannot be used to drive SSI or DMD in ECD system

4 = Invalid Pad Configuration

Use this command to get the cause of product configuration failure if Product Configuration Failed is set in system status command.

Table 19-13 System Status [Opcode: 06h | Destination: 4]
Get System Status
Return Parameter(s)
Byte Description
Bytes 0-3

System Status Word 0

bit 0: Reserved

bit 1: Reserved

bit 2: Reserved

bit 3: Reserved

bit 4: Memory test of internal DRAM passed

bit 10: Frame Rate Conversion Enable

bit 11: Sequence Phase Lock

bit 12: Sequence Frequency Lock

bit 13: Sequence search

bit 29: System Color Point Calibration Enable

bit 30: Variable Illumination Calibration Enable

bit 31: Brilliant color Calibration Enable

Bytes 4-7

System Status Word 1

bit 0: Sequence Error

bit 1: Pixel clock out of range

bit 2: Vsync valid

bit 6: UART port 0 communication error (If Port Enabled)

bit 7: UART port 1 communication error (If Port Enabled)

bit 8: UART port 2 communication error (If Port Enabled)

bit 9: SSP port 0 communication error (If Port Enabled)

bit 10: SSP port 1 communication error (If Port Enabled)

bit 11: SSP port 1 communication error (If Port Enabled)

bit 12: I2C port 0 communication error (If Port Enabled)

bit 13: I2C port 1 communication error (If Port Enabled)

bit 14: I2C port 2 communication error (If Port Enabled)

bit 15: DLPC Initialization Error

bit 16: Reserved

bit 17: Reserved

bit 19: No frequency bin found for the selected mode

bit 20: DLPA3005 Communication error (If DLPA3005 present)

bit 21: UMC refresh bandwidth underflow

bit 22: DMD initialization error

bit 23: DMD power down error

bit 24: Source definition not present

bit 25: Sequence binary not present

bit 26: Product configuration failed

bit 27: Dither mask not loaded

Bytes 8-11

System Status Word 2

bit 0: EEPROM initialization failure

Command to read status information from DLP Controller. If status interrupt is enabled (configurable via default UI tool in DLP Composer), reading back this command will acknowledge/deactivate the interrupt pin until the next change in status.

Table 19-14 EEPROM Data Present [Opcode: 07h | Destination: 4]
Get EEPROM Data Present
Return Parameter(s)
Byte Description
Bytes 0-1

Calibration Data Blocks

bit 0: Reserved

bit 1: SSI Calibration Data Present

bit 2: ADC Calibration Data Present

bit 3: WPC Sensor Calibration Data Present

bit 4: WPC Brightness Table Data Present

bit 5: XPR Calibration Data Present

bit 6: XPR Waveform Calibration Data Present

bit 7: Edge Blend Data Present

bit 8: Surface Correction Data Present

Reports which of the calibration data blocks are present in EEPROM. Use this command before sending EEPROM Invalidate command (0x0A).

Table 19-15 General Delay Command [Opcode: 08h | Destination: 4]
Set General Delay Command
Write Parameter(s)
Byte Description
Bytes 0-3

Delay In Milliseconds

On receipt of this command controller wait for specified period before executing the next command. This command to be used in Auto Initialization batchfile configuration. Use this command to insert delay between execution of two commands.

Table 19-16 EEPROM Invalidate [Opcode: 0Ah | Destination: 4]
Set EEPROM Invalidate
Write Parameter(s)
Byte Description
Byte 0

Invalidate Settings Data

bit 0: Invalidate Settings

Bytes 1-2

Invalidate Calibration Data

bit 0: Reserved

bit 1: Invalidate SSI Calibration Data

bit 2: Invalidate ADC Calibration Data

bit 3: Invalidate WPC Sensor Calibration Data

bit 4: Invalidate WPC Brightness Table Data

bit 5: Invalidate XPR Calibration Data

bit 6: Invalidate XPR Waveform Calibration Data

bit 7: Invalidate Edge Blend Data

bit 8: Invalidate Surface Correction Data

Invalidates the user settings portion of EEPROM data or calibration portion of EEPROM data or both as per input arguments and restarts the system. If none of the settings or calibration data is selected, then the command does nothing. Note : Chose valid flags as returned in Get EEPROM Data Present command. command.

Table 19-17 Splash Capture [Opcode: 0Bh | Destination: 4]
Set Splash Capture
Write Parameter(s)

Captures the current external image displayed on the screen and stores it into the Flash memory as a Splash image.

Table 19-18 Splash Capture Status [Opcode: 0Ch | Destination: 4]
Get Splash Capture Status
Return Parameter(s)
Byte Description
Byte 0

Capture State

0 = Image Capture Terminated because of error or Timeout

1 = External Image is being written into the internal DRAM Splash buffer

2 = Image is successfully captured into internal DRAM Splash buffer

3 = Image is being programmed into the Flash memory

4 = Image is successfully programmed into Flash memory

Byte 1

Completion Status

(percentage)

Returns the current status of splash capture.

Table 19-19 Terminate Splash Capture [Opcode: 0Dh | Destination: 4]
Set Terminate Splash Capture
Write Parameter(s)

Terminates any ongoing Splash Capture