On Monday 28 April 2003 10:18 am, Guillermo Rodriguez Garcia wrote: > The SPI clock line is generated by the master, and I am wondering > how to slow it down from the PIC side if the I2C transfer is taking > too long (since I2C slaves can stretch the clock at will) to avoid > the SPI rx buffer in the PIC being overrun with data that cannot > be handled in time. Do you have any control over the protocol the master ARM uses to communicate with the PIC? If so, you could either provide responses to the master that would indicate flow control, or you could add a "request to send" handshaking output from the PIC to the ARM. -- Ned Konz http://bike-nomad.com GPG key ID: BEEA7EFE -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics