controlling Sparkfun Backpack SPI interface (Atmega8)

Hello,

I bought that:

http://www.sparkfun.com/commerce/images … L_i_ma.jpg

datasheet is here:

http://www.sparkfun.com/datasheets/Comp … ckpack.pdf

But I would like to know more about command I can send via spi to this board.

I mean!

how to reset it

how to change intensity

etc

can someone help me?

should I just look at atmega8 manuals?

The details you need are in the data sheet.

Leon

datasheet of the backpack?

Yes.

Leon

in this one, there isn’t informations about that

http://www.sparkfun.com/datasheets/Comp … ckpack.pdf

or it may be “crypted” in the document :slight_smile:

it could be nice if someone tell me about that

I know how to reset max7221 led driver for example

but the only way for me with backpack is the reset switch :roll:

It’s got the values you need to send via the SPI interface. What else do you need?

Leon

1/ how to reset the board via spi (without physically using switch)

2/ how to manage intensities (I guess that there only one intensity for all the matrix because no individual dimming provided)

at least these 2…

and, as i wrote up above, it isn’t written.

I looked at Atmega8 datasheet :

p40/308, there is the external reset method.

low level on pin ~reset

but could we send a byte via spi to do that???

the *real question is:

could we have the avr code already dumped in the atmega8 ?

or should we use avr studio to get it ?!

It comes with the program already loaded.

There don’t seem to be reset or dimming commands. You’d have to write those yourself.

Leon

okay.

I’d have to dive deeper in ICSP use in order to add a reset function