Posts 4# and #7 show you the 1 chip approach for PWM, I built that project
and it routed fine. The only thing I did not investigate was using its DMA to do
a in background process of updating PWMs automatically, and you just update
a buffer of PWM values when needed. Not sure anything could be gained. Note
in post #7 I added to it (also internal/onchip) use of SAR to measure current of
each LED (you put a current sense R in each LED leg) and modify the value you
write to PWM to get better brightness matching. Your could even add a T sensor
to display board and use that as an input to modify values to be written to each
PWM or use as LED protection......
As shown in post #35/#37 this can be done alternatively, still one chip, using density
modulators versus PWM modulators. Using density modulators -
If you want I will post the PWM project and you can download the IDE (PSOC Creator) and
look it over, your call. The PrlSM project I did not copy/paste all 24, but could be easily done.
Regards, Dana.
PS : Actually the DMA process could incorporate the "need to update/write PWM" case.
eg. only write when change needed. To eliminate high write activity causing artifacts discussed
in earlier post.... Also eliminates waste of MIPS doing un-necessary writes.....