Hi All,
I am trying to control 16 LEDs using the TLC5941 current driver and the MSP430. Reading the datasheets:
"The TLC5941 is a 16-channel LED driver with 12-bit grayscale dimming and typically used for high-quality LED displays. The 192 bits of grayscale data are entered into the TLC5941 via a serial interface. The serial interface is comprised of a shift register that is controlled by two signals, SLCK and SIN. One bit of serial data is placed on the SIN pin of the TLC5941; then, a positive edge on the SCLK pin shifts the data into the TLC5941 input register. Once all of the 192 bits have been shifted in, the XLAT pin is pulsed high to latch the data from the input register into the grayscale registers. The TLC5941 also requires a clock signal, GSCLK, for the grayscale PWM function. This clock is used to drive internal counters to derive the 12-bit grayscale dimming function. After 4096 grayscale clocks, the internal counter must be reset to zero by pulsing the BLANK signal high."
TI provides an example code to do the above with an MSP430F427. I would like to write my own code to use the MSP430G2221 to control the TLC5941. My question is, is it feasible to do this? I am new to the MSP430 MCU so any insight you could give would be greatly appreciated.
Thank you, Best,
Kevin