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

CC2420 - IEEE 802.15.4

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



Joined: 15 Nov 2004
Posts: 18

View user's profile Send private message

CC2420 - IEEE 802.15.4
PostPosted: Sat Jun 26, 2010 2:02 pm     Reply with quote

Hi,

Is there anyone familiar programming the CC2420 radio in C ??

What I need is a buffered Tx and a buffered Rx.

It must be easy but I'm stuck.

Any help is highly appreciated.

Regards,

Klaus de Jong
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Jun 27, 2010 12:13 am     Reply with quote

Do you mean interrupt-driven buffers ? Similar to the CCS example
files Ex_Sisr.c and Ex_Stisr.c for the serial port on the PIC ?

I looked with Google and there is sample code out there in C18 and
some other compiler for the cc2420. This code could be translated
to CCS. It may not meet your requirements for buffered code.
Search for cc2420.c with Google to find it.
klausdejong



Joined: 15 Nov 2004
Posts: 18

View user's profile Send private message

PostPosted: Sun Jun 27, 2010 5:36 am     Reply with quote

Thank you, PCM programmer

The CC2420 has built in support for buffered transmit and receive and it should be not too difficult to implement that.

Actually I'm trying to program the Flexipanel EasyBee which is based on the CC2420.

Any help is welcome at this point.

Thanks and regards,

Klaus de Jong
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Jun 27, 2010 10:25 pm     Reply with quote

The code in this link uses the CC2420's transmit and receive buffers:
http://radiogis.uis.edu.co/produccion/tesis/pregrado/EvaluacionRedZigBee.JhonJairoCalderonCarlosMantilla/FABRICANTES/CHIPCON/PDF's/CC2420andPIC18.pdf
This is Microchip C18 code and can be translated to CCS.
klausdejong



Joined: 15 Nov 2004
Posts: 18

View user's profile Send private message

PostPosted: Mon Jun 28, 2010 5:51 am     Reply with quote

Thanks a lot, PCM programmer,

I believe this will help me to get the CC2420/EasyBee started !!!

I let let you know if it works.

Best regards,

Klaus de Jong
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