DLPU057A March   2018  – April 2022 DLP3030-Q1

 

  1. 1Serial Peripheral Interface (SPI)
    1. 1.1 Serial Peripheral Interface (SPI)
    2. 1.2 Block Diagram
    3. 1.3 Signal Format
    4. 1.4 SPI Packet Structure
      1. 1.4.1 START CHARACTER
      2. 1.4.2 Command Byte
      3. 1.4.3 Length Byte
      4. 1.4.4 Data Bytes
      5. 1.4.5 Checksum
      6. 1.4.6 Response Byte
    5. 1.5 Error Checking Mechanisms
      1. 1.5.1 SPI Transaction Start and Escape Character
      2. 1.5.2 Checksum Computation With Special Characters
      3. 1.5.3 SPI Flow Control Diagrams
  2. 2SPI Command Specification – Bootloader
    1. 2.1 SPI Command Specification – Bootloader
    2. 2.2 Bootloader Software Version (32h)
      1. 2.2.1 Read Response
    3. 2.3 Bootloader Software Status (33h)
      1. 2.3.1 Read Response
    4. 2.4 Binary Flash Read/Set Binary Read Start Address (71h)
      1. 2.4.1 Write
      2. 2.4.2 Read
      3. 2.4.3 Read Response
    5. 2.5 Toggle Mode (7Ah)
      1. 2.5.1 Read
      2. 2.5.2 Read Response
    6. 2.6 Program Piccolo Software (7Bh)
      1. 2.6.1 Erase
      2. 2.6.2 Start Address and Length
      3. 2.6.3 Program
      4. 2.6.4 Read
      5. 2.6.5 Read Response
    7. 2.7 Piccolo Program Mode (7Eh)
      1. 2.7.1 Read Response
    8. 2.8 Stay in Bootloader
      1. 2.8.1 Write Bytes
      2. 2.8.2 Read Response
  3. 3SPI Command Specification – Main Application
    1. 3.1  SPI Command Specification – Main Application
    2. 3.2  Backlight (00h)
      1. 3.2.1 Write
      2. 3.2.2 Read
      3. 3.2.3 Read Response
    3. 3.3  Master ON/OFF (01h)
      1. 3.3.1 Write
      2. 3.3.2 Read
      3. 3.3.3 Read Response
    4. 3.4  DMD Park (02h)
      1. 3.4.1 Write
      2. 3.4.2 Read
      3. 3.4.3 Read Response
    5. 3.5  Splash Control Mode (25h)
      1. 3.5.1 Write
      2. 3.5.2 Read
      3. 3.5.3 Read Response
    6. 3.6  DMD Drive Strength (26h)
      1. 3.6.1 Write
      2. 3.6.2 Read
      3. 3.6.3 Read Response
    7. 3.7  Heater PWM Parameters (27h)
      1. 3.7.1 Write
      2. 3.7.2 Read
      3. 3.7.3 Read Response
    8. 3.8  Bezel Offset (28h)
      1. 3.8.1 Write
      2. 3.8.2 Read
      3. 3.8.3 Read Response
    9. 3.9  Prepare ASIC Flash/Switch SPI Bus (2Fh)
      1. 3.9.1 Write
      2. 3.9.2 Read
      3. 3.9.3 Read Response
    10. 3.10 ASIC BIST Results (30h)
      1. 3.10.1 Read Response
    11. 3.11 ASIC Initialization Type (31h)
      1. 3.11.1 Read Response
    12. 3.12 Piccolo Software Version (32h)
      1. 3.12.1 Read Response
    13. 3.13 Piccolo Software Status (33h)
      1. 3.13.1 Read Response
    14. 3.14 ASIC Register (34h)
      1. 3.14.1 Write
      2. 3.14.2 Read
      3. 3.14.3 Read Response
      4. 3.14.4 ASIC Register Details
    15. 3.15 VAC Mode (35h)
      1. 3.15.1 Write
      2. 3.15.2 Read
      3. 3.15.3 Read Response
    16. 3.16 Operating Mode (36h)
      1. 3.16.1 Read Response
    17. 3.17 PWM Sensitivity (37h)
      1. 3.17.1 Read Response
    18. 3.18 Piccolo Software Secondary Status (38h)
      1. 3.18.1 Read Response
    19. 3.19 Extra Information Keys (39h)
      1. 3.19.1 Read
      2. 3.19.2 Read Response
    20. 3.20 Extra Information Values (3Ah)
      1. 3.20.1 Read
      2. 3.20.2 Read Response
    21. 3.21 Dimming LUT Group and Gamma Index (40h)
      1. 3.21.1 Write
      2. 3.21.2 Read
      3. 3.21.3 Read Response
    22. 3.22 Dimming LUT Group Information (41h)
      1. 3.22.1 Read
      2. 3.22.2 Read Response
    23. 3.23 CMT/Gamma Information (43h)
      1. 3.23.1 Read
      2. 3.23.2 Read Response
    24. 3.24 Command List Address (4Eh)
      1. 3.24.1 Read
      2. 3.24.2 Read Response
    25. 3.25 Generic Command List Type (4Fh)
      1. 3.25.1 Read
      2. 3.25.2 Read Response
    26. 3.26 Command List Numbers (50h)
      1. 3.26.1 Read
      2. 3.26.2 Read Response
    27. 3.27 Read Command Table Info / Execute Command List (51h)
      1. 3.27.1 Write
      2. 3.27.2 Read
      3. 3.27.3 Read Response
    28. 3.28 Front End Video BIST Pixels (53h)
      1. 3.28.1 Write
      2. 3.28.2 Read
      3. 3.28.3 Read Response
    29. 3.29 Front End Video BIST (54h)
      1. 3.29.1 Write
      2. 3.29.2 Read
      3. 3.29.3 Read Response
    30. 3.30 External Video Detect BIST (55h)
      1. 3.30.1 Write
      2. 3.30.2 Read
      3. 3.30.3 Read Response
    31. 3.31 Low Pass Filter Constants (60h)
      1. 3.31.1 Write
      2. 3.31.2 Read
      3. 3.31.3 Read Response
    32. 3.32 Temperature Compensation (61h)
      1. 3.32.1 Write
      2. 3.32.2 Read
      3. 3.32.3 Read Response
    33. 3.33 LED Voltage and Current (62h)
      1. 3.33.1 Read
      2. 3.33.2 Read Response
    34. 3.34 DMD Temperature (63h)
      1. 3.34.1 Read
      2. 3.34.2 Read Response
      3. 3.34.3 Example: K10 Format:
    35. 3.35 Enable Calibration Mode (64h)
      1. 3.35.1 Write
      2. 3.35.2 Read
      3. 3.35.3 Read Response
    36. 3.36 Red LED PWM (65h)
      1. 3.36.1 Write
      2. 3.36.2 Read
      3. 3.36.3 Read Response
    37. 3.37 Green LED PWM (66h)
      1. 3.37.1 Write
      2. 3.37.2 Read
      3. 3.37.3 Read Response
    38. 3.38 Blue LED PWM (67h)
      1. 3.38.1 Write
      2. 3.38.2 Read
      3. 3.38.3 Read Response
    39. 3.39 Current Limit PWM (68h)
      1. 3.39.1 Write
      2. 3.39.2 Read
      3. 3.39.3 Read Response
    40. 3.40 Sensor Gain (69h)
      1. 3.40.1 Write
      2. 3.40.2 Read
      3. 3.40.3 Read Response
    41. 3.41 Command Table Index (6Ah)
      1. 3.41.1 Write
      2. 3.41.2 Read
      3. 3.41.3 Read Response
    42. 3.42 Sensor Gain Map (6Bh)
      1. 3.42.1 Read Response
    43. 3.43 Adapter ADC Voltages (0x6C)
      1. 3.43.1 Read
      2. 3.43.2 Read Response
    44. 3.44 Configuration Format Version (6Dh)
      1. 3.44.1 Read Response
      2. 3.44.2 Description of Configuration Format
    45. 3.45 Calibration Format Version (6Eh)
      1. 3.45.1 Read Response
      2. 3.45.2 Description of Calibration Format
    46. 3.46 Calibration Data Version (6Fh)
      1. 3.46.1 Read Response
    47. 3.47 Program Calibration Data to Flash (70h)
      1. 3.47.1 Write
    48. 3.48 Binary Flash Read/Set Binary Read Start Address (71h)
      1. 3.48.1 Write
      2. 3.48.2 Read
      3. 3.48.3 Read Response
    49. 3.49 Set PWM Period/Read PWM Info (72h)
      1. 3.49.1 Write
      2. 3.49.2 Read
      3. 3.49.3 Read Response
    50. 3.50 PWM Scale Factor (73h)
      1. 3.50.1 Read Response
    51. 3.51 ASIC Flash Read (74h)
      1. 3.51.1 Read Response
    52. 3.52 ASIC Flash Read Setup (75h)
      1. 3.52.1 Write
      2. 3.52.2 Read
      3. 3.52.3 Read Response
    53. 3.53 Power Rail Voltages (0x78)
      1. 3.53.1 Read
      2. 3.53.2 Read Response
    54. 3.54 Voltage Supervision (or Voltage Monitoring) (0x79)
      1. 3.54.1 Write
      2. 3.54.2 Read
      3. 3.54.3 Read Response
    55. 3.55 Toggle Mode (7Ah)
      1. 3.55.1 Read
      2. 3.55.2 Read Response
    56. 3.56 Piccolo IIC Clock Rate (7Ch)
      1. 3.56.1 Write
      2. 3.56.2 Read
      3. 3.56.3 Read Response
    57. 3.57 Piccolo Program Mode (7Eh)
      1. 3.57.1 Read Response
  4. 4Examples
    1. 4.1  Examples
    2. 4.2  Write Backlight 0xFFFF
    3. 4.3  Write Backlight 0xA523 (Special Char in Data)
    4. 4.4  Write Backlight 0xFA5A (Special Char in Data)
    5. 4.5  Write Backlight 0xE96F (Special Char in Checksum)
    6. 4.6  Write Backlight 0x9013 (Special Char in Checksum)
    7. 4.7  Write – Failure – Checksum Mismatch
    8. 4.8  Write – Failure – Invalid Cmd
    9. 4.9  Write – Failure – Command Not Available
    10. 4.10 Write – Failure – Length Mismatch
    11. 4.11 Write – Other Errors
    12. 4.12 Read Backlight
    13. 4.13 Read ASIC Register
    14. 4.14 Read – Failure
  5. 5Writing and Reading a Floating Point Number
    1. 5.1 Writing and Reading a Floating Point Number
    2. 5.2 Example: Writing Floating Point Data (say 1.0):
    3. 5.3 Example: Reading Floating Point Data:
  6. 6Revision History

Write

This command is used to program the Calibration Data to flash. This command supports variable length. Since the SPI Protocol supports only 255 bytes of data per command, the calibration data to program should be split across multiple commands to transmit the complete data.

This command is only supported in Calibration Mode.

ByteDescription
1Command Byte (E0h)
2Length
3Command Flag (See below)
4Data
..Data
..Checksum
msbByte 3: Command Flaglsb
b7b6b5b4b3b2b1b0
b (7:0) -0 – This command contains the complete data
1 – This command contains the beginning of data
2 – This command contains intermediate data
3 –  This command contains the last data
Figure 3-13 Command Flag

The command flag indicates the position of the data sent by the master.

If the calibration data is less than 254 bytes, command flag ‘0’ can be used to program the flash in a single step. In this mode, the internal flash sector which stores the calibration data will be erased and programmed with the received data. The software will then verify the validity of the data post which it will be used for new dimming computations. Appropriate status flags will be set if the programmed data is found to be invalid.

For calibration data exceeding 254 bytes, this command should be issued multiple times with the command flag set to ‘1’ for first 254 bytes, ‘2’ for all intermediate bytes and ‘3’ for the last set of bytes (less than or equal to 254).

When Command flag = ‘1’, the software erases the internal flash sector allotted for calibration data and stores the received data.

When Command flag = ‘2’, the software will program the received data to that location in flash where it stopped in the last step.

When Command flag = ‘3’, the received data will first be programmed to flash in the same way as command flag = ‘2’. After this, the validity of the calibration data is checked. The command will fail if the calibration data programmed is not valid.

The verification of new calibration data is done only after overwriting existing contents of flash with new data. Therefore, utmost care should be taken in forming the calibration data to program to flash. It is recommended to use TI provided tools to prepare and program calibration data to Piccolo flash. The system will not work without presence of proper calibration data.

Command FlagBeginning (1)Intermediate (2)Last (3)
Data Bytes0-254255-509510-764