Electronics > Projects, Designs, and Technical Stuff

LED drivers, How to connect them to Normal SPI

(1/3) > >>

ali_asadzadeh:
Hi,
There are lot's of cheep and good 16 channel LED drivers out there, Like MBI parts like MBI5043,MBI5045,MBI5030 etc... or from ST  something like STP1612PW05 or similar ones. all of them seems to have a industry standard footprint and the protocol seems the same, I have bring them up by bit banging to them and they worked as expected, the weird thing is the LE signal which has this Number of CLK
rising edge when LE is asserted do different things!  I wonder how to connect them to a normal SPI and could get the 30MHz SPI clock, do we have a trick? in this way we can achieve the maximum speed, also I prefer to use STM32 for these ones, so do we have something there to help?

langwadt:

--- Quote from: ali_asadzadeh on August 06, 2019, 01:41:46 pm ---Hi,
There are lot's of cheep and good 16 channel LED drivers out there, Like MBI parts like MBI5043,MBI5045,MBI5030 etc... or from ST  something like STP1612PW05 or similar ones. all of them seems to have a industry standard footprint and the protocol seems the same, I have bring them up by bit banging to them and they worked as expected, the weird thing is the LE signal which has this Number of CLK
rising edge when LE is asserted do different things!  I wonder how to connect them to a normal SPI and could get the 30MHz SPI clock, do we have a trick? in this way we can achieve the maximum speed, also I prefer to use STM32 for these ones, so do we have something there to help?

--- End quote ---

switch between hw spi and bit banging depending on what you need to do ?

ali_asadzadeh:
I want to do it with HW SPI, right now I'm doing bit-bang! Because I want to use DMA on SPI and free the CPU.

SiliconWizard:
You could take a look at this: TLC5947
http://www.ti.com/product/TLC5947

Benta:
SPI has different modes, where clock phase and clock polarity differ. Make certain you use the correct mode.

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod