PDA

View Full Version : Zigbee MRF24J40 SPI interface with PIC16F877



anwarahdab
- 14th March 2010, 19:43
hi all,
Firstly i'd like to tell my impressive about ur work in this forum ;)
now im working on Home automation project , and i found zigbee is a very reliable protocol to use .....
But i faced a difficult in
1 -How i can define the MRF24J40 in PIC
2 -How i can Make the PIC MCU talk to MRF24J40 through SPI using PICbasic language
i hav read a lot about SPI but no advance .... !
if any one have a sample of source code or just can lead me to the right instructions i'll b grateful

thx ....

mtripoli
- 14th March 2010, 19:48
I'll give you a hint; there are no commands called "SPI"... look at "Shiftin" and "Shiftout"...

Mike Tripoli

anwarahdab
- 15th March 2010, 11:38
thx 4 help , i hav read this command b4, and im going to try it !

but how about the declarations 4 the zigbee in the code???