> > 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! I think this has been discussed before and master mode doesn't work, but sofware method (see AN567) works well. Can anyone tell us why master mode doesn't work or was it some sort of legel/copyright thing that prevented it being implemented. Does the hardware work in slave mode? If so does anyone have any example code? ---------------------------------------------------------------------------- | Richard Thomas *%$!#*&D:\pic\pic archive 1? *&*(#~@* *&%#" | | Department of Design, | | Brunel University, Runnymede, Egham, TW20 0JZ, UK. | | Richard.Thomas@brunel.ac.uk phone: 01784 431341 x267 | ----------------------------------------------------------------------------