Hi J2,Yes it is wrong.
It should beCode:SSPCON = AZIL
In my code when PIC18F4620 is master, PIC18F4421 will be slave and when PIC18F4431 is master, PIC18F4620 will be slave. I made master (PIC18F4620) send 0xFF to slave and request data.Code:SSPBUF = AZIL
Well spotted
C.