DLPU048E
August 2016 – July 2024
1
Trademarks
1
Introduction
1.1
Document Overview
1.2
Software Overview
1.3
Headlight Overview
2
Electrical Interface
2.1
Power-Up Signals
2.1.1
STAY-IN-BOOT (TSTPT_0)
2.1.2
HOST_IF_SEL
2.1.3
CRCZ_CHKSUM_SEL
2.1.4
HOST_SPI_MODE
2.1.4.1
Boot Flow Debug
2.1.5
SPREAD-SPECTRUM-DISABLE (TSTPT_5)
2.2
System Signals
2.2.1
HOST_IRQ
2.2.2
GPIO
2.2.3
PWM Control
3
Communication Protocol
3.1
Command Protocol
3.2
SPI Specifications
3.3
I2C Specifications
3.4
Write
3.4.1
Short Write
3.4.1.1
SPI Short Write
3.4.1.2
I2C Short Write
3.4.2
Bulk Write
3.4.2.1
SPI Bulk Write
3.4.2.2
I2C Bulk Write
3.4.3
Write Command Handling
3.5
Read
3.5.1
Read Pre-Fetch
3.5.1.1
SPI Read Pre-Fetch
3.5.1.2
I2C Read Pre-Fetch
3.5.2
Read Activate
3.5.2.1
SPI Read Activate
3.5.2.2
I2C Read Activate
3.5.3
Short Status Read
3.5.3.1
SPI Short Status Read
3.5.3.2
I2C Short Status Read
3.5.4
Read Command Handling
3.6
CRC and Checksum
3.6.1
CRC Calculation
3.6.1.1
CRC Example Implementation
3.6.1.2
CRC Example
3.6.2
Checksum Calculation
3.7
Command Tags
4
System Operation
4.1
Operating Modes
4.1.1
Standby
4.1.2
Display
4.2
Software Startup Procedure
5
Application and Use-Cases
5.1
Display and Source
5.1.1
Displaying an Image
5.1.2
Supported Image Processing
5.1.3
External Video
5.1.4
Test Pattern
5.1.5
Splash Image
5.1.6
Image Flip
5.2
Batch Command Sets
5.3
Flash Programming
5.3.1
Flash Program - Main Application
5.3.2
Flash Read - Main Application
5.3.3
Flash Program - Boot Application
5.4
Video Frame and Illumination Bin Delay
5.5
Smooth Illumination Transition
5.6
Temperature Management
5.6.1
Temperature Management for DMD Park/Unpark
5.6.2
PWM Temperature Management Function
5.7
ADC Measurements
5.7.1
Sequence-Aligned ADC Measurements
5.7.2
Single ADC Measurements
6
Tests and Diagnostics
6.1
Overview
6.2
Emergency Shutdown
6.2.1
Emergency Shutdown Causes
6.3
Diagnostic Memory Interface
6.4
Test Descriptions
6.4.1
Periodic Tests
6.4.1.1
Video Source Loss Detection
6.4.1.1.1
Configuration
6.4.1.1.2
Execution
6.4.1.1.3
Failure Actions
6.4.1.1.4
Error Codes
6.4.1.2
Video Tell-Tale Checksum
6.4.1.2.1
Configuration
6.4.1.2.2
Execution
6.4.1.2.3
Failure Actions
6.4.1.2.4
Error Codes
6.4.1.3
Video Frame Counter Checksum
6.4.1.3.1
One-Pixel Frame Counter
6.4.1.3.2
Seven-Pixel Frame Counter
6.4.1.3.3
Configuration
6.4.1.3.4
Execution
6.4.1.3.5
Failure Actions
6.4.1.3.6
Error Codes
6.4.1.4
Average Picture Level
6.4.1.4.1
Configuration
6.4.1.4.2
Execution
6.4.1.4.3
Failure Actions
6.4.1.4.4
Error Codes
6.4.1.5
Loss of Ping Command
6.4.1.5.1
Configuration
6.4.1.5.2
Execution
6.4.1.5.3
Failure Actions
6.4.1.5.4
Error Codes
6.4.1.6
DLPC230-Q1 Processor Memory ECC
6.4.1.6.1
Configuration
6.4.1.6.2
Execution
6.4.1.6.3
Failure Actions
6.4.1.6.4
Error Codes
6.4.1.7
Flash Table Transport CRC
6.4.1.7.1
Configuration
6.4.1.7.2
Execution
6.4.1.7.3
Failure Actions
6.4.1.7.4
Error Codes
6.4.1.8
Frame Buffer Swap Watchdog
6.4.1.8.1
Configuration
6.4.1.8.2
Execution
6.4.1.8.3
Failure Actions
6.4.1.8.4
Error Codes
6.4.1.9
Sequencer Instruction Read Watchdog
6.4.1.9.1
Configuration
6.4.1.9.2
Execution
6.4.1.9.3
Failure Actions
6.4.1.9.4
Error Codes
6.4.1.10
DMD Reset Instruction Watchdog
6.4.1.10.1
Configuration
6.4.1.10.2
Execution
6.4.1.10.3
Failure Actions
6.4.1.10.4
Error Codes
6.4.1.11
DLPC230-Q1 System Voltage Monitor
6.4.1.11.1
Configuration
6.4.1.11.2
Execution
6.4.1.11.3
Failure Actions
6.4.1.11.4
Error Codes
6.4.1.12
DLPC230-Q1 DMD Voltage Monitor
6.4.1.12.1
Configuration
6.4.1.12.2
Execution
6.4.1.12.3
Failure Actions
6.4.1.12.4
Error Codes
6.4.1.13
DLPC230-Q1 TPS99000-Q1 Bandgap Monitor
6.4.1.13.1
Configuration
6.4.1.13.2
Execution
6.4.1.13.3
Failure Actions
6.4.1.13.4
Error Codes
6.4.1.14
DMD Temperature Monitor
6.4.1.14.1
Configuration
6.4.1.14.2
Execution
6.4.1.14.3
Failure Actions
6.4.1.14.4
Error Codes
6.4.1.15
DMD Clock Monitor
6.4.1.15.1
Configuration
6.4.1.15.2
Execution
6.4.1.15.3
Failure Actions
6.4.1.15.4
Error Codes
6.4.1.16
DMD High Speed Interface Training
6.4.1.16.1
Configuration
6.4.1.16.2
Execution
6.4.1.16.3
Failure Actions
6.4.1.16.4
Error Codes
6.4.1.17
DMD Low Speed Interface Test
6.4.1.17.1
Configuration
6.4.1.17.2
Execution
6.4.1.17.3
Failure Actions
6.4.1.17.4
Error Codes
6.4.1.18
TPS99000-Q1 DLPC230-Q1 Processor Watchdog (WD1)
6.4.1.18.1
Configuration
6.4.1.18.2
Execution
6.4.1.18.3
Failure Actions
6.4.1.18.4
Error Codes
6.4.1.19
TPS99000-Q1 DLPC230-Q1 Sequencer Watchdog (WD2)
6.4.1.19.1
Configuration
6.4.1.19.2
Execution
6.4.1.19.3
Failure Actions
6.4.1.19.4
Error Codes
6.4.1.20
TPS99000-Q1 Temperature Warning / Error
6.4.1.20.1
Configuration
6.4.1.20.2
Execution
6.4.1.20.3
Failure Actions
6.4.1.20.4
Error Codes
6.4.1.21
TPS99000-Q1 Clock Ratio Monitor
6.4.1.21.1
Configuration
6.4.1.21.2
Execution
6.4.1.21.3
Failure Actions
6.4.1.21.4
Error Codes
6.4.1.22
TPS99000-Q1 Register Password Lock
6.4.1.22.1
Configuration
6.4.1.22.2
Execution
6.4.1.22.3
Failure Actions
6.4.1.22.4
Error Codes
6.4.1.23
TPS99000-Q1 Register Checksum
6.4.1.23.1
Configuration
6.4.1.23.2
Execution
6.4.1.23.3
Failure Actions
6.4.1.23.4
Error Codes
6.4.1.24
Software Monitor Thread
6.4.1.24.1
Configuration
6.4.1.24.2
Execution
6.4.1.24.3
Failure Actions
6.4.1.24.4
Error Codes
6.4.2
Non-Periodic Tests
6.4.2.1
Execution Time
6.4.2.2
DLPC230-Q1 Front End Functional BIST (Main)
6.4.2.2.1
Configuration
6.4.2.2.2
Execution
6.4.2.2.3
Failure Actions
6.4.2.2.4
Error Codes
6.4.2.3
DLPC230-Q1 Back End Functional BIST (Main)
6.4.2.3.1
Configuration
6.4.2.3.2
Execution
6.4.2.3.3
Failure Actions
6.4.2.3.4
Error Codes
6.4.2.4
DLPC230-Q1 Memory BISTs (Main)
6.4.2.4.1
Configuration
6.4.2.4.2
Execution
6.4.2.4.3
Failure Actions
6.4.2.4.4
Error Codes
6.4.2.5
TPS99000-Q1 Interface Signal Connection Test (Main)
6.4.2.5.1
Configuration
6.4.2.5.2
Execution
6.4.2.5.3
Failure Actions
6.4.2.5.4
Error Codes
6.4.2.6
DMD Memory Test (Main)
6.4.2.6.1
Configuration
6.4.2.6.2
Execution
6.4.2.6.3
Failure Actions
6.4.2.6.4
Error Codes
6.4.2.7
Flash Data Verification (Boot/Main)
6.4.2.7.1
Configuration
6.4.2.7.2
Execution
6.4.2.7.3
Failure Actions
6.4.2.7.4
Error Codes
6.4.2.8
DLPC230-Q1 Boot ROM CRC (Boot)
6.4.2.8.1
Configuration
6.4.2.8.2
Execution
6.4.2.8.3
Failure Actions
6.4.2.8.4
Error Codes
6.4.2.9
DLPC230-Q1 Flash Table CRC (Boot)
6.4.2.9.1
Configuration
6.4.2.9.2
Execution
6.4.2.9.3
Failure Actions
6.4.2.9.4
Error Codes
6.4.2.10
DLPC230-Q1 Main Application CRC (Boot)
6.4.2.10.1
Configuration
6.4.2.10.2
Execution
6.4.2.10.3
Failure Actions
6.4.2.10.4
Error Codes
6.4.2.11
DLPC230-Q1 Command and Flash Interface Memory Test (Boot)
6.4.2.11.1
Configuration
6.4.2.11.2
Execution
6.4.2.11.3
Failure Actions
6.4.2.11.4
Error Codes
6.4.3
Interface Tests
6.4.3.1
Temperature Sensor Interface
6.4.3.1.1
Failure Actions
6.4.3.2
DLPC230-Q1 to TPS99000-Q1 SPI Interface
6.4.3.2.1
Failure Actions
6.4.3.3
DLPC230-Q1 to TPS99000-Q1 ADC Interface
6.4.3.3.1
Failure Actions
6.4.3.4
DMD Socket Connectivity Test
6.4.3.4.1
Configuration
6.4.3.4.2
Execution
6.4.3.4.3
Failure Actions
6.4.3.4.4
Error Codes
7
Commands - Boot Application
7.1
Command Table
7.2
Command Definitions
7.2.1
System Reset - Write (00h)
7.2.2
Read Pre-Fetch - Write (01h)
7.2.3
Read Activate (02h)
7.2.4
System Software Version - Read (B0h)
7.2.5
Flash Device ID - Read (B1h)
7.2.6
Short Status - Read (C0h)
7.2.7
Error History - Read (C1h)
7.2.8
Clear Short Status Errors - Write (C2h)
7.2.9
Clear Error History - Write (C3h)
7.2.10
Flash Full Erase - Write (E0h)
7.2.11
Flash Write Data - Write (E1h)
7.2.12
Flash Verify Data - Write (E2h)
7.2.13
Flash Interface Rate - Write (E3h)
7.2.14
Flash Interface Rate - Read (E4h)
8
Commands - Main Application
8.1
Mode Availability
8.2
Command Definitions
8.2.1
System Reset - Write (00h)
8.2.2
Read Pre-Fetch - Write (01h)
8.2.3
Read Activate (02h)
8.2.4
Operating Mode - Write (03h)
8.2.5
Operating Mode - Read (04h)
8.2.6
Source Select - Write (05h)
8.2.7
Source Select - Read (06h)
8.2.8
Prepare for Source Change - Write (07h)
8.2.9
Display Image Orientation - Write (18h)
8.2.10
Display Image Orientation - Read (19h)
8.2.11
System Mode Select - Write (1Ch)
8.2.12
System Mode Select - Read (1Dh)
8.2.13
Execute Batch Command Set - Write (21h)
8.2.14
Execution Delay - Write (22h)
8.2.15
GPIO Configure - Write (23h)
8.2.16
GPIO Configure - Read (24h)
8.2.17
GPIO Outputs - Write (25h)
8.2.18
GPIO Outputs - Read (26h)
8.2.19
GPIO Reserved - Read (27h)
8.2.20
Execute Non-Periodic BIST - Write (28h)
8.2.21
External Video Checksum Control - Write (29h)
8.2.22
External Video Checksum Control - Read (2Ah)
8.2.23
External Video Checksum Settings - Write (2Bh)
8.2.24
External Video Checksum Settings - Read (2Ch)
8.2.25
DMD Socket Connectivity Test - Write (2Dh)
8.2.26
DMD Socket Connectivity Test - Read (2Eh)
8.2.27
Average Picture Level Control - Write (2Fh)
8.2.28
Average Picture Level Control - Read (30h)
8.2.29
Loss Of Ping Control - Write (33h)
8.2.30
Loss Of Ping Control - Read (34h)
8.2.31
PWM Temperature Management Enable - Write (35h)
8.2.32
PWM Temperature Management Enable - Read (36h)
8.2.33
PWM Temperature Management Source - Write (37h)
8.2.34
PWM Temperature Management Source - Read (38h)
8.2.35
PWM Temperature Management Duty Cycle - Read (39h)
8.2.36
Headlight Ping - Write (46h)
8.2.37
PWM Control - Write (47h)
8.2.38
PWM Control - Read (48h)
8.2.39
Illumination Transition Rate - Write (49h)
8.2.40
Illumination Transition Rate - Read (4Ah)
8.2.41
De-gamma Select - Write (54h)
8.2.42
De-gamma Select - Read (55h)
8.2.43
ADC Measurements - Read (5Ch)
8.2.44
ADC Single Measurement - Read (63h)
8.2.45
Illumination Bin Select - Write (70h)
8.2.46
Illumination Bin Select - Read (71h)
8.2.47
TPS99000-Q1 TIA1 Trims - Write (86h)
8.2.48
TPS99000-Q1 TIA1 Trims - Read (87h)
8.2.49
TPS99000-Q1 TIA1 Gain - Write (88h)
8.2.50
TPS99000-Q1 TIA1 Gain - Read (89h)
8.2.51
TPS99000-Q1 TIA1 Capacitance - Write (8Ah)
8.2.52
TPS99000-Q1 TIA1 Capacitance - Read (8Bh)
8.2.53
TPS99000-Q1 TIA1 Dark Offsets - Write (8Ch)
8.2.54
TPS99000-Q1 TIA1 Dark Offsets - Read (8Dh)
8.2.55
TPS99000-Q1 TIA1 Input Offsets - Write (8Eh)
8.2.56
TPS99000-Q1 TIA1 Input Offsets - Read (8Fh)
8.2.57
TPS99000-Q1 Drive Mode - Read (93h)
8.2.58
TPS99000-Q1 ADC Configuration - Write (94h)
8.2.59
TPS99000-Q1 ADC Configuration - Read (95h)
8.2.60
TPS99000-Q1 Illumination Sync Control - Write (96h)
8.2.61
TPS99000-Q1 Illumination Sync Control - Read (97h)
8.2.62
TPS99000-Q1 TIA2 Control - Write (98h)
8.2.63
TPS99000-Q1 TIA2 Control - Read (99h)
8.2.64
LED Drive Errors - Read (9Ah)
8.2.65
LED Drive Errors Clear - Write (9Bh)
8.2.66
TPS99000-Q1 Test Mux Select - Write (9Ch)
8.2.67
TPS99000-Q1 Test Mux Select - Read (9Dh)
8.2.68
Flash Data Type Select - Write (A0h)
8.2.69
Flash Erase Data - Write (A1h)
8.2.70
Flash Write Data - Write (A2h)
8.2.71
Flash Read Data - Read (A3h)
8.2.72
Flash Verify Data - Write (A4h)
8.2.73
Flash Block Count - Read (A5h)
8.2.74
Flash Block CRCs - Read (A6h)
8.2.75
Flash Structure Version - Read (A7h)
8.2.76
Flash Data Size - Read (A9h)
8.2.77
System Software Version - Read (B0h)
8.2.78
Flash Device ID - Read (B1h)
8.2.79
DLPC230-Q1 Device ID - Read (B2h)
8.2.80
DMD Device ID - Read (B3h)
8.2.81
TPS99000-Q1 Device ID - Read (B4h)
8.2.82
System Temperatures - Read (B5h)
8.2.83
Current Source Information - Read (B6h)
8.2.84
Current Display Information - Read (B8h)
8.2.85
System Information - Read (BAh)
8.2.86
Flash Interface Rate - Read (BBh)
8.2.87
Short Status - Read (C0h)
8.2.88
Error History - Read (C1h)
8.2.88.1
Information Bits - Command or Communication
8.2.88.2
Information Bits - System Voltage
8.2.88.3
Information Bits - DMD High Speed Interface Training
8.2.88.4
Information Bits - DMD Memory Test
8.2.89
Clear Short Status Errors - Write (C2h)
8.2.90
Clear Error History - Write (C3h)
9
Commands - Diagnostic Interface
9.1
Diagnostic Command Read Procedure
9.2
Command Table
9.3
Command Definitions
9.3.1
Read Pre-Fetch - Write (01h)
9.3.2
Read Activate (02h)
9.3.3
Diagnostic Interface Status - Read (F0h)
9.3.4
Diagnostic Interface Status Clear - Write (F1h)
10
Flash Configuration
10.1
Overview
10.2
System Mode Overview
10.3
Scratchpad Data
10.3.1
CRC
10.3.2
Block Number
10.3.3
Version (Major, Minor, Patch)
10.3.4
Custom Data
A Error Codes
A.1 Boot Application
A.2 Main Application
Revision History
6.4.1.9.4
Error Codes
The following error codes indicate a failure was detected:
Table 6-14 Sequencer Instruction Read Watchdog Error Codes
ERROR CODE
DESCRIPTION
968
Sequencer instruction watchdog error.