I am trying to write a software code to establish SPI communication between two 89c51rd2 controllers keeping one controller as master and other as slave. I am using dedicated pins of this controller for doing SPI communication.
I am not able to make it as working code now. I doubt the programming steps to do SPI communication which i implemented is wrong some where. Please do help me with a working code or by providing programming steps for doing SPI communication between two 89c51rd2 controllers.