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 api: DLPC350_LoadImageIndex(x)

Other Parts Discussed in Thread: DLPC350

Hi,

I have been coding for the DLPC350 using the dlpc350_api.h.

The problem I am currently facing is why is it that when using "DLPC350_LoadImageIndex(x)" where x is the image index of the Flash that I want the DMD to display, it takes a lot of time (around 300-500msec) for each image to display when played in a for-loop. I have tried to set the exposure and period times to 10k us, but still it seems to have no effect on the timing and the display seem quite slow.

Is there a way to increase the speed?

Is it caused by the delay in USB communication?

Thank you for your answer in advance.

  • [UPDATE], found out that it takes 300msecs to load an image from flash to buffer. So this might be the reason.
    main_manual_revE.pdf (p48) states that it is possible to store 6 8-bit images into the buffer. Is loading a pattern using images in the Flash as the source same as loading Flash images into the buffer in LightCraft?
  • Hi John,

    Few comments -

    LoadImageIndex(x) API can be used only in Video Mode. This API is not applicable in Pattern Sequence Mode.

    [UPDATE], found out that it takes 300msecs to load an image from flash to buffer. So this might be the reason. main_manual_revE.pdf (p48) states that it is possible to store 6 8-bit images into the buffer. Is loading a pattern using images in the Flash as the source same as loading Flash images into the buffer in LightCrafter?

    [Sanjeev] It same but one key difference, the loading of image from the flash will be automatically handled by controller in Pattern Sequence Mode. So you are not allowed to call LoadImageIndex(x) in Pattern Sequence Mode. For 6 8-bit images, the controller internally call the LoadImageIndex(X) twice to download contents from two image index location, and keep it self ready, so upon sending the Start command it will just start displaying the patterns from already downloaded location in the frame buffer memory.

    Regards,

    Sanjeev

  • Thank you Sanjeev. Lastly, is it possible to trigger each image (3 8-bit images on buffer 0 and 3 8-bit images on buffer 1) on to DMD one at a time using a USB command? My purpose is to control which image is projected using my software without using the GPIO available.
  • Unfortunately there is  no software command to display trigger each pattern; it can be realized by changing the Pattern LUT settings as discussed in this thread http://e2e.ti.com/support/dlp__mems_micro-electro-mechanical_systems/f/924/p/349595/1225114

    Regards,

    Sanjeev