I wan't to drive 8 RGB LED stripes (8 stripes * 3 colors per stripe = 24 channels) with PWM. Each output is driven with a logical level MOSFET. The stripes already have a resistor. I have looked at the TLC5940 and the TLC5942, but a forum post says, you have to set "BLANK" to ground to repeat each PWM cycle, and the ICs are a bit too "big" for this project. Is there a "simple" 24 channel PWM IC out there (SPI or I2C preferred)?


1 Answer 1


TLC5952 don't have this bug, and it's cheaper than TLC5942 in Farnell.

  • \$\begingroup\$ You are right, but i solved the problem otherwise (i used a XC5972XL CPLD) \$\endgroup\$ Commented Sep 20, 2012 at 16:57
  • \$\begingroup\$ @TEAM-ALPHA i can't find this part - XC5972XL, would you mind sharing the exact number? \$\endgroup\$
    – miceuz
    Commented Dec 3, 2012 at 13:33
  • \$\begingroup\$ @miceuz i'm verry sorry, i have written it wrong. True name is XC9572XL, it's a CPLD by Xilinx. \$\endgroup\$ Commented Jan 22, 2013 at 17:25
  • \$\begingroup\$ @TEAM-ALPHA how many PWM channels have you managed to cram into this CPLD? any chance of sharing your verilog code for that? \$\endgroup\$
    – miceuz
    Commented Jan 23, 2013 at 13:34
  • \$\begingroup\$ @miceuz i haven't done it in verilog, the ISE webpack supports "drawing" the program with a digital schematic. The CPLD was too small for all channels, because i wanted a 8 bit shift register as the comparison value for each channel. ~18-20 channels will fit, but if you write it in verilog results may be better. \$\endgroup\$ Commented Jan 24, 2013 at 18:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.