I want to design a RF link to read a sensor in real time application. For this purpose i am going to use Microchips MRF24J40MA module and PIC18F452 MCU. I am planning to Programme the PIC using PICkit 2 and interface that to the MRF24J40MA module. Will this work ?

Need to have some coding examples also for SPI interface of PIC ?

Can anybody help me ?

Thanks.

- epa