MICROCHIP MRF24J40 RADIO DRIVER
Trying to implement a simple data transmition between two devices for an university project robot and a wireless hand-held device to monitor the parameters from the robot. My changes are hacky and somewhat application specific so I won’t post them yet, and it’s been a couple of months since I did the changes, so I may not recall everything, but here’s a quick off-the-top-of-my-head list: I’m very glad you got it working and that the code was useful to you. Same deal for interrupt lines IIRC. However, the receiver side never receives anything.
|Date Added:||11 February 2007|
|File Size:||42.41 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
I did get the SPI hardware without interrupts to work. Thanks very much for posting this. If you can do that, you can post it here as an attachment, or email me privately. I have set up one to send data and one to receive.
Again, thanks for the original code. Update – I found a bug today in the driver. It includes definitions for special function registers and more.
Otherwise power back-flowed through that pin via a pull-up on the input I expect. I realized that it should not be too hard now. If No, then is it possible to compile your code with C18 compiler using different syntaxes or including more lib files which I may not be aware of. This gives ppl like me a helping hand in developing their project on your platform. Please post here if you’ve got any questions. Haven’t received registration mrt24j40 E-mail? It also turns out that I can not use the frame number directly to check for duplicates since the transmitting device is battery operated and only wakes up once every 15 minutes.
Ofcourse it needs two to radjo work. Same deal for interrupt lines IIRC. I’m very glad you got it working and that the code was useful to you. Make sure that you include GenericTypeDefs.
Would your code be compiled only in C32 compiler? Not much, but enough to get my power use into the s of uA instead of the 3. Can you post the changes you made?
MRF24J40MA – Wireless – Wireless Modules – Wireless
Hi Dave, The code is much simpler and easier to understand. The main changes as you say are in hardware. Hi Dave and thanks mmrf24j40 the code.
I’m not using encryption so I changed this to: I do know of one person who said she was porting it to the PIC18, but I don’t know how that came out. Cheers, –Dave –Dave http: Here is what I did. Hello Dave, Thank you very much for posting your code and other codes for this project. Can you kindly advise or point me in right direction? I’ll post a new version soon days that fixes this, but if you have this problem, that’s the reason.
I know of mmicrochip person who has already done this and has it running on the PIC18, but they haven’t posted the code so I can’t give you that. You will have to make some small changes to the code as Max described to get it working on the PIC I have C18 compiler free version.
This is a small project running on the Explorer 16 development board with a 2.