Jim Main wrote: > Are there any resources floating about on how to do this? The 1994 > data book only has a very small paragraph on using the 16C74 in > master mode.. > > It looks - on first reading - that everything has to be done in > s/ware - eg rotating a register and setting/clearing the TRISC bits > to suit. > > How do you get the timings right (and provide a clock at the same > time) > > Are the interrupts (for detection of start and stop bits) only of > use when receiving data back from the eeprom (and do you have to > disable them for when the master is talking to the slave??) > > You'd think Microchip would give some worked examples! Jim: They do give examples; you're just looking in the wrong place. Look in Microchip's "Embedded Control Handbook". "Getting the timings right" is not an issue; there are no constraints on the minimum speed of the data transfer, and there's no requirement for clock pulses to be regularly-spaced. The interrupts only work when the PIC is operating in slave mode; they don't help you at all when you're using the PIC in master mode. -Andy Andrew Warren - fastfwd@ix.netcom.com Fast Forward Engineering, Vista, California http://www.geocities.com/SiliconValley/2499