This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Make Pattern Sequence Through I2C

Other Parts Discussed in Thread: DLPC350

Hello,

Thank you very much for your support. Please let me ask you another question about making patter sequence.

My firmware version is DLPR350PROM_v2.0.0,and I have to config DLPC350 only through I2C interface.

the pattern display data is streamed through the 24-bit RGB interface. 

84Mhz clock, 1140 x 912, 70Hz, 

1000000us / 70 / 3 = 4762 us (0x129A)

Three 7bit patterns, repeat.

According "DLPU010D-May 2013",  “4.2 Trigger Mode 0 Example”, Setting as folling:

    read : 0x20 -> 01 01     (i2c read Reg 0x20, get 01 )

    read:  0x21 -> 01 01     (i2c read Reg 0x21, get 01 )

    read:  0x22 -> 01 0e      (i2c read Reg 0x22, get 0e )

 

1. E9 01     (i2c write Reg 0x69 = 01,enable pattern display mode)

2. EF 00     (I2C write Reg 0x6f = 00,  pattern display data input source )

3. F5 02 01 02 00     (I2C write Reg 0x75 )

4. F0 00     (I2C write Reg 0x70 )

5. E6 00 00 11 A0 00 00 12 9A     (I2C write Reg 0x66, exposure time = 0x11a0, frame time = 0x129a  ) (Is the byte order correct?)

6.

      (i) F7 02    (I2C write Reg 0x77, open mailbox)

      (ii) F6 00    (I2C write Reg 0x76, mailbox offset )

      (iii)      ( I2C write Reg 0x78,  pattern display lut data )

              F8  01 77 06          (external positive trigger, pattern number 0;   white, 7bit;   buffer swap, insert black-fill)

              F8  07 77 02          (no input trigger, pattern number 1; white, 7bit;  no buffer swap, insert black-fill)

              F8  0B 77 02          (no inpt trigger, pattern number 2;  white, 7bit;  no buffer swap, insert black-fill)

       (iv) F7 00    (I2C write Reg 0x77, close mailbox )

 

7. FD 00   (I2C write Reg 0x7d, a dummy write)

     read: 0x7D -> 01 08         ( innormal )

8.

    read : 0x20 -> 01 41     (sequencer abort)

    read:  0x21 -> 01 01

    read:  0x22 -> 01 08

 

9. E5 02      (i2c write reg 0x65 : 02,start the sequence)

 

note:a. RGB24 stream signal (P1_VSYNC, P1_HSYNC, P1_DATEN, P1A_CLK)is always exiting.    

           b. The interval between every two I2C reading or writing operation is enough long. 

I cannot get a normal  Reg-0x7d-data, AND the  hardware status is also wrong.

What's the error in my configurations? 

  • I update firmware vertion to V3.0.0,  and try again :

        read : 0x20 -> 01 01     (i2c read Reg 0x20, get 01 )

        read:  0x21 -> 01 01     (i2c read Reg 0x21, get 01 )

        read:  0x22 -> 01 0e      (i2c read Reg 0x22, get 0e )

     

    1. E9 01     (i2c write Reg 0x69 = 01,enable pattern display mode)

    2. EF 00     (I2C write Reg 0x6f = 00,  pattern display data input source )

    3. F5 02 01 02 00     (I2C write Reg 0x75 )

    4. F0 00     (I2C write Reg 0x70 )

    5. E6 A0 11 00 00 9A 12 00 00     (I2C write Reg 0x66, exposure time = 0x11a0, frame time = 0x129a  ) (LSB to MSB order)

    6.

          (i) F7 02    (I2C write Reg 0x77, open mailbox)

          (ii) F6 00    (I2C write Reg 0x76, mailbox offset )

          (iii)      ( I2C write Reg 0x78,  pattern display lut data )

                  F8  01 77 06          (external positive trigger, pattern number 0;   white, 7bit;   buffer swap, insert black-fill)

                  F8  07 77 02          (no input trigger, pattern number 1; white, 7bit;  no buffer swap, insert black-fill)

                  F8  0B 77 02          (no inpt trigger, pattern number 2;  white, 7bit;  no buffer swap, insert black-fill)

           (iv) F7 00    (I2C write Reg 0x77, close mailbox )

     

    7. FD 00   (I2C write Reg 0x7d, a dummy write)

         read: 0x7D -> 01 00         ( seems normal)

    8.

        read : 0x20 -> 01 41     (sequencer abort)

        read:  0x21 -> 01 01

        read:  0x22 -> 01 0C

     

    9. E5 02      (i2c write reg 0x65 : 02,start the sequence) 

       E5   02     ( first  0x65 writing command has no effect, the second 0x65 writing command light up the projector, and project out an innormal image )

     

    The projection image is innormal, but two signal: trig_out_1 and trig_out_2 seems well:


     

    I have read some TI's e2e post about I2C pattern configuration,  I become confused,

    Can pattern configuration be done merely through I2C interface ?  my device has no USB interface.

    Does anybody know?

  • Hi zhuhd,

    It sounds like you may be using a custom board. Do you have access to a LightCrafter4500? It would be good to confirm you can setup your use case using the GUI and validating that it works.

    If you only have your custom board, we can discuss further debug options.

    Thanks,
    Clinton
  • Hi, 

    Thank you for answer.

    >> It sounds like you may be using a custom board. Do you have access to a LightCrafter4500? It would be good to confirm you can setup your use case using the GUI and validating that it works.

    Yes, out custom board intergrates DLPC350 chip set  and two cameras. We control DLPC350 with  FPGA  through I2C interface. 

    The board works well in video display mode ( I2C Reg 0x69 == 00).

    >> If you only have your custom board, we can discuss further debug options.

    Yes, I want to know, Is there some mistakes in my configuration?