Need 64 pwm outputs that can source 25ma

jacksonliam wrote 11/06/2016 at 16:35 1 point

I'm thinking of re-doing the electronics to an old shift-register based 8x8x8 LED cube (uses 5v LEDs). I want to instead do fast pwm in hardware.

Unfortunately its built with the layers being common anode. So I need 64 individual pwm outputs which can source minimum 25ma. I'm happy to daisy chain ICs, but each IC must have >6 channels to reduce the part count. I don't want to use 64 individual ICs!

Nearly all of the LED drivers seem to be open drain/collector. The closest I can find is the 16 channel PCA9685 but it can only source 10ma. I'm also concerned I2C (Which the PCA9685 uses) may not be fast enough as I want to modify the 64 PWM values 480 times per second (60fps x 8 Layers). So perhaps I need an SPI based IC.

I'm thinking about using an open collector LED driver IC with a pull up resistor for each channel, but that will waste power (and I'm not sure if it would allow the LED to be completely off?). 

I also thought about inlining some sort of PNP transisor/FET array or trying to find some kind of high side buffer/driver, but I'm not sure what I'm looking for. Do those sort of ICs switch fast enough for PWM and can they be driven from an open collector IC (I guess with 10k pullups)? If so is there a nice PWM IC that could drive a buffer/driver?

Also cost is a factor, I want to keep it under $20 ish of parts.

Suggestions?