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.

TLC5916: TLC5916 special mode problem

Part Number: TLC5916
Other Parts Discussed in Thread: TLC5954

TLC5916_Special mode_error__20180329.pptxDear all

Concerning TLC5916, I have some problem.

Normal mode is good work but it is not enter to special mode.
(CLK,_OE,LE clock is same as datasheet)
* Test Condition
1. SDI, CLK is generated by MCU(I have tried to SPI and GPIO)
2. CLK Frequency : 4KHz (Tested while changing the frequency)
Refer to attahced file
Could you check to this problem, and inform to me?
Thanks and BR
PJ
  • Hi, PJ,

    TLC5916 special mode has two two functions: Error Detection and Current Gain Control.

    After checking your waveform, it seems that you're Current Gain Control function after Switching to Special Mode.

    Please change you code to Reading Error Status Code as the following figure shows:

    Please let me know if this sloves your problem.

    Thanks.

    Kenneth

  • TLC5916_Special mode_error__20180402.pptxDear Kenneth

    Thanks for your cooperation and quickly response.

    I have tested your request, the test result is same(SDO data is wrong or not detect.)

    Please checking attached file and inform to me the improvement.

    Thanks and BR

    PJ

  • Hi, PJ,

    To narrow down the problem, please try the following two methods:
    1. Complete CLK number to 8 at OE=LOW and see if you can get right result.
    2. Skip writing configuration code and just send reading error status code as 1 descriped and see if you can get right result.

    Thanks.
    Kenneth
  • Dear Kenneth

    1. The clk number to 8 mean Writing configuration code CLK 8th? Is that correct?
    2. Could you more detailed explain that " just send reading error status code as 1 described and see if you can get right result."

    Thank and BR
    PJ
  • Hi, PJ,

    Please see detailed description in the following figure:

    Thanks.

    Regards,

    Kenneth

  • Dear Kenneth

    Thanks for ypur advice.

    I have one question.
    Reading error status code clk number from 4 to 8, how to control OE signal
    (For example, OE signal is Low at 8th clk rising time? or always OE=LOW during clk 1 to 8 ?)

    Thank and BR
    PJ
  • Hi, PJ,

    Currently your OE is low during clk 2 to 4, please keep OE low during clk 2 to 8 like following:

    Kenneth

  • Dear Kenneth

    Test result is good working.
    But Could you explain that add clk(from 4 to 8) for good working?
    And Should I apply to FW in this timing?
    If I have changed from TLC5916 to TCL5954, Is this same?
    Thank and BR
    PJ
  • Hi, PJ,

    In figure 14, there're another four CLKs omitted and as you can see from 9.4.2, "The occurrence of the third or later zero saves the detected error status codes into the Shift Register."

    If you changes to TLC5954, timing diagram is not the same ,and you can refer to Status Information Data (SID) in datasheet for details. 

    Since your problem is solved, I'll close this thread and please help to click Resoclved from your side.

    If you have more questions about TLC5916, you can directly reply to this thread and it will open again.

    Thanks.

    Regards,

    Kenneth

  • Dear Kenneth

    Thanks for your cooperation to solve this problem.

    Thank and BR

    PJ

  • Dear Kenneth

    I have one question.

    Special mode have two mode ( current adjust mode and error detect mode)

    Could I use both mode(current adjust mode and error detect mode in the same time)

    1. this case is good : normal mode -> special mode( current adjust mode) -> normal mode

    2. This case is not good. After error detect mode, current mode is changed default value

        normal mode -> special mode(current adjust mode) -> normal mode ->  special mode(Error detect mode) -> normal mode

    Couldyou checking and advisse to me?

    Thanks and BR

    PJ

  • Hi, PJ,

    The two special modes can be used together and it should be OK for your method 2.

    Actually the second normal mode is not necessary if you don't change ON/OFF configuration.

    Please check whether new data is sent at the last normal mode and wthether ON/OFF state is changed after error detect mode and before the last normal mode.

    Thanks.
    Regards,
    Kenneth
  • Hi Kenneth.

    You said two special mode no need to switch to normal mode.
    So, I tried from current control mode to  normal mode  pass through the error detection mode.

    I have a question for switching special mode current, control and error detection.
    Originaly, my question was when I get error detection mode, controlled current goes to default.
    After controlling the current in the current control mode, the current changes when it enters the error detection mode.

    Could you advise me what is wrong?

    Thanks and BR

    PJ

  • Hi, PJ,

    That's quite strange. And sorry for the trouble you're facing now.

    To make it clear, does the current changes if you just turn the device from normal mode to error detection mode?

    Please also provide your current timing for me to analysis.

    Thanks.
    Regards,
    Kenneth
  • Dear Kenneth

    I have find out method of current control.

    Thanks and BR

    PJ