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