SHIFTOUT and BS2 on HomeWork board with MM5480N display driver?
pixlo
Posts: 6
Hi there,
I've just hooked up a national semiconductor 3.5 digit display driver to my breadboard and plugged in the power and ground with several LEDs to see if I can get the first 11 pins or so to alternate on,off,on,off.
The MM5480N protocol is similar to the MM5481, 35 bits with a 1 at the beginning. I thought the datasheet said it latches when it encounters the 36th 1. In any case, my data out is pin 2 and my clock out is pin 3.
DO
SHIFTOUT 2, 3, MSBFIRST, [noparse][[/noparse]%1101010101010000\16, %0000000000000000\16, %0001\4]
LOOP
first off, can my pic on this homework board that i have do this?
second, is my snippet of code right?
third, has anyone worked with these M548x display drivers before using SHIFTOUT? Using something else?
Any suggestions? I'm using the display driver to control a set of electroluminescent wires arranged into 5 large (4'x2') 16 segment displays. I just got my optoisolators and triacs to switch and am now working on the data half.
Thanks in advance,
-nick
I've just hooked up a national semiconductor 3.5 digit display driver to my breadboard and plugged in the power and ground with several LEDs to see if I can get the first 11 pins or so to alternate on,off,on,off.
The MM5480N protocol is similar to the MM5481, 35 bits with a 1 at the beginning. I thought the datasheet said it latches when it encounters the 36th 1. In any case, my data out is pin 2 and my clock out is pin 3.
DO
SHIFTOUT 2, 3, MSBFIRST, [noparse][[/noparse]%1101010101010000\16, %0000000000000000\16, %0001\4]
LOOP
first off, can my pic on this homework board that i have do this?
second, is my snippet of code right?
third, has anyone worked with these M548x display drivers before using SHIFTOUT? Using something else?
Any suggestions? I'm using the display driver to control a set of electroluminescent wires arranged into 5 large (4'x2') 16 segment displays. I just got my optoisolators and triacs to switch and am now working on the data half.
Thanks in advance,
-nick
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
I do not have a cap hooked up to the brightness control.
The datasheet suggests you place a .0001uF cap around the controll to keep it from oscillating.
I wonder if that means the 36th bit is the 1st bit of the next set of 35 bits?
My SHIFTOUT has 36 bits, not 35.
I'm at work and dont have the board in front of me...
more info from the datasheet (found at eshop.engineering.uiowa.edu/NI/pdfs/00/61/DS006138.pdf)
Post Edited (pixlo) : 6/29/2006 3:41:38 PM GMT
Is that a common problem with these m548x drivers? As most of these chips are obsolete there is very little
information on using them other than the datasheets.
A usenet post suggested the following:
then later:
so for kicks I tried sending 36 individual high and lows to the data pin while alternating the clock pin high every other bit, like so...
high 3
high 2
pause 50
low 3
high 2
pause 50
high 3
low 2
pause 50
low 3
high 2
pause 50
high 3
low 2
pause 50
to make:
pin 3 (clock): 1 0 1 0 1
pin 2 (data) : 1 1 0 1 0
not that that would work... but i'll try anything once. Would that work?