Hi again ,
Actually I was able to make spi communicate the spi actually doe not require two UC to have same Oscillator frequency the Master clock is what controls the data transfer , but their still is a minor problem , the slave recieves the data correctly but the Master doesnt when i Put condition to blink led on a particular value recieved then it doesnt work ,
but when i give it a range ..ex for 240 ...if i say >=0 or >=100 or >=200 it does blink .
I suppose i need to check the WCOL or the SSPOV bit to alighn the data transfer or avoid collision , I could not understand how to do it from the datasheet .
Expecting Help ASAP .
Thanks .