Electronics > Microcontrollers

16x8 LED matrix based on TLC5920 - issues



i am attempting to make 16 rows X 8 column LED driver based on "Texas Instruments" IC - TLC5920. Here is product page on TI website;


and here data sheet:


I am using custom board with STM32F103VGT6 MCU and lightly modified C language code from "Matrix Clock" project from this link:


When i try display on LED matrix constant pattern (not changing pattern) everything is OK. When I am trying to display pattern which is changing wit frequency about 20 Hertz I had some issues - relay  on that slightly shine columns that shouldn't shine.

I am using semaphores to synchronize displaying data on LED driver and refreshing display procedure. Can someone has experience with this TLC5920 IC?
I am also wondering if it is good idea to make TLC5920 IC controler based on small FPGA and writing VHDL code?

Thanks in advance and Regards

How are you driving the LATCH pin?

At a guess you are idling high. When this pin is high, the latch is transparent, which means you are probably seeing the data as it is being shifted through.

You will want to keep LATCH low when shifting, then give just a brief high pulse to allow the newly shifted data through to the output drivers.

FPGA .. depends on the size of the matrix you want to drive, and how fast you want to refresh it. Small matrices can be done easily enough in software with timers and interrupts.


today I had a little of time that I could spend on this subject. Simple VHDL code had been written by me to generate signals needed to drive serial in to TLC5920 IC. Here is link on polish forum Forbot.pl - translated to English by "Google Translate" wher I described further works on this subject:


Best Regards


[0] Message Index

There was an error while thanking
Go to full version