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.

Compiler/DLPC900: Cycling through more than 400 images in pre-stored pattern mode

Part Number: DLPC900

Tool/software: TI C/C++ Compiler

I read a previous discussion about the 400 uncompressed pattern limitation. In the user guide, there was the following explanations:

"The EVM is capable of holding up 400 1-bit binary or 30 8-bit binary uncompressed patterns in flash memory. Depending on the compression ratio, more than 400 patterns can be stored to have multiple pattern sets for multiple pattern sequences. These patterns are then loaded when the operating mode is set to Pre-Stored Pattern Mode."

Could you provide some guidance on:

1) how to specify the compression ratio? I assume this will be lossless compression?

2) how to use multiple pattern sets for multiple pattern sequences?

Thanks so much, Bing

  • Hi Bing,

    1. Compression ratio is dependent on image data, not specified by user. It is lossless compression.
    2. You can store all images in flash. At runtime you can run various batch files using different images sets as per your requirement.

    -ykc
  • Thanks a lot for the quick response. Can you please clarify some more? The uncompressed image does it mean ".bmp" files? I have been using bit plane map for other DMD projects (NIRScan Nano, Lightcommander etc.) Can you please help me to understand in that context how the compressed file will be? I would great appreciate if you can provide a sample file, it will really helpful for me to understand better this way...

    Also how will I switch among multiple batch files? Are they essentially stored in different memory location that I can specify the start/end pattern ids?

    Thanks again.
  • Hi Bing,

    1. It uses RLE compression. Please see 2.4.3.1.1 RLE Compression Example of DLPC900 programmer's guide
    Please see for more details.
    en.wikipedia.org/.../Run-length_encoding

    2.Please see 2.3.8 Batch File Commands of DLPC900 programmer's guide. Yes batch files are stored in different memory locations. Batch file is nothing but a sequence of commands.
    www.ti.com/.../dlpu018d.pdf

    3. Command that you need to pick a particular pattern once you have all patterns stored in flash is LUT definition command (See bytes 10:11). You can use 2.4.4.3.4 Pattern Display LUT Definition command to specify image index for each pattern.
    Also use GUI (batchfile page) to record commands to see how GUI sends commands to run patterns.

    -ykc

  • Thanks a lot for the quick response. Can you please clarify some more? The uncompressed image does it mean ".bmp" files? I have been using bit plane map for other DMD projects (NIRScan Nano, Lightcommander etc.) Can you please help me to understand in that context how the compressed file will be? I would great appreciate if you can provide a sample file, it will really helpful for me to understand better this way...

    Also how will I switch among multiple batch files? Are they essentially stored in different memory location that I can specify the start/end pattern ids?

    Thanks again.
  • Hi Bing,

    1. Please see source code of compression algorithm in GUI software installation directory
    C:\Texas Instruments-DLP\DLPC900REF-SW-4.0.0\DLPC900REF-GUI\Sources\GUI\HiresLib\compress.c

    2. For batch file Please see Section 2.3.8 and B.1 of www.ti.com/.../dlpu018d.pdf
    and Section 3.7 of user guide www.ti.com/.../dlpu028c.pdf

    -ykc