Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/16/02 12:37
Read: times


 
#27330 - LED INTERFACE WITH CONTROLLER
If you have any design suggestion plz let me know other than my design which i explained below.
As per requirement I've to display some calculated value(including DP) through 20 seven segment LED display unit,each of 3digits(X.XX format) in different time instant.

In my Design I'm using MAX7221 LED Driver to drive 60 seven segment LED.
I'm using Cygnal(C8051F020) controller which supports SPI.For display purpose i selected max7221,as it supports SPI serial communication too.
I want to justify my design(Pin connection) from you.
SCK(MCU) -> parallel to all CLK pin(MAX7221)
GPI/O ->to CS(L)(MAX7221)using one 4 to 16 decoder(74HCT154)which selects one driver at a time
MOSI -> parallel to DIN(MAX7221)of all ICs.

my doubt wheather I should connect MOSI(MCU) parallel to all Driver ICs or to the first Driver IC's DIN pin and from it's DOUT to next driver's DIN pin and goes on.

I'm not sure about connecting MOSI to all driver is fesible,coz that depends on fan-out of controller.

I'll be using total 8 nos of MAX7221,coz each can drive 8 digits,like 1st Drive(3+3+2of next seven segment unit), 2nd(remaining 1 of previous + 3+3+1 of next unit).Is this type of connection feasible,if not then suggest please.

if I go for serial (MOSI to DIN then DOUT to next DIN),if i miss one clock before i make CS high to latch the data,i'll loose the data.Isnt?

If I go for parallel, glitch may come from decoder which effect CS signal. how could i overcome that.
Do you have any sample code on SPI,plz send me.




List of 4 messages in thread
TopicAuthorDate
LED INTERFACE WITH CONTROLLER            01/01/70 00:00      
RE: LED INTERFACE WITH CONTROLLER            01/01/70 00:00      
RE: LED INTERFACE WITH CONTROLLER            01/01/70 00:00      
RE: LED INTERFACE WITH CONTROLLER            01/01/70 00:00      

Back to Subject List