Hi friends im working on PHILIPS P89v51RD2FN, im using SPI interface and i dont know which headerfile i have to include with my program, i tried with REG51.h but it shows undefined SPSR for SPI protocol. Pls help me for sloving this problem.
i think you should give another include coz RD2 is special design of MCS-51 family. Do you using uVision Keil ? If you do, you should to open the keil folder and looking for the include folder