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.

I2C write problem in DLPC350.

Guru 10570 points
Other Parts Discussed in Thread: DLPC350

Hello.

I am evaluating LightCrafter4500 using I2C command from external micon.
I have not been able to write value to every registers.
Although I measured waveform by logic analyser, I can not find my problem.
Could you point out my problem?

Best regards, RY

The following diagram is case of sending "Display Mode Selection Command (I2C: 0x69)" to DLPC350 from MDU.

  • Hello RY,

    Could you clarify your problem for me. Are you having problems writing to specific registers or any register in general?

    Best regards,

    Blair

  • Blair-san,
    Thank you for your response.
    I can not write all registers(0x0-0x7F) in DLPC350.

    - When I configured from GUI, I can read its change correctly with I2C read.
    - DLPC350 firmware version is v1.1.0.

    Do you have any idea?
    Best regards, RY

  • Hello RY,

    Could you clarify the first byte in your image for me. You have 1AW listed. In your setup what is the W. Is it a single bit?

    Please verify that your system sends the first byte for a write command as 0x35.

    Best regards,

    Blair

  • Blair-san,

    Thank you for your comment.

    Blair Conner said:

    Could you clarify the first byte in your image for me. You have 1AW listed. In your setup what is the W. Is it a single bit?

    Please verify that your system sends the first byte for a write command as 0x35.

    First of all, write command is 0x34, isn't it ?
    dlpu010b (P7)
    Yes. First byte is a single bit.
    I re-attach the write sequence with scale up and add I2C1_SDA value with yellow color.
    'A' means 'Ack'.
    Are there anything strange?
    Best regards, RY
  • Blair-san,

    Hello.
    I would like to report my examination.

    exam1) I configure DLPC350 by GUI, and read back register value by MCU I2C.
    ---> It was successful.

    exam2) I configure DLPC350 by MCU I2C, and read back register value by MCU I2C.
    ---> I could not read expected value.

    exam3) I configure DLPC350 by MCU I2C, and read back register value by GUI "Get" button.
    ---> I could not see expected result on GUI. (I could not see the check on GUI check box.)

    Therefore, I think my I2C Read Transaction have been successful.  But, I2C Write Transaction is fail.
    If you have any idea, please let me know.

    Best regards, RY

  • Blair-san,

    I was successful to Write Transaction through I2C.
    When I use the Display Mode Selection Command(I2C: 0x69), I have to write 0x69 | 0x80 = 0xE9.

    It was posted in following link:
    http://e2e.ti.com/support/dlp__mems_micro-electro-mechanical_systems/f/924/p/309183/1079077.aspx

    But, It must be described in Programmer's guide clearly.
    Could you update PG in the future?

    Best regards, RY

  • is this problem occuring on all the  Windows operating system?or only on windows 8?

  • kaili kai-san,

    Hello. This problem will occur on all the system.
    Because, there is not enough description for I2C Write Transaction Sequence in PG.

    Best regards, RY

  • Hello RY,

    Thank you for posting the link. I'll note that the Programmer's Guide needs to be clarified and updated.

    Best regards,

    Blair