In message <351A07ED.B66@blacksand.com>, Mike Ghormley writes >Andras Marton wrote: > >> I'm looking for an SPI interface application, running on 16c84, for my >> project. Or any documentation available on using SPI protokol for data >> transmission. This is my first project....so I appreciate any little help >> on this topic. > >If you have the money, most of the high-level compilers have SPI >routines available. Of course, some of the more expensive PICs also have >SPI built-in. > >I have no code to share, but I have found an interesting Application Note at >Xicor. Their App. Note 113 "The benefits of SPI over I2C and 5Wire" is very >interesting and enlightening. The Motorola HC11 tech. data book (the pink book) has a chapter on the HC11 SPI. I think that Mot. actually invented the interface. You might be able to find the book on the Mot. Web site - you need chap. 7. The protocols look quite simple. The 74HC595 is SPI-compatible, according to the data sheets, FWIW. I've got one hooked up to the printer port on my PC, with some simple C software driving it. With some LEDs on the outputs it's easy to see if things are working. Presumably one connects the serial data output on the 595 back to the master MISO pin, for the full SPI connection. I was thinking about implementing SPI on the Atmel AVR 1200. Leon -- Leon Heller: leon@lfheller.demon.co.uk http://www.lfheller.demon.co.uk Amateur Radio Callsign G1HSM Tel: +44 (0) 118 947 1424 See http://www.lfheller.demon.co.uk/dds.htm for details of my AD9850 DDS system. See " "/diy_dsp.htm for a simple DIY DSP ADSP-2104 system.