Madeline Usher wrote a very good library for TLC5940/DUE (thank you for this) but her idea to go via USART does not fit my needs, because USART was to slow to drive my planned 2x8x8 RGB matrixs with 2xTLC5940 in a row. So i decided to go on with 12bit SPI.
I´m trying to send data (array of 16 words with 12bit width) via SPI to my TLC5940. Sending this data (for a test) of 12 bit via SPI is not a problem with 74HC595 but with TLC5940, because TLC5940 needs an extra pulse of SCK after the XLAT-pulses when latching the data.
I have no idea how i can generate this extra SCK-Pulse on the SCK-pin? Can anybody help?
Thank you for support
circuit.txt (970 Bytes)
BLANK_TC_IRQ_HANDLER.txt (973 Bytes)