Maker Pro
Maker Pro

PICBASIC shiftout command with MM5480N display driver

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, [%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.

the datasheet said:

"Using a format of a leading ``1'' followed by the 35 data bits allows
data transfer without an additional load signal. The 35 data bits are
latched after the 36th bit is complete, thus providing non-multiplexed,
direct drive to the display. Outputs change only if the serial data
bits differ from the previous time. Display brightness is determined by
control of the output current for LED displays. A 0.001 mF ceramic or
mica disc capacitor should be connected to brightness control, pin 13,
to prevent possible oscillations."

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 do not have a cap hooked up to the brightness control.

I have a wire coming off Vdd that measures around 4V with current at
..68mA


I'm at work and dont have the board in front of me... cry

more info from the datasheet (found at
http://eshop.engineering.uiowa.edu/NI/pdfs/00/61/DS006138.pdf)

Thanks,

-nick
 
Top