MAX7219/MAX7221 is a 8 x 7seg display driver (or 64 led driver) with built in BCD decoding (disabled-able)
http://pdfserv.maxim-ic.com/en/ds/MAX7219-MAX7221.pdf
What spi mode should I use for this, and why?
reading the manual for hspisetup:
Im guessing that SMP is sample at start and !SMP is sample in the middle.
http://pdfserv.maxim-ic.com/en/ds/MAX7219-MAX7221.pdf
What spi mode should I use for this, and why?
reading the manual for hspisetup:
i get the 'e' suffix, but what is CHP CKE and SMP... how do you know when to use what?spimode00 (CKP=0, CKE=1, SMP=0)
spimode01 (CKP=0, CKE=0, SMP=0)
spimode10 (CKP=1, CKE=1, SMP=0)
spimode11 (CKP=1, CKE=0, SMP=0)
spimode00e (CKP=0, CKE=1, SMP=1)
spimode01e (CKP=0, CKE=0, SMP=1)
spimode10e (CKP=1, CKE=1, SMP=1)
spimode11e (CKP=1, CKE=0, SMP=1)
Im guessing that SMP is sample at start and !SMP is sample in the middle.