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.

Queries on Programming DLP LightCommander

Other Parts Discussed in Thread: DLPC200

Hello,

I have been programming the DLP LC that we have, using LogicPD's Light Commander Control Software (LLCCS) and also using APIs provided by TI.

1. I was able to load and display desired no. of images at desired frame rates using both LLCCS and APIs. But the problem is that, once the LED intensities (of RGB)are set, these settings remains the same for all these images. But i want different LEDs to be ON for different images and also different LED intensity levels for different images.

  I tried calling the function (APIs) that sets these intensity levels of the three LEDs in an infinite loop, but the rate was too low.(Image frame rate desired is in the range of  500 fps but the rate of LED intensity variation that was possible by this method was in the range of 20 fps, depending upon processor's speed)

So, how can i have different LED intensity levels for different images and display these images at desired frame rate(around 500fps)?

2. i think to get such high rate of intensity changes, the only solution is to program the flash memory because serial comm can never be that fast. but we can load only the binary files created by LLCCS onto the flash memory and LLCCS  doesnt convert the batch file that i have written into binary files.

So, how to program the flash memory to achieve my objective? is there any memory map for the flash memory present inside DLP LC? i thought of loading 3 to 4 batch files(converted into a binary file using LLCCS) on to flash memory and run them in a loop.. but can i  do this??

i request you to please help me on this regard.

Thanking you,

Shashanka(Student of Temkar Ruckmongathan)

  • Hi Shashanka,

    Welcome to DLP&MEMS forum.

    Your response to the questions below.

    1. The support for enabling different LEDs for different images and applying different intensity for different images is not there in the system. However, we would like to note such requests and will use it while developing future platforms.

    2. As I mentioned in (1) at 500Hz the LED driver used in the system not designed for accepting current intensity changes and also the system has no mechanism in place to synchronise the LED intensity update to image displayed. So even if you create a binary and program the flash it will not help. At present we don't have plans to expose the flash configuration map information.

    Regards,
    Sanjeev

  • Dear Sanjeev,

    Thank you for responding for my questions. It was helpful.

    I had asked the same question to LogicPD's tech support team and this is what they replied,

    "Depending on timing, you could use the API to switch between two or more sequences stored in flash with different patterns and different LED intensity settings."

    I am not sure how to achieve this(ie, how to store more than one sequence in flash memory). Is this possible? If so, Can you please throw some light on this matter??

    Thanking you,

    Shashanka

  • Dear Shashanka,

    What they are mentioning is basically asking you to build one "Project" with several 'Solution' in it. And each solution will contain a specific LED selection and LED intensity configuration information.

    For example, let us say there are 10 images and you are interested to select combination of LEDs and at a particular intensity. So this requires building 10 solutions in a project.

    Upon building the "Project" (Tool menu Execute->BuildFlashImage in the GUI) it will generate single user flash binary under the project along with xml map. XML has map information of the binary file built. Look for <Record> with "soluton" name, something like this

    <Record>
     <Type>Solution</Type>
     <StartAddress>131072</StartAddress>
     <Length>13312</Length>
     <Name>Solution1</Name>
    </Record>
     
    For each solution note down the 'Start Adress'. Load the binary in the LightCommander(TM) it comes up with the default "solution" then call this API to load 
    the configuration using DLP_RegIO_InitFromParallelFlashOffset API.
    I see one issue with this approach though, you will not be able to maintain the 500fps rate b/w the images. There will over head time of loading the solution.
    Regards,
    Sanjeev
     
     
     

     
     
  • Dear Sanjeev,

    Thank you for responding so soon. I ll definitely try this solution.

    So, if my "Project" has many "Solution"s and then i  "BuildFlashImage", and "ProgramFlash" this binary file, then the GUI creates binary files to all these "solution"s and loads them on to the Flash memory with each solution having its own starting address??

    and once i load this binary file to Flash memory, will the processor display all these solutions in sequential manner? or should i use APIs to write a program that will ask the processor to execute the contents in the flash memory form the starting address specified??

    Thanking You,

    Shashanka

  • Hi Shashanka,

    The processor will NOT display all these solutions in sequential manner.You will have to provide the 'StartAdress' information to the DLPC200 then it will go to that adress and loads the configuration.

    The "StartAddress" of  each solution which is stored in the flash you will get from XML file. Then just call DLP_RegIO_InitFromParallelFlashOffset  API to load the configuration.

    Regards,
    Sanjeev

  • Hi Sanjeev,

    Thank you again for responding. I ll try this solution and let you know what happened. (Previous Question was redundant, but i wanted to be sure.) And yes, Frame rate ll be a problem. But i ll try never the less.

    Thanks a lot for all your help.

    Shashanka