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.

Pattern Definition (0x0401) read

Hi! I have problems to read patterns from the LightCrafter.

I send a read command 0x0401 and get 65535bytes as a response.

Then I get packet type 0x00 (busy) and I'm not able to get the rest of the image (larger than 65k).

I tried to send read command only once and read many times, I also tried to send read command before to look for responses and in this case I also tried to set flag (buffer[3]) to all possible values (0x00, 0x01, 0x02, 0x03).

Which is the correct way to handle this command?

Thanks a lot for any hint you could give to me.

  • Hello Rossella,

    Welcome to TI DLP E2E community!

    If you download the Software and Firmware Bundle 3.0 from the product folder page, it consists of API sample code 2.0. This is a Visual Studio project that can be built and run on LightCrafter (follow the instructions in the README file). This consists of examples of all the command types and has a function LCR_CMD_ReadPattern() to read and store a pattern from DLP LightCrafter in the .bmp format with filename in the file lcr_cmd.cpp.

    Could you try running this sample code to see if you can read the patterns from LightCrafter?

    Hope this helps.

    Regards

    Manasi