Ram Prasadh
Member level 2
Working with SPI in PIC uses the SSPBUF(Synchronous serial Port Buffer register) which is used for the SPI transfer. Is the SBUF register in the p89v51rd2, which is used for the Serial communication,also used for the SPI transfer in P89v51rd2? I dont find any particular register used solely for the SPI transfer in P89v51rd2 as there is in PIC. I have set all the settings like the MOSI, MISO, SCK,SPCR register etc , but just wanted to know which register I have to use for the transfer of the data through SPI (like the SSPBUF in PIC).