Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Cascading multiple MAX7221 ic's together

Status
Not open for further replies.

The Puma

Full Member level 2
Joined
Apr 4, 2002
Messages
134
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
895
max7221

I have a board with 6 MAX7221 chips, these chips are connected to 6 5x7 dot matrix displays.

The max7221 are as follow connected to each other
PIC controller ---> DIN (first max7221)
DOUT first max7221 to DIN second MAX7221

CS and CLK are connected togethor.

How i now let say put the letter 'A' on first and the letter 'B' on secound display?

Later on i will made a LED moving message board
 

cascading max7221

YOu will need to study the datasheet in detail.
**broken link removed**

Make your software modular. Test each module as you
create them.

Start by writing a program to drive one max7221.
Have a subroutine you call when you want to write
to a register in the 7221.
Have a subroutine that initalises the 7221 by calling
the register writing subroutine several times to
write the configuration registers.

Write a test routine that turns on each led one
at a time. Then test patterns.

Once you have one section of your display working
you can make another module to drive the second
7221. You just need to toggle the clock line
an extra 16 times so the data for the second 7221 moves
through the shift register in the first 7221.

When you have got that far you can think about
optimising your program by loading data into
all the 7221's at once.
 

pic max7221

Nobody has a sample code how to...
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top