I m trying to communicate two 16f877 PICs with SPI protocol. And USART is used to display the received data from the slave. But my program is not working. I used variable Y=7 in master and send it to slave and then read it from USART. here is my code. Master