On Thu, 11 Dec 2008, Steve Franks wrote:
Anyone successfully done an spi slave on a tiny2313? This unbuffered shift register is junk. I can't seem to empty it fast enough at 8MHz, even removing all my debugging statements from mainloop, and running the spi master at 100kHz, and reseting the edge counter on every rising edge of CS. Enough time debugging. Time to use the uart instead...
It seems that the slave could use more time *between* bytes. What happens if the SPI clock rate is F_CPU/6 and the time between bytes is 200 cycles? What is the slave CPU frequency? Are you sure? -- Michael [email protected] "Pessimist: The glass is half empty. Optimist: The glass is half full. Engineer: The glass is twice as big as it needs to be." _______________________________________________ AVR-chat mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-chat
