Quote Originally Posted by Momboz View Post
It looks like the While loop is blocking the process (or like SSPIF is never set). if I suppress the while loop the PORTB.0 will toggle again.

That's the reason why I thought about setting the interrupts.
Works fine here.
Ran your program (with the suggested changes) on an 877, and It sends data from the SSP and blinks the LED.

It's A VERY FAST blink. Not visible to the naked eye (or clothed ones).

Try putting a PAUSE 200 in the Main Loop.
<br>