CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

MRF 24J40 Transmitter

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
jogibaer



Joined: 03 Nov 2011
Posts: 8

View user's profile Send private message

MRF 24J40 Transmitter
PostPosted: Thu Nov 03, 2011 6:26 am     Reply with quote

Hi,
I am working on a wireless project. The microcontroller I am using is PIC18F13K22. I want to create a transmitter. I am also using the Zena Analyzer from Microchip.
My problem is that I have the right package structure. But the Payload and Data of the packages are invalid.
I set the initialisation as it is said in the MRF data sheet. I think that it might be a problem of the transmission part or even the package structure. I am not sure.
I would be glad if anyone could help me.
Thanks in advance.


Last edited by jogibaer on Mon Nov 14, 2011 8:57 am; edited 1 time in total
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Nov 03, 2011 1:39 pm     Reply with quote

What is your CCS compiler version ?
jogibaer



Joined: 03 Nov 2011
Posts: 8

View user's profile Send private message

PostPosted: Fri Nov 04, 2011 3:21 am     Reply with quote

My Version is 4.114.
Douglas Kennedy



Joined: 07 Sep 2003
Posts: 755
Location: Florida

View user's profile Send private message AIM Address

PostPosted: Fri Nov 04, 2011 11:49 am     Reply with quote

#include <MRF24J40.c>
Is this a CCS driver or a Microchip driver you ported to CCS?
Anyway it won't compile without it.
jogibaer



Joined: 03 Nov 2011
Posts: 8

View user's profile Send private message

PostPosted: Fri Nov 04, 2011 1:04 pm     Reply with quote

It is only a file I wrote by myself. There are all registers included.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Nov 04, 2011 1:52 pm     Reply with quote

If it's reasonably short, then post it so we can compile your program
and look at it.
arunb



Joined: 08 Sep 2003
Posts: 492
Location: India

View user's profile Send private message Send e-mail

RE:
PostPosted: Fri Nov 04, 2011 11:42 pm     Reply with quote

I have developed my own drivers for the MRF24J40MA module, and they work perfectly, to get the module working it needs to be initialised correctly only then will it work properly. Read the datasheet and follow the steps given for the initialisation.

Also make sure the receive buffers and the receive interrupts are cleared before issuing the software reset at the end of the initialisation procedure.

thanks
a
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group