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.

DLP6500FLQ: I cannot receive an error message from the DMD

Part Number: DLP6500FLQ
Other Parts Discussed in Thread: DLPC900

Hi

I want to communicate with the DMD using the USB port and a code written in C, the problem is that when I have a small number of 1 bit patter to show the DMD shows nothing.

Therefore I wanted to check using the C library called HIDAPI and the read function the error code that the DMD should give me.

Looking on the programmers guide(https://www.ti.com/lit/ug/dlpu018f/dlpu018f.pdf page 15) I see that I need to send the code 0x0100 and the result should be the error code

unsigned char message[1] = {0x0100};
int res = hid_read(handle, message,1);
printf("%d", res);

The problem is that the receiving message is always 1 regardless of the command and correct functioning of the device

Do you have any suggestion on how to receive   the correct information?

Alessandro

  • Hi Alessandro,

    First step is to make sure LightCrafter GUI is closed before running your C program.

    There are few steps to be followed for DMD to show patterns. Please take LightCrafter GUI as reference and follow the same steps executed by GUI.
    Enabling Batch file logging will give details about procedure GUI follows for uploading and showing patterns on the DMD.

    LightCrafter GUI is programmed in C++ and C. Please have a look at GUI source code available at below installation location.
    C:\Texas Instruments-DLP\DLPC900REF-SW-5.0.0\DLPC900REF-SW-5.0.0\DLPC900REF-GUI\Source

    Is your C program able to read Firmware version successfully? Were you able to control DLPC900 hardware with your C program similar to GUI.

    Please share your C program source code for further analysis.