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 support@ccsinfo.com

help me with cc2420 spi communication.

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



Joined: 12 Dec 2014
Posts: 3

View user's profile Send private message AIM Address

help me with cc2420 spi communication.
PostPosted: Sat Dec 13, 2014 12:09 am     Reply with quote

I am trying to data transfer through two cc2420 zigbee modules using pic18f4550 but it is not happening, the cc2420 module is not recognizing. Please help me with it.
temtronic



Joined: 01 Jul 2010
Posts: 9163
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sat Dec 13, 2014 6:45 am     Reply with quote

first steps....

You should post either a schematic (through a 3rd party service) or a link to the modules you're using. All Zigbee devices are 3V and the PIC is a 5V device. So I need to know how the hardware is connected.

2nd....

Have you got your PIC to run the '1Hz LED' test program? This is just a simple 'toggle' and LED on a pin to confirm your hardware is correctly wired, that the proper 'fuses' have been chosen and that the compiler/programmer are functioning right. Since the 4550 has internal USB, it also has a LOT of possible 'clock' configurations so it is very, very important to confirm you can toggle an LED !!

3rd....

Once all that works, consider connecting the two PICs without the Zigbee modules. Again there are several ways to use them, however the serial ttl is perhaps the simplest and easiest to test, though I never had any good luck with them, gave up and they're collecting dust...


Jay
sandeep



Joined: 12 Dec 2014
Posts: 3

View user's profile Send private message AIM Address

spi communication with cc2420 using pic18f4550
PostPosted: Sun Dec 14, 2014 9:31 am     Reply with quote

i had tried connecting two pic18f4550 board and they are working properly but i dont know how to communicate using cc2420 i am a starter in programming please send me if you have any code and if you have any idea about this please help me with this thanking you,
Mike Walne



Joined: 19 Feb 2004
Posts: 1785
Location: Boston Spa UK

View user's profile Send private message

Re: spi communication with cc2420 using pic18f4550
PostPosted: Sun Dec 14, 2014 11:10 am     Reply with quote

sandeep wrote:
i had tried connecting two pic18f4550 board and they are working properly but i dont know how to communicate using cc2420 i am a starter in programming please send me if you have any code and if you have any idea about this please help me with this thanking you,

You're keeping us in the dark by drip feeding information.
You must tell us how you KNOW what is working and not working.
Start by answering Jay's questions.

Mike
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Dec 14, 2014 2:09 pm     Reply with quote

Quote:
I am a starter in programming please send me if you have any code

I don't think a driver file exists for the cc2420 and the CCS compiler.
Some people try to convert Microchip C18 compiler code to CCS:
http://www.ccsinfo.com/forum/viewtopic.php?t=42920

But you are asking the same question on the Microchip forum:
http://www.microchip.com/forums/m836213.aspx

I don't think you have the CCS compiler or the Microchip C18 compiler.
I think you googled for cc2420 and found two forums that mentioned the
cc2420.

I think you should search the net for a complete, working project with
the cc2420. Find someone who has done the whole project and posted
the code and the schematic for download. Then just copy it.
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