Anda di halaman 1dari 45

DLP Pico Chipset v2 Programmers Guide

User's Guide

Literature Number: DLPU002A February 2010 Revised July 2010

2
Copyright 2010, Texas Instruments Incorporated

DLPU002A February 2010 Revised July 2010

Contents
Preface 1

....................................................................................................................................... 5 Interface Protocol ................................................................................................................ 7 1.1 Projector Control I2C Commands ......................................................................................... 7 1.1.1 Slave Receive Mode (Write to Chipset) ......................................................................... 7 1.1.2 Slave Transmit Mode (Read from Chipset) ..................................................................... 8 1.1.3 Reserved Areas .................................................................................................... 8 1.2 I2C Interface .................................................................................................................. 9 1.2.1 I2C Control Commands ............................................................................................ 9 1.2.2 I2C Alternate Address Select Pin ................................................................................. 9 1.2.3 Momentary Image Corruption During Command Writes ...................................................... 9 1.3 I2C Projector Control Commands ......................................................................................... 9 1.3.1 Configuration Register Projector Control Commands ......................................................... 9 1.3.2 Color Coordinate Adjustment (CCA) Command/Field Definitions .......................................... 21 1.3.3 Structured Light Control Command/Field Definitions ........................................................ 24 1.3.4 LED Color Mask Command/Field Definitions ................................................................. 25 1.3.5 Structured Light Control Command/Field Definitions (continued) .......................................... 26 1.3.6 Internal Pattern Structured Light Command/Field Definitions .............................................. 27 1.3.7 Options for Input Image Resolutions/Orientations and DMD Displayed Images ......................... 33 Powerup and Powerdown Considerations ............................................................................ 39 2.1 Powerup .................................................................................................................... 39 2.2 Powerdown ................................................................................................................. 39 Command Quick Reference ................................................................................................ 41

DLPU002A February 2010 Revised July 2010


Copyright 2010, Texas Instruments Incorporated

Contents

www.ti.com

List of Figures
1-1. 1-2. 1-3. 1-4. 1-5. 1-6. 1-7. 1-8. 1-9. 1-10. 1-11. I2C Interface Write Register ................................................................................................ 8 I2C Interface Read Register................................................................................................ 8 Portrait QVGA to HVGA .................................................................................................. 33 Portrait HVGA to HVGA .................................................................................................. 34 Portrait VGA to HVGA .................................................................................................... 35 Landscape QVGA to HVGA .............................................................................................. 36 Landscape HVGA to HVGA .............................................................................................. 36 Landscape VGA to HVGA ................................................................................................ 37 Landscape NTSC to HVGA .............................................................................................. 37 Landscape PAL/SECAM to HVGA ...................................................................................... 38 Landscape VGA Cropped to HVGA (Not Scaled) ..................................................................... 38

List of Tables
3-1.

...............................................................................................................................

41

List of Figures
Copyright 2010, Texas Instruments Incorporated

DLPU002A February 2010 Revised July 2010

Preface
DLPU002A February 2010 Revised July 2010

Read This First


About This Manual
This document specifies the command and control interface to the Pico Chipset. It defines all applicable commands, default settings, and control register bit definitions to communicate with the Pico Chipset. Input Format DVI-D interface Pixel clock: 27 MHz Pixel format: RGB888

Reference Documents
DLPC100 DLP Pico Processor Datasheet, DLPS019 Using Pico 2.0 Kit for Structured Light Applications, DLPA021

DLP is a registered trademark of Texas Instruments. Pico is a trademark of others. DLPU002A February 2010 Revised July 2010
Copyright 2010, Texas Instruments Incorporated

Read This First

Read This First


Copyright 2010, Texas Instruments Incorporated

DLPU002A February 2010 Revised July 2010

Chapter 1
DLPU002A February 2010 Revised July 2010

Interface Protocol

The I2C protocol used in communicating information to the Pico Chipset consists of a serial data bus conforming to the Philips I2C specification, up to 400 KHz. The I2C interface timing waveforms are shown in Figure 1-1 and Figure 1-2. The chipset operates as an I2C F/S mode slave.

1.1

Projector Control I2C Commands


The I2C Addresses for projector control are 8 bits, followed by an 8-bit sub-address. The address and/or subaddress are followed by either writing or reading 32 bits of data. The protocols for I2C projector control read and write are listed below. Write Command: Address Sub-Address (8-bit) (8-bit) x36 xAA

Data (32-bit) DDDDDDDDh

(AAh = Register Address, DDDDDDDDh = write data)

Read Command: Address Sub-Address (8-bit) (8-bit) x36 x15 (8-bit) x37

Data (8-bit) xxh (address of reg.) (32-bit) XXXXXXXXh

Read Part 1 (Write address of requested register) Read Part 2 (Read data of requested register)

1.1.1 Slave Receive Mode (Write to Chipset)


With the Pico Chipset operating in the slave-receiver configuration, the first byte following the start condition is the Pico device write address (ex. 36h). The interface consists of a number of sub-address registers, each capable of accepting multiple bytes of data. Each command/sub-address expects a certain number of data bytes, typically 4. The number of data bytes for each command/sub-address is described in Section 1.1. Writing to registers is performed with a single series of bus transactions, preceded by exactly one start condition (S) and terminated by exactly one stop condition (P). All register write transactions must include one byte for the sub-address and 4 bytes for data. An example of a register write to device address x36, sub-address x04 with data x00000000 would be as follows: S 36 04 00 00 00 00 P

DLPU002A February 2010 Revised July 2010


Copyright 2010, Texas Instruments Incorporated

Interface Protocol

Projector Control I2C Commands

www.ti.com

SCL SDA 0x36 0x04 0x00 0x00 0x00 0x00

Figure 1-1. I2C Interface Write Register

1.1.2 Slave Transmit Mode (Read from Chipset)


Reading from registers is accomplished with a two-step process of writing (via I2C address x36) to a specific sub-address containing the register address pointer (sub-address x15), then reading up to 4 bytes on a subsequent read transaction (from I2C address x37). Once the register sub-address pointer is written, the Pico Chipset is ready for a read operation in the slave-transmitter mode. To read from the selected register, another I2C start condition is issued by the master, followed by the pico chipset read address (37h). The slave will follow with up to four bytes of read data, in response to SCL clocks driven by the master device. The master device must then issue a stop condition to properly terminate the register read access. A full two-step read transaction would follow this format: For the specific example of reading from register x04 that has data x00000000, the bus data would be: S 36 15 04 P S 37 00 00 00 00 P

SCL SDA
0x36 0x15 0x04

SCL SDA
0x37 0x00 0x00 0x00 0x00

Figure 1-2. I2C Interface Read Register

1.1.3 Reserved Areas


When writing to valid registers, all unused/reserved bits should be set to zero unless specified otherwise. Reserved registers should never be written to or read from. When reading non-reserved registers, all unused and/or reserved bits should be explicitly ignored (i.e., read values of reserved bits may vary).

Interface Protocol
Copyright 2010, Texas Instruments Incorporated

DLPU002A February 2010 Revised July 2010

www.ti.com

I2C Interface

1.2

I2C Interface

1.2.1 I2C Control Commands


I2C addresses 36h and 37h are used to issue control commands to the chipset. These control commands, register sub-addresses and corresponding control bits are specified below. Control commands may be issued in any order by the I2C bus master.

1.2.2 I2C Alternate Address Select Pin


The I2C_ADDR_SEL pin can select an alternate set of I2C device addresses. If I2C_ADDR_SEL pin is low, then 36h/37h are enabled. If I2C_ADDR_SEL pin is high, then 3Ah/3Bh are enabled.

1.2.3 Momentary Image Corruption During Command Writes


Note that certain commands may cause brief visual artifacts in the display image under some circumstances. (Command data values may be read without impacting projected image.) In practice, this momentary corruption due to command writes can be easily masked at the system level by disabling the LEDs prior to the command write, then re-enabling after all other commands have been issued.

1.3

I2C Projector Control Commands

1.3.1 Configuration Register Projector Control Commands


The following tables list the supported configuration registers and control commands. In the Type column, wr type is writeable. Data can also be read back through the I2C interface for wr type bits. Type r is read-only. Type s signifies a special latched status bit. Reading a 1 from an s bit means that the hardware signal associated with that bit has gone active since the last clear of that status bit. Writing a 1 to an s bit clears the status bit. The bit will then read zero until the next active condition of the hardware associated with the status bit. The Reset column in all of the following command tables is the default value in the command register immediately after powerup. These values may be overwritten after powerup. When writing to valid registers, all bits marked as unused or reserved should be set to zero unless specified otherwise. Registers marked as reserved should not be accessed.

DLPU002A February 2010 Revised July 2010


Copyright 2010, Texas Instruments Incorporated

Interface Protocol

I2C Projector Control Commands

www.ti.com

1.3.1.1

Input Source and Interface Mode (I2C: x04)

When a command x04 is received by the projector, the 32 bits of data define the projector input image mode.
BIT(S) 2:0 DESCRIPTION Select the input source and interface mode: 0 - Parallel RGB I/F (1) 1 - Internal test patterns (2) 2 - Splash screen (3) 3 - RESERVED 4 BT.656 format (with embedded syncs) 5-7 RESERVED Spare Unused RESET b000 TYPE wr

15:3 31:16
(1) (2)

x0000

(3)

See Pixel Format command (I2C: x06) for supported input pixel format options. Internal test patterns uses command (I2C: x0B) to define the test pattern source and command (I2C: x05) for resolution. Internal test patterns mode should be selected when using internal stripe pattern structured light modes (see Display Mode command, I2C: x1F). For Splash screens, Free-run sequence synchronization mode must be used (see Sequence Sync Mode register, I2C: x24). A pre-determined set of splash screens are stored in the chipset in QVGA landscape format. Chipset must be set to display in QVGA landscape mode.

1.3.1.2

Input Resolution: (I2C: x05)


BIT(S) 3:0 DESCRIPTION Select the input resolution: x0 - QVGA portrait (240h*320v) x1 - QVGA landscape (320h*240v) (1) x2 - HVGA portrait (320h*480v) x3 - HVGA landscape (480h*320v) x4 - VGA portrait (480h*640v) x5 - VGA landscape (640h*480v) (1) x6 - NTSC landscape (720h*240v) x7 - VGA landscape (640h*480v) cropped to HVGA (not scaled) x8 - PAL/SECAM landscape (720h*288v) x9 - RESERVED xA+ - RESERVED Spare Unused RESET b001 TYPE wr

(2)

15:4 31:16
(1)

x000

(2)

Behavior of QVGA landscape and VGA landscape modes are further modified by settings of the Aspect Ratio Modification command (I2C: x0A). VGA landscape mode is required for structured light applications to prevent unwanted scaling of patterns. In this mode, the chipset expects to see VGA landscape input frame, but then the left and top portions of VGA input image frame are ignored (cropped). This results in only the lower right hand 480x320 corner being displayed.

For each of the input resolutions listed, the first parameter is the number of pixels in the horizontal (x-axis) and the second parameter is the number of pixels in the vertical (y-axis). 1.3.1.3 Pixel Format: (I2C: x06)

10

Interface Protocol
Copyright 2010, Texas Instruments Incorporated

DLPU002A February 2010 Revised July 2010

www.ti.com BIT(S) 2:0 Select the pixel format: 0 - RGB565 (1) 1 - RGB666 (1) 2 - RGB888 (2) 3+ - RESERVED Spare Unused DESCRIPTION

I2C Projector Control Commands


RESET b010 TYPE wr

15:3 31:16
(1) (2)

x0000

The splash screen interface uses RGB565 Internal test patterns and the BT.656 interface use RGB888

1.3.1.4

Image Rotation: (I2C: x07)

When this command is received by the projector, the data defines if the input image is rotated by -90 degrees on the DMD. This command is used when the portrait image is to be displayed as landscape.
BIT(S) 0 DESCRIPTION Image rotation (only used if input is 'portrait', should be set to 0 if input is landscape) 0 - no rotation (center image on DMD and pad w/ black bars) 1 - 90 degree rotation (input portrait is scaled and rotated on DMD) Spare Unused RESET b0 TYPE wr

15:1 31:16

x0000

Section 1.3.7 shows diagrams of the valid image rotation options. 1.3.1.5 Image Flip Long Axis: (I2C: x08)

When this command is received by the projector, the data defines if the input image is flipped across the long axis of the DMD.
BIT(S) 0 DESCRIPTION Flips image along long axis on DMD: 0 - Disable flip 1 - Enable flip Spare Unused RESET b1 TYPE wr

15:1 31:16

x0000

Long axis flip means this:

Flip Disabled

Flip Enabled

DMD

DLPU002A February 2010 Revised July 2010


Copyright 2010, Texas Instruments Incorporated

Interface Protocol

11

I2C Projector Control Commands

www.ti.com

1.3.1.6

Image Flip Short Axis: (I2C: x09)

When this command is received by the projector, the data defines if the input image is flipped across the short axis of the DMD.
BIT(S) 0 DESCRIPTION Flips image along short axis on DMD: 0 - Disable flip 1 - Enable flip Spare Unused RESET b1 TYPE wr

15:1 31:16

x0000

Short axis flip means this:

Flip Disabled

Flip Enabled

DMD
1.3.1.7 DMD Aspect Ratio: (I2C: x0A) This command modifies the scaling behavior of two specific Input Resolution command (I2C: x05) modes: QVGA Landscape (x1) and VGA Landscape (x5). Based on the value of the aspect ratio modification command, these two 4:3 aspect ratio input sources are either a) stretched horizontally slightly to fit the DMDs native 3:2 aspect ratio, or b) displayed in a 427x320 line sub-region of DMD, thereby preserving the 4:3 aspect ratio of the input source. For all other settings of Input Resolution command, this aspect ratio correction command has no effect.
BIT(S) 0 DESCRIPTION QVGA/VGA Landscape Mode Aspect Ratio Modification: 0 force 4:3 input aspect ratio source to fill 3:2 display 1 preserve 4:3 aspect ratio of source Spare Unused RESET b0 TYPE w

15:1 31:16

x0000

12

Interface Protocol
Copyright 2010, Texas Instruments Incorporated

DLPU002A February 2010 Revised July 2010

www.ti.com

I2C Projector Control Commands

1.3.1.8

Internal Test Patterns: (I2C: x0B)


BIT(S) 3:0 DESCRIPTION Test pattern select: x0 - Checkerboard x1 - Solid black x2 - Solid white x3 - Solid red x4 - Solid blue x5 - Solid green x6 - Vertical lines - 1-white, 7-black x7 - Horizontal lines - 1-white, 7-black x8 - Vertical lines - 1-white, 1-black x9 - Horizontal lines - 1-white, 1-black xA - Diagonal lines xB - Vertical Gray Ramps xC - Horizontal Gray Ramps xD - 8x8 grid w/ border (1 pixel wide) xE - 16x16 grid w/ border (1 pixel wide) xF - 32x32 grid w/ border (1 pixel wide) Spare Unused RESET b0 TYPE wr

15:4 31:16

x000

The test patterns are internally injected into the beginning of the image processing path. Therefore all image processing is performed on the test images. All command registers should be set up as if the test images are input from an external source. To achieve single pixel resolution for test images, the Input Resolution (I2C: x05) should be set to HVGA landscape (x3). The test pattern generator (TPG) generates the test patterns such that they mimic the resolution selected by the Input Resolution command (I2C: x05). For example, if NTSC landscape (720h*240v) is selected, then the TPG will input a 720x240 image into the image processing path. For typical test pattern usage, these command settings should be used: Input Source and Interface Mode: (I2C: x04) x1 - Internal Test Patterns Input Resolution: (I2C: x05) x3 - HVGA landscape (480h*320v) Pixel Format: (I2C: x06) x2 - RGB888 1.3.1.9 Pixel Interface Clock Edge: (I2C: x0C)
BIT(S) 0 DESCRIPTION Defines the clock edge (for PCLK) on which pixel data is sampled: 0 - Sample on falling edge 1 - Sample on rising edge Spare Unused RESET b1 TYPE wr

15:1 31:16

x0000

1.3.1.10 Pixel Interface Sync Polarity: (I2C: x0D)

DLPU002A February 2010 Revised July 2010


Copyright 2010, Texas Instruments Incorporated

Interface Protocol

13

I2C Projector Control Commands


BIT(S) 0 DESCRIPTION Defines the polarity of the incoming VSYNC signal: 0 Active low pulse 1 Active high pulse Defines the polarity of the incoming HSYNC signal: 0 Active low pulse 1 Active high pulse Defines the polarity of the incoming DATEN signal: 0 Active low pulse 1 Active high pulse Spare Unused RESET b0 TYPE wr

www.ti.com

b0

wr

b1

wr

15:3 31:16

x0000

1.3.1.11 Red LED Current PWM Output Control: (I2C: x0E)


BIT(S) 9:0 DESCRIPTION Red LED current control PWM output pin duty cycle Valid range: x000 (0% PWM output pin duty cycle) to x3FF (100% PWM output pin duty cycle) Spare Unused RESET x3FF TYPE wr

15:10 31:16

x00

This command directly controls the pulse width of the red LED PWM modulation output pin. Equation 1 provides the approximate ungated LED current specifically for the light module included in the Pico 2.0 kit. The equation is not applicable for other external light modules.
ILED = 70 + 0.74 * (1023 unsigned(PWM(9:0))) mA, rms (1)

Note that choice of display mode also impacts total LED current and average power by gating the LED on periods during video frames via the R/G/B LED enable pins in the chipset. See Section 1.3.1.18 for further details. Care should be taken when using this command in practice. Depending on many system design dependent factors (including projector thermal design, LED specifications, selected display mode, etc.), recommended and absolute maximum settings will vary. 1.3.1.12 Green LED Current PWM Output Control: (I2C: x0F)
BIT(S) 9:0 DESCRIPTION Green LED current control PWM output pin duty cycle Valid range: x000 (0% PWM output pin duty cycle) to x3FF (100% PWM output pin duty cycle) Spare Unused RESET x3FF TYPE wr

15:10 31:16

x00

This command directly controls the pulse width of the green LED PWM modulation output pin. Equation 2 provides the approximate ungated LED current specifically for the light module included in the Pico 2.0 kit. The equation is not applicable for other external light modules.
ILED = 70 + 0.74 * (1023 unsigned(PWM(9:0))) mA, rms (2)

14

Interface Protocol
Copyright 2010, Texas Instruments Incorporated

DLPU002A February 2010 Revised July 2010

www.ti.com

I2C Projector Control Commands

Note that choice of display mode also impacts total LED current and average power by gating the LED on periods during video frames via the R/G/B LED enable pins in the chipset. See Section 1.3.1.18 for further details. Care should be taken when using this command in practice. Depending on many system design dependent factors (including projector thermal design, LED specifications, selected display mode, etc.), recommended and absolute maximum settings will vary. 1.3.1.13 Blue LED Current PWM Output Control: (I2C: x10)
BIT(S) 9:0 DESCRIPTION Blue LED current control PWM output pin duty cycle Valid range: x000 (0% PWM output pin duty cycle) to x3FF (100% PWM output pin duty cycle) Spare Unused RESET x3FF TYPE wr

15:10 31:16

x00

This command directly controls the pulse width of the blue LED PWM modulation output pin. Equation 3 provides the approximate ungated LED current specifically for the light module included in the Pico 2.0 kit. The equation is not applicable for other external light modules.
ILED = 70 + 0.74 * (1023 unsigned(PWM(9:0))) mA, rms (3)

Note that choice of display mode also impacts total LED current and average power by gating the LED on periods during video frames via the R/G/B LED enable pins in the chipset. See Section 1.3.1.18 for further details. Care should be taken when using this command in practice. Depending on many system design dependent factors (including projector thermal design, LED specifications, selected display mode, etc.), recommended and absolute maximum settings will vary. 1.3.1.14 Enable Red LED: (I2C: x11) When this command is received by the projector, the data defines if the Red LED is enabled.
BIT(S) 0 DESCRIPTION Enable red LED: 0 - disable LED / forces LED enable output pin to disable state 1 - enable LED / enable output pin toggles per color field sequential pattern as determined by Display Mode Select (I2C: x1F) setting Spare Unused RESET b1 TYPE wr

15:1 31:16

x0000

1.3.1.15 Enable Green LED: (I2C: x12) When this command is received by the projector, the data defines if the Green LED is enabled.
BIT(S) 0 DESCRIPTION Enable green LED: 0 - disable LED / forces LED enable output pin to disable state 1 - enable LED / enable output pin toggles per color field sequential pattern as determined by Display Mode Select (I2C: x1F) setting Spare Unused RESET b1 TYPE wr

15:1 31:16

x0000

DLPU002A February 2010 Revised July 2010


Copyright 2010, Texas Instruments Incorporated

Interface Protocol

15

I2C Projector Control Commands

www.ti.com

1.3.1.16 Enable Blue LED: (I2C: x13) When this command is received by the projector, the data defines if the Blue LED is enabled.
BIT(S) 0 DESCRIPTION Enable blue LED: 0 - disable LED / forces LED enable output pin to disable state 1 - enable LED / enable output pin toggles per color field sequential pattern as determined by Display Mode Select (I2C: x1F) setting Spare Unused RESET b1 TYPE wr

15:1 31:16

x0000

16

Interface Protocol
Copyright 2010, Texas Instruments Incorporated

DLPU002A February 2010 Revised July 2010

www.ti.com

I2C Projector Control Commands

1.3.1.17 Degamma Curve Select: (I2C: x1E) When this command is received by the projector, the chipset will load the selected degamma curve according to the table below. If an image is being displayed, momentary image corruption may be observable while the curve table update is proceeding. Shortly after power on reset, the chipset will load the reset default table.
BIT(S) 3:0 DESCRIPTION Degamma curve select: x0 - Degamma curve #1 (1) x1 - Degamma curve #2 (2) x2 - Degamma curve #3 (3) x3 - Degamma curve #4 (4) x4 to xF - RESERVED Spare Unused RESET x0 TYPE wr

15:4 31:16
(1) (2) (3) (4)

x000

Enhanced Graphics (power on reset default, an s-curve) recommended.. Power Law 2.2 (NTSC and also almost identical to sRGB except for very dark shades of colors) Power Law 2.5 (NTSC-like but tends to look better on projectors than Power Law 2.2) Linear (for test and structured light-mode applications. See Using Pico 2.0 Kit for Structured Light Applications, TI literature number DLPA021, for more details )

1.3.1.18 Display Mode Select: (I2C: x1F) When this command is received by the projector, the data defines the display mode selected.
BIT(S) 3:0 DESCRIPTION Normal Video/Graphics modes: x0 60 Hz video/graphics, LED duty cycles: R39%, G48%, B13% (1) (2) x1 60 Hz video/graphics, LED duty cycles: R40%, G45%, B15% (1) (2) x2 50 Hz video/graphics, LED duty cycles: R39%, G48%, B13% (1) (2) x3 50 Hz video/graphics, LED duty cycles: R40,% G45%, B15% (1) (2) External Pattern Structured Light modes: x4 120 Hz, 8 bit green only, LED duty cycles: R0%, G100%, B0% (3) (4) x5 180 Hz, 7 bit green only, LED duty cycles: R0%, G100%, B0% (3) (4) x6 1440 Hz, 1 bit green only, LED duty cycles: R0%, G100%, B0% (4) x7 120 Hz, 4 bit per color, LED duty cycles: R33%, G33%, B33% (4) x8 240 Hz, 2 bit per color, LED duty cycles: R33%, G33%, B33% (4) x9 480 Hz, 1 bit per color, LED duty cycles: R33%, G33%, B33% (4) Internal Stripe Pattern Structured Light modes: xA 1200Hz pattern rate, LED duty cycles: R33%, G33%, B33% (4) xB 2400Hz pattern rate, LED duty cycles: R33%, G33%, B33% (4) xC-xF RESERVED Spare Unused RESET x0 TYPE wr

15:4 31:16
(1)

x000

(2)

(3)

(4)

The LED duty cycles listed for each mode represent the percentage of net frame time allocated to each LED, determined by sequential gating of the R/G/B LED enable signals. (For example: R39% means that over a video frame period, 39% of the time the red LED will be enabled, 61% of the time it will be disabled.) To calculate net RMS current, ungated current levels supplied by the LED drive circuit should be multiplied by this duty cycle percentage for total average current. See Section 1.3.1.11 for more information about controlling LED current. 60 Hz modes support up to a maximum of 60.3 Hz. 50 Hz modes support up to a maximum of 50.3 Hz. Above these frame rates, subtle image anomalies may be observable. When using these 100% green duty cycle modes, Green LED current should be reduced to approximately 45% of the current levels associated with Normal Video/Graphics Display Modes (x0-x3 above). This is recommended to maintain similar thermal loading on green LED as found in normal modes. See Section 1.3.1.12 for more information about controlling LED current. These modes are specially designed to enable significant performance enhancements for structured light applications. See Using Pico 2.0 Kit for Structured Light Applications, TI literature number DLPA021, for more details.

DLPU002A February 2010 Revised July 2010


Copyright 2010, Texas Instruments Incorporated

Interface Protocol

17

I2C Projector Control Commands

www.ti.com

1.3.1.19 Sync Mode: (I2C: x24) When this command is received by the projector, the vertical synchronization method is selected.
BIT(S) 0
(1) (2) (3)

DESCRIPTION Sync mode 0 - Lock to internally generated vertical sync 1 - Lock to incoming vertical sync (frequency of the input source is 60Hz or 50Hz) Spare Unused

RESET b0

TYPE wr

3:1 31:4
(1)

b000

(2)

(3)

Generally, when displaying externally generated 50 Hz or 60 Hz sources, lock to incoming sync will produce the best results. In this mode, display frame reads are synchronous with input write frames. For input frames less than 50 Hz, or internal splash screens, or internal test patterns, internally generated sync mode should be used. If lock to incoming sync mode is selected but the source does not supply a valid vertical sync signal, the chipset will turn off the LEDs for protection after expiration of a watchdog timer.

1.3.1.20 Splash Image Select: (I2C: x25) When this command is received by the projector, one of the preloaded splash screen images is selected. Splash screens are stored in landscape QVGA format.
BIT(S) 3:0 DESCRIPTION Splash screen image select x0 - Splash image #1 x1 - Splash image #2 x2 - Splash image #3 x3 to xF - RESERVED Unused RESET x0 TYPE wr

31:4

To properly display a splash screen image, the following set of command settings should be used in addition to the image select command above: Input Source and Interface Mode: (I2C: x04) x2 - Splash Screen Input Resolution: (I2C: x05) x1 - QVGA landscape (320h*240v) Pixel Format: (I2C: x06) x0 RGB565 Sync Mode : (I2C: x24) x0 Lock to internally generated sync AGC Control: (I2C: x82) x0 AGC Disabled When returning to displaying input images from an external source, these registers should be subsequently returned to their original values. 1.3.1.21 Video/Graphics Enhancement Enable: (I2C: x26) When this command is received by the projector, video/graphics enhancement is turned on or off. Video/graphics enhancement function seeks to visually smooth discrete steps in gradually transitioning shades (such as facial skin tones). Video/graphics enhancement should be disabled for any non-periodic source or when using one of the structured light modes (see Section 1.3.1.18). Otherwise video/graphics enhancement should be enabled to maximize image quality.

18

Interface Protocol
Copyright 2010, Texas Instruments Incorporated

DLPU002A February 2010 Revised July 2010

www.ti.com BIT(S) 0 Temporal enhance enable 0 - Disabled 1 - Enabled Spare Unused DESCRIPTION
(1) (2)

I2C Projector Control Commands RESET b0 TYPE wr

3:1 31:4
(1)

b000

(2)

Video/graphics enhancement Enable recommended for us in all video/graphics modes to maximize image quality. Video/graphics enhancement should be disabled in all structured light Display Modes. See Using Pico 2.0 Kit for Structured Light Applications, TI literature number DLPA021, for more details

1.3.1.22 VSYNC DELAY: (I2C: x27) When this command is received by the projector, an adjustable delay on VSYNC can be added internal to the DLPC100. This delay is sometimes necessary if the vertical front porch in the input video is unusually short.
BIT(S) 14:0 DESCRIPTION VSYNC delay time interval (Used to effectively add vertical front porch to the external video/graphics input timing. Adjustments are in increments of four pixel clocks.) Valid range is x0000 to x7FFF RESERVED 15 31:16 Spare Unused b0 RESET x0000 TYPE w

1.3.1.23 Structured Light Output Display Inhibit: (I2C: x29) When this command is received by the projector, DMD output display will stop updating. For internally generated structured light patterns, it is necessary to toggle this command to ensure proper synchronization of output strobes. See Using Pico 2.0 Kit for Structured Light Applications, TI literature number DLPA021, for more details. CAUTION This command should not be used other than as recommended in the aforementioned application note. Leaving the display in the disabled state for a prolonged periods of time can result in device degradation. However, infrequent short durations in inhibit state (i.e., much less than one second) are harmless.

BIT(S) 0

DESCRIPTION Structured light output display inhibit 0 Disable output display processing 1 Enable output display processing Spare Unused

RESET b1

TYPE w

3:1 31:4

b000

1.3.1.24 Firmware Revision: (I2C: x40)


BIT(S) 11:0 31:12 Unused DESCRIPTION Chipset firmware revision (read only) RESET x06C TYPE r

DLPU002A February 2010 Revised July 2010


Copyright 2010, Texas Instruments Incorporated

Interface Protocol

19

I2C Projector Control Commands

www.ti.com

1.3.1.25 Structured Light Non-Linear Processing Inhibit: (I2C: x62) This command disables certain internal video processing blocks that perform non-linear actions on the video path. For normal video, these blocks are necessary to produce visually pleasing images. But, for structured light applications, it is desirable to have a straight forward linear relationship between projector input pixel data bits and light output.
BIT(S) 0 DESCRIPTION Structured Light Non-Linear Processing Inhibit (1) 0 Inhibit certain non-linear processing blocks to support linear input to output transfer function for structured light processing modes 1 Do not inhibit: all normal video processing blocks enabled, per governing command settings Spare Unused RESET b1 TYPE wr

3:1 31:4
(1)

See Using Pico 2.0 Kit for Structured Light Applications, TI literature number DLPA021, for more details.

1.3.1.26 SL Auxiliary Output Multiplexer Setup Command (I2C: x80)


BIT(S) 7:0
(1)

DESCRIPTION Structured Light Auxiliary Output Signal Mux Control Valid selections: x00 normal x19 baseline structured light output configuration

RESET x00

TYPE w

31:8
(1)

Unused

See Using Pico 2.0 Kit for Structured Light Applications, TI literature number DLPA021, for more details.

1.3.1.27 AGC Control: (I2C: x82)


BIT(S) 0 AGC enable (1) 0 - AGC Disabled 1 - AGC Enabled RESERVED (Always write a 1 when the AGC is enabled.) (1) RESERVED (Always write a 1 when the AGC is enabled.) Spare Unused
(1)

DESCRIPTION

RESET b1

TYPE I

1 2 3 31:4
(1)

b1 b1 b0

I I

Should be disabled when using structured light modes. See Using Pico 2.0 Kit for Structured Light Applications, TI literature number DLPA021, for more details.

1.3.1.28 AGC Strength: (I2C: x85) The AGC adaptively gains up images on a frame-by-frame basis. This AGC Strength command sets the maximum gain that the AGC may apply to any input image frame.
BIT(S) 4:0 DESCRIPTION AGC Strength Maximum gain is equal to: ((STRENGTH+1)/32) * 4.0 Valid range is x00 to x1F. Spare Unused RESET x10 TYPE b

7:5 31:18

b000

20

Interface Protocol
Copyright 2010, Texas Instruments Incorporated

DLPU002A February 2010 Revised July 2010

www.ti.com

I2C Projector Control Commands

1.3.2 Color Coordinate Adjustment (CCA) Command/Field Definitions


The Color Coordinate Adjustment function allows the color coordinates and color gain to be adjusted for R, G, B, Y, C, M, and W. The format is s1.10 for all coefficients. CCA Disabled passes RGB values through unchanged. When enabled:
Red Green Blue Cyan Magenta Yellow White

Red Green Blue

C1R1 C2R1 C3R1 C4R1 C5R1 C6R1 C7R1 C1R2 C2R2 C3R2 C4R2 C5R2 C6R2 C7R2 C1R3 C2R3 C3R3 C4R3 C5R3 C6R3 C7R3

1.3.2.1

CCA Enable: (I2C: x92)


BIT(S) 0 CCA enable 0 CCA Disabled 1 CCA Enabled Spare Unused
(1)

DESCRIPTION

RESET b0

TYPE I

3:1 31:4
(1)

b000

Should be disabled when using structured light modes. See Using Pico 2.0 Kit for Structured Light Applications, TI literature number DLPA021, for more details.

1.3.2.2

CCA C1R1 Coef: (I2C: x93)


BIT(S) 11:0 31:12 Column 1 row 1 coefficient Unused DESCRIPTION RESET x400 TYPE b

1.3.2.3

CCA C1R2 Coef: (I2C: x94)


BIT(S) 11:0 31:12 Column 1 row 2 coefficient Unused DESCRIPTION RESET x000 TYPE b

1.3.2.4

CCA C1R3 Coef: (I2C: x95)


BIT(S) 11:0 31:12 Column 1 row 3 coefficient Unused DESCRIPTION RESET x000 TYPE b

1.3.2.5

CCA C2R2 Coef: (I2C: x96)


BIT(S) 11:0 31:12 Column 2 row 1 coefficient Unused DESCRIPTION RESET x000 TYPE b

DLPU002A February 2010 Revised July 2010


Copyright 2010, Texas Instruments Incorporated

Interface Protocol

21

I2C Projector Control Commands

www.ti.com

1.3.2.6

CCA C2R2 Coef: (I2C: x97)


BIT(S) 11:0 31:12 Column 2 row 2 coefficient Unused DESCRIPTION RESET x400 TYPE b

1.3.2.7

CCA C2R3 Coef: (I2C: x98)


BIT(S) 11:0 31:12 Column 2 row 3 coefficient Unused DESCRIPTION RESET x000 TYPE b

1.3.2.8

CCA C3R1 Coef: (I2C: x99)


BIT(S) 11:0 31:12 Column 3 row 1 coefficient Unused DESCRIPTION RESET x000 TYPE b

1.3.2.9

CCA C3R2 Coef: (I2C: x9A)


BIT(S) 11:0 31:12 Column 3 row 2 coefficient Unused DESCRIPTION RESET x000 TYPE b

1.3.2.10 CCA C3R3 Coef: (I2C: x9B)


BIT(S) 11:0 31:12 Column 3 row 3 coefficient Unused DESCRIPTION RESET x400 TYPE b

1.3.2.11 CCA C4R1 Coef: (I2C: x9C)


BIT(S) 11:0 31:12 Column 4 row 1 coefficient Unused DESCRIPTION RESET x000 TYPE b

1.3.2.12 CCA C4R2 Coef: (I2C: x9D)


BIT(S) 11:0 31:12 Column 4 row 2 coefficient Unused DESCRIPTION RESET x400 TYPE b

1.3.2.13 CCA C4R3 Coef: (I2C: x9E)


BIT(S) 11:0 31:12 Column 4 row 3coefficient Unused DESCRIPTION RESET x400 TYPE b

22

Interface Protocol
Copyright 2010, Texas Instruments Incorporated

DLPU002A February 2010 Revised July 2010

www.ti.com

I2C Projector Control Commands

1.3.2.14 CCA C5R1 Coef: (I2C: x9F)


BIT(S) 11:0 31:12 Column 5 row 1 coefficient Unused DESCRIPTION RESET x400 TYPE b

1.3.2.15 CCA C5R2 Coef: (I2C: xA0)


BIT(S) 11:0 31:12 Column 5 row 2 coefficient Unused DESCRIPTION RESET x000 TYPE b

1.3.2.16 CCA C5R3 Coef: (I2C: xA1)


BIT(S) 11:0 31:12 Column 5 row 3 coefficient Unused DESCRIPTION RESET x400 TYPE b

1.3.2.17 CCA C6R1 Coef: (I2C: xA2)


BIT(S) 11:0 31:12 Column 6 row 1 coefficient Unused DESCRIPTION RESET x400 TYPE b

1.3.2.18 CCA C6R2 Coef: (I2C: xA3)


BIT(S) 11:0 31:12 Column 6 row 2 coefficient Unused DESCRIPTION RESET x400 TYPE b

1.3.2.19 CCA C6R3 Coef: (I2C: xA4)


BIT(S) 11:0 31:12 Column 6 row 3 coefficient Unused DESCRIPTION RESET x000 TYPE b

1.3.2.20 CCA C7R1 Coef: (I2C: xA5)


BIT(S) 11:0 31:12 Column 7 row 1 coefficient Unused DESCRIPTION RESET x400 TYPE b

1.3.2.21 CCA C7R2 Coef: (I2C: xA6)


BIT(S) 11:0 31:12 Column 7 row 2 coefficient Unused DESCRIPTION RESET x400 TYPE b

DLPU002A February 2010 Revised July 2010


Copyright 2010, Texas Instruments Incorporated

Interface Protocol

23

I2C Projector Control Commands

www.ti.com

1.3.2.22 CCA C7R3 Coef: (I2C: xA7)


BIT(S) 11:0 31:12 Column 7 row 3 coefficient Unused DESCRIPTION RESET x400 TYPE b

1.3.3 Structured Light Control Command/Field Definitions


The following commands are specifically for use with structured light display modes. See Using Pico 2.0 Kit for Structured Light Applications, TI literature number DLPA021, for more details. 1.3.3.1 Structured Light Auxiliary Control Register Command: (I2C: xB2)
BIT(S) 7:0 DESCRIPTION Timing clock granularity Defines the clock period used for the auxiliary bit pulse width and delay commands. Period = GRANULARITY * 33.3ns Auxiliary Internal Bit 4 Edge Select 0 - Falling edge 1 - Rising edge Auxiliary Internal Bit 5 Edge Select 0 - Falling edge 1 - Rising edge Reserved Unused RESET x00 TYPE w

b0

b0

11:10 31:12

b00

1.3.3.2

SL Auxiliary Internal Bit 0 Control Command : (I2C: xB3)


BIT(S) 7:0 DESCRIPTION Structured Light Auxiliary Internal Bit 0 Mux Control x00 normal x40 baseline structured light configuration Reserved Unused RESET x00 TYPE w

11:8 31:12

x0

1.3.3.3

SL Auxiliary Internal Bit 1 Control Command : (I2C: xB4)


BIT(S) 7:0 DESCRIPTION Structured Light Auxiliary Internal Bit 0 Mux Control x00 normal x40 baseline structured light configuration Reserved Unused RESET x00 TYPE w

11:8 31:12

x0

1.3.3.4

SL Auxiliary Internal Bit 4 Control Command : (I2C: xB7)


BIT(S) 7:0 DESCRIPTION Structured Light Auxiliary Internal Bit 0 Mux Control x00 normal x40 baseline structured light configuration Reserved RESET x00 TYPE w

11:8

x0

24

Interface Protocol
Copyright 2010, Texas Instruments Incorporated

DLPU002A February 2010 Revised July 2010

www.ti.com BIT(S) 31:12 Unused DESCRIPTION

I2C Projector Control Commands RESET TYPE

1.3.3.5

SL Auxiliary Internal Bit 5 Control Command: (I2C: xB8)


BIT(S) 7:0 DESCRIPTION Structured Light Auxiliary Internal Bit 1 Mux Control x00 normal x40 baseline structured light configuration Reserved Unused RESET x00 TYPE w

11:8 31:12

x0

1.3.4 LED Color Mask Command/Field Definitions


The following commands allow selection of the LED color enables. This function may be used to change display colors when in monochromatic Display Modes (I2C: x1F). For example, a 100% green display mode can be switched to 100% red by selecting green on the red LED enable mask. Note that when using the LED driver circuit included with the Pico Development Kit, setting more than one LED enable to the same source is not supported and may result in unpredictable behavior. 1.3.4.1 Red LED Enable Mask : (I2C: xBB)
BIT(S) 7:0 DESCRIPTION Red LED enable mask Valid selections: x08 Red LED enable mapped to red data channel x10 Red LED enable mapped to green data channel x20 Red LED enable mapped to blue data channel Unused RESET x08 TYPE w

31:8

1.3.4.2

Green LED Enable Mask : (I2C: xBC)


BIT(S) 7:0 DESCRIPTION Green LED enable mask Valid selections: x08 Green LED enable mapped to red data channel x10 Green LED enable mapped to green data channel x20 Green LED enable mapped to blue data channel Unused RESET x10 TYPE w

31:8

1.3.4.3

Blue LED Enable Mask: (I2C: xBD)


BIT(S) 7:0 DESCRIPTION Blue LED enable mask Valid selections: x08 Blue LED enable mapped to red data channel x10 Blue LED enable mapped to green data channel x20 Blue LED enable mapped to blue data channel Unused RESET x20 TYPE w

31:8

DLPU002A February 2010 Revised July 2010


Copyright 2010, Texas Instruments Incorporated

Interface Protocol

25

I2C Projector Control Commands

www.ti.com

1.3.5 Structured Light Control Command/Field Definitions (continued)


The following commands are specifically for use with structured light display modes. See Using Pico 2.0 Kit for Structured Light Applications, TI literature number DLPA021, for more details. 1.3.5.1 SL Auxiliary Internal Pattern Sync Control Command: (I2C: xBE)
BIT(S) 7:0 DESCRIPTION Structured Light Auxiliary Internal Pattern Sync Mux Control x00 normal x40 baseline structured light configuration Unused RESET x40 TYPE w

31:8

1.3.5.2

SL Auxiliary Internal Bit 4 Delay Command: (I2C: xBF)


BIT(S) 14:0 DESCRIPTION Structured Light Auxiliary Internal Bit 4 Delay Specifies how many clocks to delay the output pulse from the edge selected by "edge select". Actual delay amount is this register setting plus two clocks. Zero is an invalid setting. Spare Unused RESET x0001 TYPE w

15 31:16

b0

1.3.5.3

SL Auxiliary Internal Bit 4 Pulse Width Command: (I2C: xC0)


BIT(S) 14:0 DESCRIPTION Structured Light Auxiliary Internal Bit 4 Pulse Width Specifies how many clocks wide the output pulse will be. Zero is invalid. Spare Unused RESET x0001 TYPE w

15 31:16

b0

1.3.5.4

Auxiliary Internal Bit 5 Delay Command: (I2C: xC1)


BIT(S) 14:0 DESCRIPTION Structured Light Auxiliary Internal Bit 5 Delay Specifies how many clocks to delay the output pulse from the edge selected by "edge select". Actual delay amount is this register setting plus two clocks. Zero is an invalid setting. Spare Unused RESET x0001 TYPE w

15 31:16

b0

1.3.5.5

SL Auxiliary Internal Bit 5 Pulse Width Command: (I2C: xC2)


BIT(S) 14:0 DESCRIPTION Structured Light Auxiliary Internal Bit 5 Pulse Width Specifies how many clocks wide the output pulse will be. Zero is invalid. Spare Unused RESET x0001 TYPE w

15 31:16

b0

26

Interface Protocol
Copyright 2010, Texas Instruments Incorporated

DLPU002A February 2010 Revised July 2010

www.ti.com

I2C Projector Control Commands

1.3.6 Internal Pattern Structured Light Command/Field Definitions


The following commands are specifically for use with internal pattern structured light display modes. See Using Pico 2.0 Kit for Structured Light Applications, TI literature number DLPA021, for more details. Up to 32 patterns vertical stripe pattern (selected from a list of 15 options) can be displayed sequentially at high speeds without supplying any video inputs to the chipset. The predefined list of 15 vertical stripe patterns are as follows: Pattern Pointer = x0 - all black (or white with inversion bit set):

Pattern Pointer = x1 50% stripe width

Pattern Pointer =x2 256 pixel black stripe width, centered

Pattern Pointer = x3 128 pixel black & white stripe widths

Pattern Pointer = x4 64 pixel

Pattern Pointer = x5 32 pixel

Pattern Pointer = x6 16 pixel

Pattern Pointer = x7 8 pixel

Pattern Pointer = x8 - 4 pixel

DLPU002A February 2010 Revised July 2010


Copyright 2010, Texas Instruments Incorporated

Interface Protocol

27

I2C Projector Control Commands

www.ti.com

Pattern Pointer = x9 stripe width = two pixels

Pattern Pointer = xA

Pattern Pointer = xB

Pattern Pointer = xC

Pattern Pointer = xD

Pattern Pointer = xE

(Pattern Pointer = xF invalid.) Synchronization strobes from the chipset mark the display times of these patterns, and can be used for camera/projector synchronization. See Using Pico 2.0 Kit for Structured Light Applications, TI literature number DLPA021, for more details. 1.3.6.1 Internal Structured Light Configuration Command: (I2C: xD2)
BIT(S) 0 DESCRIPTION Internal Structured Light Pattern Function Enable 0 - Disable 1 Enable Spare Internal Structured Light Pattern Count Number of structured light patterns minus one that will be displayed before pattern sequence repeats Spare RESET b0 TYPE w

3:1 8:4

b000 x00 w

11:9

b000

28

Interface Protocol
Copyright 2010, Texas Instruments Incorporated

DLPU002A February 2010 Revised July 2010

www.ti.com BIT(S) 31:12 Unused DESCRIPTION

I2C Projector Control Commands RESET TYPE

1.3.6.2

Internal Structured Light Inversion Mask 1 Command : (I2C: xD3)


BIT(S) 7:0 DESCRIPTION Internal Structured Light Pattern Inversion Mask 7:0 1 Invert data of pattern corresponding to index number 0 Do not invert Unused RESET x00 TYPE w

31:8

1.3.6.3

Internal Structured Light Inversion Mask 2 Command : (I2C: xD4)


BIT(S) 7:0 DESCRIPTION Internal Structured Light Pattern Inversion Mask 15:8 1 Invert data of pattern corresponding to index number 0 Do not invert Unused RESET x00 TYPE w

31:8

1.3.6.4

Internal Structured Light Inversion Mask 3 Command : (I2C: xD5)


BIT(S) 7:0 DESCRIPTION Internal Structured Light Pattern Inversion Mask 23:16 1 Invert data of pattern corresponding to index number 0 Do not invert Unused RESET x00 TYPE w

31:8

1.3.6.5

Internal Structured Light Inversion Mask 4 Command : (I2C: xD6)


BIT(S) 7:0 DESCRIPTION Internal Structured Light Pattern Inversion Mask 31:24 1 Invert data of pattern corresponding to index number 0 Do not invert Unused RESET x00 TYPE w

31:8

1.3.6.6

Internal Structured Light Pattern Pointer 1 Command : (I2C: xD7)


BIT(S) 3:0 7:4 31:8 DESCRIPTION Internal Structured Light Pattern Pointer x00 Internal Structured Light Pattern Pointer x01 Unused RESET x0 x0 TYPE w w

1.3.6.7

Internal Structured Light Pattern Pointer 2 Command : (I2C: xD8)


BIT(S) 3:0 7:4 31:8 DESCRIPTION Internal Structured Light Pattern Pointer x02 Internal Structured Light Pattern Pointer x03 Unused RESET x0 x0 TYPE w w

DLPU002A February 2010 Revised July 2010


Copyright 2010, Texas Instruments Incorporated

Interface Protocol

29

I2C Projector Control Commands

www.ti.com

1.3.6.8

Internal Structured Light Pattern Pointer 3 Command : (I2C: xD9)


BIT(S) 3:0 7:4 31:8 DESCRIPTION Internal Structured Light Pattern Pointer x04 Internal Structured Light Pattern Pointer x05 Unused RESET x0 x0 TYPE w w

1.3.6.9

Internal Structured Light Pattern Pointer 4 Command : (I2C: xDA)


BIT(S) 3:0 7:4 31:8 DESCRIPTION Internal Structured Light Pattern Pointer x06 Internal Structured Light Pattern Pointer x07 Unused RESET x0 x0 TYPE w w

1.3.6.10 Internal Structured Light Pattern Pointer 5 Command : (I2C: xDB)


BIT(S) 3:0 7:4 31:8 DESCRIPTION Internal Structured Light Pattern Pointer x08 Internal Structured Light Pattern Pointer x09 Unused RESET x0 x0 TYPE w w

1.3.6.11 Internal Structured Light Pattern Pointer 6 Command: (I2C: xDC)


BIT(S) 3:0 7:4 31:8 DESCRIPTION Internal Structured Light Pattern Pointer x0A Internal Structured Light Pattern Pointer x0B Unused RESET x0 x0 TYPE w w

1.3.6.12 Internal Structured Light Pattern Pointer 7 Command: (I2C: xDD)


BIT(S) 3:0 7:4 31:8 DESCRIPTION Internal Structured Light Pattern Pointer x0C Internal Structured Light Pattern Pointer x0D Unused RESET x0 x0 TYPE w w

1.3.6.13 Internal Structured Light Pattern Pointer 8 Command: (I2C: xDE)


BIT(S) 3:0 7:4 31:8 DESCRIPTION Internal Structured Light Pattern Pointer x0E Internal Structured Light Pattern Pointer x0F Unused RESET x0 x0 TYPE w w

1.3.6.14 Internal Structured Light Pattern Pointer 9 Command: (I2C: xDF)

30

Interface Protocol
Copyright 2010, Texas Instruments Incorporated

DLPU002A February 2010 Revised July 2010

www.ti.com BIT(S) 3:0 7:4 31:8 DESCRIPTION Internal Structured Light Pattern Pointer x10 Internal Structured Light Pattern Pointer x11 Unused

I2C Projector Control Commands RESET x0 x0 TYPE w w

1.3.6.15 Internal Structured Light Pattern Pointer 10 Command: (I2C: xE0)


BIT(S) 3:0 7:4 31:8 DESCRIPTION Internal Structured Light Pattern Pointer x12 Internal Structured Light Pattern Pointer x13 Unused RESET x0 x0 TYPE w w

1.3.6.16 Internal Structured Light Pattern Pointer 11 Command: (I2C: xE1)


BIT(S) 3:0 7:4 31:8 DESCRIPTION Internal Structured Light Pattern Pointer x14 Internal Structured Light Pattern Pointer x15 Unused RESET x0 x0 TYPE w w

1.3.6.17 Internal Structured Light Pattern Pointer 12 Command : (I2C: xE2)


BIT(S) 3:0 7:4 31:8 DESCRIPTION Internal Structured Light Pattern Pointer x16 Internal Structured Light Pattern Pointer x17 Unused RESET x0 x0 TYPE w w

1.3.6.18 Internal Structured Light Pattern Pointer 13 Command : (I2C: xE3)


BIT(S) 3:0 7:4 31:8 DESCRIPTION Internal Structured Light Pattern Pointer x18 Internal Structured Light Pattern Pointer x19 Unused RESET x0 x0 TYPE w w

1.3.6.19 Internal Structured Light Pattern Pointer 14 Command : (I2C: xE4)


BIT(S) 3:0 7:4 31:8 DESCRIPTION Internal Structured Light Pattern Pointer x1A Internal Structured Light Pattern Pointer x1B Unused RESET x0 x0 TYPE w w

1.3.6.20 Internal Structured Light Pattern Pointer 15 Command : (I2C: xE5)


BIT(S) 3:0 7:4 31:8 DESCRIPTION Internal Structured Light Pattern Pointer x1C Internal Structured Light Pattern Pointer x1D Unused RESET x0 x0 TYPE w w

DLPU002A February 2010 Revised July 2010


Copyright 2010, Texas Instruments Incorporated

Interface Protocol

31

I2C Projector Control Commands

www.ti.com

1.3.6.21 Internal Structured Light Pattern Pointer 16 Command : (I2C: xE6)


BIT(S) 3:0 7:4 31:8 DESCRIPTION Internal Structured Light Pattern Pointer x1E Internal Structured Light Pattern Pointer x1F Unused RESET x0 x0 TYPE w w

32

Interface Protocol
Copyright 2010, Texas Instruments Incorporated

DLPU002A February 2010 Revised July 2010

www.ti.com

I2C Projector Control Commands

1.3.7 Options for Input Image Resolutions/Orientations and DMD Displayed Images
FOR NORMAL IMAGE Scale factor: Height 1:1 Width 1:1 240

Fill with black 480

320

320

Commands: Image resolution Image rotation

QVGA Portrait (Addr x05 = x0) No rotation (Addr x07 = x0)

FOR ROTATED IMAGE Scale factor: Height 1:1.33 Width 1:1.50 240 480

320

320

Commands: Image resolution Image rotation

QVGA Portrait (Addr x05 = x0) Rotation(90 degrees) (Addr x07 = x1)

Figure 1-3. Portrait QVGA to HVGA

DLPU002A February 2010 Revised July 2010


Copyright 2010, Texas Instruments Incorporated

Interface Protocol

33

I2C Projector Control Commands

www.ti.com

FOR NORMAL IMAGE Scale factor: Height 1:1.5 Width 1:1.5 320

Fill with black 480

480

320

Commands: Image resolution Image rotation

HVGA Portrait (Addr x05 = x2) No rotation (Addr x07 = x0)

FOR ROTATED IMAGE Scale factor: Height 1:1 Width 1:1 320 480

480

320

Commands: Image resolution Image rotation

HVGA Portrait (Addr x05 = x2) Rotation(90 degrees) (Addr x07 = x1)

Figure 1-4. Portrait HVGA to HVGA

34

Interface Protocol
Copyright 2010, Texas Instruments Incorporated

DLPU002A February 2010 Revised July 2010

www.ti.com

I2C Projector Control Commands

FOR NORMAL IMAGE Scale factor: Height 1:0.5 Width 1:0.5 480

Fill with black 480

640

320

Commands: Image resolution Image rotation

VGA Portrait No rotation

(Addr x05 = x4) (Addr x07 = x0)

FOR ROTATED IMAGE Scale factor: Height 1.50:1 Width 1.33:1 480 480

640

320

Commands: Image resolution Image rotation

VGA Portrait (Addr x05 = x4) Rotation(90 degrees) (Addr x07 = x1)

Figure 1-5. Portrait VGA to HVGA

DLPU002A February 2010 Revised July 2010


Copyright 2010, Texas Instruments Incorporated

Interface Protocol

35

I2C Projector Control Commands

www.ti.com

Scale factor:

Height 1:1.33 Width 1:1.50 480 320

240

320

Commands: Image resolution Image rotation

QVGA Landscape No rotation

(Addr x05 = x1) (Addr x07 = x0)

Figure 1-6. Landscape QVGA to HVGA


Scale factor: Height 1:1 Width 1:1 480 480

320

320

Commands: Image resolution Image rotation

HVGA Landscape No rotation

(Addr x05 = x3) (Addr x07 = x0)

Figure 1-7. Landscape HVGA to HVGA

36

Interface Protocol
Copyright 2010, Texas Instruments Incorporated

DLPU002A February 2010 Revised July 2010

www.ti.com

I2C Projector Control Commands

Scale factor:

Height 1.50:1 Width 1.33:1 640 480

480

320

Commands: Image resolution Image rotation

VGA Landscape No rotation

(Addr x05 = x5) (Addr x07 = x0)

Figure 1-8. Landscape VGA to HVGA


Scale factor: Height 1.33:1 Width 1.50:1

720

480

240

320

Commands: Image resolution Image rotation

NTSC Landscape No rotation

(Addr x05 = x6) (Addr x07 = x0)

Figure 1-9. Landscape NTSC to HVGA 72x240 is the image size output by the TVP5150 video decoder for each 60Hz NTSC field. The image is only 240 lines tall because every other line is missing due to interlacing. The DLPC100 scales the field to create a full frame of data to display on the DMD at a 60Hz frame rate. The scaling operation achieves a low-cost method of deinterlacing.

DLPU002A February 2010 Revised July 2010


Copyright 2010, Texas Instruments Incorporated

Interface Protocol

37

I2C Projector Control Commands

www.ti.com

Scale factor:

Height 1.11:1 Width 1.50:1

720

480

288

320

Commands: Image resolution Image rotation

PAL/SECAM Landscape No rotation

(Addr x05 = x8) (Addr x07 = x0)

Figure 1-10. Landscape PAL/SECAM to HVGA 72x288 is the image size output by the TVP5150 video decoder for each 60Hz PAL or SECAM field. The image is only 288 lines tall because every other line is missing due to interlacing. The DLPC100 scales the field to create a full frame of data to display on the DMD at a 50Hz frame rate. The scaling operation achieves a low-cost method of deinterlacing.
Scale factor: Height 1:1 Width 1:1 640 480

480

320

Commands: Image resolution Image rotation

VGA Landscape cropped to HVGA No rotation

(Addr x05 = x7) (Addr x07 = x0)

Figure 1-11. Landscape VGA Cropped to HVGA (Not Scaled) Input pixels within the HVGA input sub-image map one-for-one to pixels on the HVGA DMD. This is useful for inputting optical test patterns.

38

Interface Protocol
Copyright 2010, Texas Instruments Incorporated

DLPU002A February 2010 Revised July 2010

Chapter 2
DLPU002A February 2010 Revised July 2010

Powerup and Powerdown Considerations

2.1

Powerup
The Pico Chipset electronics and I2C command processor interface inside the DLPC100 will be initialized and ready to process commands 1.0 seconds after signal PWRGOOD goes high. Detailed power-up timing is given in the DLPC100 data sheet, TI literature number DLPS019 . Commands input prior to 1.0 second after PWRGOOD goes high may not be decoded properly.

2.2

Powerdown
No commands are required at power down of the Pico Chipset. The DC power supplies must be turned off, and PWRGOOD must be set low, according to the timing in the DLPC100 data sheet.

DLPU002A February 2010 Revised July 2010

Powerup and Powerdown Considerations


Copyright 2010, Texas Instruments Incorporated

39

40

Powerup and Powerdown Considerations


Copyright 2010, Texas Instruments Incorporated

DLPU002A February 2010 Revised July 2010

Chapter 3
DLPU002A February 2010 Revised July 2010

Command Quick Reference

Table 3-1 provides a quick reference summary of all available projector commands. Table 3-1.
I2C ADDRESS x04 x05 x06 x07 x08 x09 x0A x0B x0C x0D x0E x0F x10 x11 x12 x13 x14-1D x1E x1F x20-23 x24 x25 x26 x27 x28 x29 x2A-x3F x40 x41-x61 x62 x63-x7F x80 x81 x82
(1) (2)

REGISTER

(1)

SIZE 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 4 4 4 15 4 12 4 8 3

TYPE WR WR WR WR WR WR WR WR WR WR WR WR WR WR WR WR WR WR WR WR WR WR WR R WR WR WR

(2)

DEFAULT VALUE x2 x1 x2 x0 x0 x0 x0 x0 x1 x4 x03FF x03FF x03FF x0 x0 x0 x0 x0 x0 x1 x0 x0000 x1 n/a x1 x00 x7

DEFAULT ACTION Splash QVGA landsc. RGB888 No rotate Disabled Disabled 3:2 (48x320) Checkerboard Rising edge DATEN high Min current Min current Min current Disabled Disabled Disabled Enhanced Gr. R39G48B13 Free Run Logo in Flash Disabled No delay Not Inhibited n/a Not Inhibited Normal Enabled

Input Source and Interface Mode Input Resolution Pixel Format Input Rotation (for portrait inputs only) Image Flip Long Axis Image Flip Short Axis Aspect Ratio Modification Internal Test Patterns Pixel Interface Clock Edge Pixel Interface Sync Polarity Red LED Driver Current Green LED Driver Current Blue LED Driver Current Enable Red LED Enable Green LED Enable Blue LED * RESERVED Degamma Curve Select Display Mode Select * RESERVED Sync Mode Splash Image Select Video/graphics enhancement Enable VSYNC Delay * RESERVED SL Output Display Inhibit * RESERVED Firmware Revision * RESERVED SL Non-Linear Processing Inhibit * RESERVED SL Aux Output Mux Setup * RESERVED AGC Control

RESERVED registers should never be written to. WR type is writeable and data is also readable. R type is read-only. Writes to these fields will have no effect. S type is a latched status bit. Reading a 1 in this field means that the signal has gone high since the last clear. Writing a 1 to this field clears the status bit. * RESERVED registers should never be written to. Command Quick Reference
Copyright 2010, Texas Instruments Incorporated

DLPU002A February 2010 Revised July 2010

41

www.ti.com

Table 3-1. (continued)


I2C ADDRESS x83-x84 x85 x86-x91 x92 x93 x94 x95 x96 x97 x98 x99 x9A x9B x9C x9D x9E x9F xA0 xA1 xA2 xA3 xA4 xA5 xA6 xA7 xA6-xB1 xB2 xB3 xB4 xB5-xB6 xB7 xB8 xB9-xBA xBB xBC xBD xBE xBF xC0 xC1 xC2 xC1-xD1 xD2 xD3 xD4 xD5 xD6 42 Command Quick Reference
Copyright 2010, Texas Instruments Incorporated

REGISTER

(1)

SIZE

TYPE

(2)

DEFAULT VALUE x10 x1 x400 x0C5 x099 x125 x400 x0ED x000 x000 x400 x000 x400 x400 x400 x000 x400 x400 x400 x000 x400 x400 x400 x00 x00 x00 x00 x00 x08 x10 x20 x40 x0001 x0001 x0001 x0001 x000 x00 x00 x00 x00

DEFAULT ACTION Max gain=2.1 Enabled

* RESERVED AGC Strength * RESERVED CCA Enable CCA Column 1 Row 1 Coefficient CCA Column 1 Row 2 Coefficient CCA Column 1 Row 3 Coefficient CCA Column 2 Row 1 Coefficient CCA Column 2 Row 2 Coefficient CCA Column 2 Row 3 Coefficient CCA Column 3 Row 1 Coefficient CCA Column 3 Row 2 Coefficient CCA Column 3 Row 3 Coefficient CCA Column 4 Row 1 Coefficient CCA Column 4 Row 2 Coefficient CCA Column 4 Row 3 Coefficient CCA Column 5 Row 1 Coefficient CCA Column 5 Row 2 Coefficient CCA Column 5 Row 3 Coefficient CCA Column 6 Row 1 Coefficient CCA Column 6 Row 2 Coefficient CCA Column 6 Row 3 Coefficient CCA Column 7 Row 1 Coefficient CCA Column 7 Row 2 Coefficient CCA Column 7 Row 3 Coefficient * RESERVED SL Auxiliary Control Register SL Aux Input Bit 0 Control SL Aux Input Bit 1 Control * RESERVED SL Aux Input Bit 4 Control SL Aux Input Bit 5 Control * RESERVED Red LED Enable Mask Green LED Enable Mask Blue LED Enable Mask SL Aux Internal Pattern Sync Control SL Aux Internal Bit 4 Delay SL Aux Internal Bit 4 Pulse Width SL Aux Internal Bit 5 Delay SL Aux Internal Bit 5 Pulse Width * RESERVED Internal Structured Light Config Internal SL Inversion Mask 1 Internal SL Inversion Mask 2 Internal SL Inversion Mask 3 Internal SL Inversion Mask 4 12 8 8 8 8 WR WR WR WR WR Disabled No inversion No inversion No inversion No inversion 8 8 8 8 16 16 16 16 WR WR WR WR WR WR WR WR 8 8 WR WR Normal Normal 8 8 8 WR WR WR n/a Normal Normal 1 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 WR WR WR WR WR WR WR WR WR WR WR WR WR WR WR WR WR WR WR WR WR WR 5 WR

Normal Delay by 3 2 clocks wide Delay by 3 2 clocks wide

DLPU002A February 2010 Revised July 2010

www.ti.com

Table 3-1. (continued)


I2C ADDRESS xD7 xD8 xD9 xDA xDB xDC xDD xDE xDF xE0 xE1 xE2 xE3 xE4 xE5 xE6 xE7-xFF REGISTER
(1)

SIZE 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8

TYPE WR WR WR WR WR WR WR WR WR WR WR WR WR WR WR WR

(2)

DEFAULT VALUE x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00

DEFAULT ACTION Pattern 0 Pattern 0 Pattern 0 Pattern 0 Pattern 0 Pattern 0 Pattern 0 Pattern 0 Pattern 0 Pattern 0 Pattern 0 Pattern 0 Pattern 0 Pattern 0 Pattern 0 Pattern 0

Internal SL Pattern Pointer 1 Internal SL Pattern Pointer 2 Internal SL Pattern Pointer 3 Internal SL Pattern Pointer 4 Internal SL Pattern Pointer 5 Internal SL Pattern Pointer 6 Internal SL Pattern Pointer 7 Internal SL Pattern Pointer 8 Internal SL Pattern Pointer 9 Internal SL Pattern Pointer 10 Internal SL Pattern Pointer 11 Internal SL Pattern Pointer 12 Internal SL Pattern Pointer 13 Internal SL Pattern Pointer 14 Internal SL Pattern Pointer 15 Internal SL Pattern Pointer 16 * RESERVED

DLPU002A February 2010 Revised July 2010


Copyright 2010, Texas Instruments Incorporated

Command Quick Reference

43

REVISION HISTORY

www.ti.com

REVISION HISTORY
REVISION * A DATE 2/2010 7/2010 SECTION(S) All 1.3.1.26 Revision History Initial release Bit(7:0) description corrected Added Revision History table COMMENT

NOTE: Page numbers for previous revisions may differ from page numbers in the current version.

44

Revision History
Copyright 2010, Texas Instruments Incorporated

DLPU002A February 2010 Revised July 2010

IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are sold subject to TIs terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TIs standard warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily performed. TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using TI components. To minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional restrictions. Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonably be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products and any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may be provided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in such safety-critical applications. TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are specifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet military specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at the Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use. TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated products in automotive applications, TI will not be responsible for any failure to meet such requirements. Following are URLs where you can obtain information on other Texas Instruments products and application solutions: Products Amplifiers Data Converters DLP Products DSP Clocks and Timers Interface Logic Power Mgmt Microcontrollers RFID amplifier.ti.com dataconverter.ti.com www.dlp.com dsp.ti.com www.ti.com/clocks interface.ti.com logic.ti.com power.ti.com microcontroller.ti.com www.ti-rfid.com Applications Audio Automotive Communications and Telecom Computers and Peripherals Consumer Electronics Energy Industrial Medical Security Space, Avionics & Defense Video and Imaging Wireless www.ti.com/audio www.ti.com/automotive www.ti.com/communications www.ti.com/computers www.ti.com/consumer-apps www.ti.com/energy www.ti.com/industrial www.ti.com/medical www.ti.com/security www.ti.com/space-avionics-defense www.ti.com/video www.ti.com/wireless-apps

RF/IF and ZigBee Solutions www.ti.com/lprf

Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright 2010, Texas Instruments Incorporated

Anda mungkin juga menyukai