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.

DLPC350: Question with Pattern Sequence Mode via Programming

Part Number: DLPC350
Other Parts Discussed in Thread: DLP4500,

Hi there

I am trying to use my DLP4500 to display gray code. I have written 42 binary gray code images to two 24-bit RGB images and uploaded them to flash. I want to display these patterns in sequence via the Pattern Sequence Mode and reading off data from flash memory. In the GUI, I can select things like bit depth, color, and bit-plane (e.g. R0, R1, ...etc). Then I can send, validate and display the sequence successfully.

Now I want do it fully automatically with programming. However, I have problem understanding the DLPC350 programmer guide. I guess my problem lies on how to define all those parameters (e.g. bit-depth, bit-plane, LED color, etc) in code. As shown in the example in Section 4.1, Table 4.1, these things are done in step 7: Setting up LUT. My problems are:

1. We can see there are Byte 0, Byte 1, and Byte 2. Does it means I need to input three parameters in my code?

2. In step 7, we can see Byte 0 is subdivided to b1:0 and b7:0, where one control the trigger mode and one control bit-plane. However, I don't quite understand how does it works. For example, if I want it to be internal trigger and R0 as my bit-plane, what should I input there?

3. Same case for Byte 1 and Byte 2. For example, what does b3:0 and b6:4 means? If I want my bit weight to be 8, and LED color to be white, what should I input there?

For your information, I am using a python library to control the DLPC350. The link to the library is: https://github.com/WallaceIT/dlpc350 

There is a function fillPatternData(self, data) where 3 bytes information are to be sent to the parameter 'data'. I am having difficulty in defining the 3 bytes input data. I think a better understanding on the programmer guide will help.

Thanks!

##### New Questions about Table 2-51 Edited 18/4/2019 3:24pm ####

In validation of the data sequence, there are some warnings. I am getting some of the warnings intermittently without modifying my code. For example, I sometimes get

'Selected exposure or frame period settings are invalid'

In another run, I get:

'Continuous Trigger Out1 request or overlapping black sectors.'

'Warning, post vector was not inserted prior to external triggered vector'

What do these warnings mean? What are the possible causes?

###########

Best regards,

Jeff Leung

  • Hello Jeff Leung,

    Thank you for the detailed questions. We will not be able to provide specific support for the Python library; however, allow us to look into your questions about the programmer's guide and we will get back to you.

    Thanks,
    Kyle
  • Hello. Thanks for the reply. I have added some new questions to the original post. It is related to Table 2-51 Validate Data Command Response.

  • Hi Yuk,

    Are you using your own python application for configuring the device? if yes, I'll suggest that you create a pattern sequence using the GUI, verify it works for your purpose and then export it to your python application. For our reference, could you kindly explain what kind of pattern configuration you are looking to use? In that way we can even provide an example config to start with.

    Thanks & Regards,
    Hirak.
  • Hi Kirak,

    Thanks for your reply. Yes, I am using the python library from the attached link to configure the device. After reading the programmer guide in detail I now understand how to write the three bytes of data into the device for defining pattern bit-plane, bit-depth, LED color, etc. I can now define a sequence of patterns into the LUT and display in pattern sequence mode with input source from flash memory. For example, [0x20, 0x71, 0x00] would be pattern R0, all RGB LED on, etc.

    The one problem left behind is that the LUT is supposed to store up to 128 pattern sequence but I can only do 19. That might be related to the way how LUT is configured, which I need to further investigate on. Anyway this one should be out of the original scope of this thread. Thank you for all the help! 

    Best regards,

    LEUNG, Yuk Ching

  • Is your query resolved? Then kindly click "This resolved my query" button! Thanks for your interest in TI DLP technology.

    Thanks & Regards,
    Hirak.