DLPU057A March 2018 – April 2022 DLP3030-Q1
This command is used to set up Temperature Compensation Function. This function needs pre-calibrated data to be present to function correctly.
| Byte | Description |
| 1 | Command Byte (C2h) |
| 2 | Length (03h) |
| 3 | Function Enable : See Below |
| 4 | Frequency (0 - 7) |
| 5 | Custom Temperature : See Below |
| 6 | Checksum |
| msb | Byte 3: Function Enable | lsb | ||||||
| b7 | b6 | b5 | b4 | b3 | b2 | b1 | b0 | |
| Reserved | Measurement Mode | Enable | ||||||
| b(0) - | Function Enable 0: Disable Temperature Compensation 1: Enable Temperature Compensation |
| b(3:1) - | Measurement Mode 0 – Reserved (Do not use) 1 – User defined temperature input 2 – Temperature measured from TMP411 3 to 7 – Reserved (Do not use) |
| b(7:4) - | Reserved |
| msb | Byte 4: Reserved | lsb | ||||||
| b7 | b6 | b5 | b4 | b3 | b2 | b1 | b0 | |
| Reserved (Should be set to zero) | ||||||||
| b(7:0) - | Reserved (Should be set to zero) |
| msb | Byte 5: Custom Temperature | lsb | ||||||
| b7 | b6 | b5 | b4 | b3 | b2 | b1 | b0 | |
| Custom Temperature | ||||||||
| b(7:0) - | Custom Temperature The value in Celsius temperature scale should be offset by 100 Eg: 0°C should be send as 100 –35°C should be send as 65 etc |
This command supports temperatures in the range –100°C to 155°C. To support transmitting the temperature in a single byte, an offset of 100 is added to the temperature post which the range becomes 0 (–100°C) to 255 (155°C).
Note 1: Measurement Mode determines the temperature used in the compensation calculations.
Note 2: In User defined mode, the temperature value supplied in Byte 5 is used directly.
Note 3: In TMP411 mode, the software uses the temperature measured by TMP411 sensor for the calculations.
Note 4: Details of Temperature Compensation algorithm is available in the LED Driver for DLP3030-Q1 Displays Application Note.
Note 5: Frequencies of 0 to 7 are permitted. 0 corresponds to 1 Hz, and 7 to 8 Hz.