Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 5 of 5

Thread: many TLC5940

  1. #1

    many TLC5940


    I made a PCB layout with 12 daisy chained TLC5940 but all my different tests show that only 6 in a row work. As soon as i connect the other 6 i get random LED.

    I added the 0.1uF and a 2.2K and followed all other steps mentioned on the Tlc5940 teensy library page.

    I tested my PCB by cutting the traces that connect the last 6 TLCs from the first 6 TLCs, then things work fine. I ran all control lines only to the last 6 TLCs and things works.
    But when all are connected together the LED do not behave properly.

    I read adding other CAPs might help, but this did not see to produce good results either.

    Should i somehow change the Clock speed, since maybe the signals do not synch otherwise on such long chains?

    I am attaching a screen shot showing my teensy, 3 of the 12 TLCs and the full PCB board.
    Thanks for any advice.

    Click image for larger version. 

Name:	Screen Shot 2017-08-07 at 8.34.46 PM.jpg 
Views:	156 
Size:	109.7 KB 
ID:	11195
    Click image for larger version. 

Name:	Screen Shot 2017-08-07 at 8.35.00 PM.png 
Views:	85 
Size:	31.9 KB 
ID:	11196
    Click image for larger version. 

Name:	Screen Shot 2017-08-07 at 8.44.08 PM.jpg 
Views:	178 
Size:	222.7 KB 
ID:	11197

  2. #2
    could it be as simple as not picking 96 MHz but rather 72 MHz for the CPU speed?

  3. #3
    Senior Member
    Join Date
    Mar 2013
    Try slowing your SPI speed down.

  4. #4
    Senior Member
    Join Date
    Dec 2016
    Montreal, Canada
    try to add 100ohm series termination to prevent ringing on the long line

  5. #5
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    You might need a buffer chip like 74LCX125 to drive the clock and other shared signals to so many pins.

    Modern logic families like 74LCX125 greatly outperform older tech like 74HC125. The performance is faster, the signals have stronger drive, and the drivers have special edge rate control circuits to reduce noise.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts