Microchip has several examples for master & slave with very well documented code http://www.microchip.com/stellent/id...0&filterID=392