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

ZigBee protocol stack
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Guest








Interesting article about ZigBee in Feb./05 Circuit Cellar.
PostPosted: Fri Jan 28, 2005 3:44 pm     Reply with quote

Feb. issue of Circuit Cellar has an interesting article on Zigbee. It does a good job of bringing important fact together and is very easy to read.
If you are going to do ZigBee it's worth reading...
CharlieGill



Joined: 29 Nov 2004
Posts: 15
Location: northeast georgia

View user's profile Send private message Visit poster's website

PostPosted: Sat Jan 29, 2005 6:47 am     Reply with quote

Re: I predict Zigbee for $75 (1-25) a module by 2006/7

The Freescale MC13192 is priced at $2.65 @1K and available at Digi-Key for a bit over $4 in hundreds. An additional $4-5 should get you all the discretes needed for a module. I would guess that $20 modules will be available within a few months.

The MC13192 and the Chipcon 2420 are IEEE 802.15.4 "ZigBee ready" radios. As such, they implement the 15.4 MAC only. You have to run a ZigBee protocol stack in your host micro. Freescale and others have announced (and are sampling) full ZigBee radios that include the ZigBee protocol in firmware. At this level, purchasing a radio that included the ZigBee protocol would probably include the ZigBee license fees. If you just buy a 15.4 radio, this would not be true since a 15.4 radio can be used for other protocols than ZigBee.

I've been ready ZigBee articles and talking to reps for a year and the licensing issue is murky at best at this time.

Just as there are now several companies selling "guaranteed compliant" stacks for all the common industrial protocols, certified ZigBee stacks will probably become available in about 6 months. In the meanwhile, free "demonstration quality" stacks like that available from Microchip are a good place to start.

Incidentally, their ZigBee App Note, AN965, is far and away the best app note I have seen on some of the nuts and bolts of ZigBee. Highly recommended!

Charlie

BTW why don't any of these forum boards have a spell checker?
libor



Joined: 14 Dec 2004
Posts: 288
Location: Hungary

View user's profile Send private message

PostPosted: Sat Jan 29, 2005 7:15 am     Reply with quote

Quote:
BTW why don't any of these forum boards have a spell checker?

Freedom of speech would suffer Wink A good idea BTW.

I would also phrase my question in an other (more general) way:
Is it okay to write my very own code that generates data in the format of a closed standard owned by a company (or available only for a fee) ?
I mean e.g. writing my own wordprocessor that saves a file in MS Word .doc format, or (in this case) writing my own stack that transmits packets in Zigbee 'compatible' protocol)
Or the knowledge/use of the format in general is not what not permitted by copyright ?
CharlieGill



Joined: 29 Nov 2004
Posts: 15
Location: northeast georgia

View user's profile Send private message Visit poster's website

PostPosted: Sat Jan 29, 2005 8:29 am     Reply with quote

Well, I am not a lawyer (thank goodness) but my understandings (from an engineer's viewpoint) are;

The ZigBee spec is copyrighted. That means that you can't copy or distribute (without permission) the actual written spec. Writing code that conforms to the ZigBee spec will not run afoul of copyright law.

However...there may be (and probably are) patents involved with the technology behind 802.15.4 and ZigBee mesh networks. That mean you may run afoul of patent law if you write clean room code that mimicks the fundamentals of ZigBee. Hard to say at this time unless you work for a big company with a big legal department that is talking to the big legal departments in the other big ZigBee companies.

My opinion (hardly well informed) is that ZigBee will shake out like the other (non-Apple) protocols and that us little guys will be able to buy approved ZigBee compliant modules at a reasonable cost.

BTW if there are any of you that are interested in porting the Microchip ZigBee stack to CCS I would be happy to participate. I'm up to my ears in a paying project for the next couple weeks but plan to start playing with ZigBee after that.

Charlie
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

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

PostPosted: Sat Jan 29, 2005 9:18 am     Reply with quote

Quote:
The MC13192 and the Chipcon 2420 are IEEE 802.15.4 "ZigBee ready" radios. As such, they implement the 15.4 MAC only. You have to run a ZigBee protocol stack in your host micro. Freescale and others have announced (and are sampling) full ZigBee radios that include the ZigBee protocol in firmware. At this level, purchasing a radio that included the ZigBee protocol would probably include the ZigBee license fees. If you just buy a 15.4 radio, this would not be true since a 15.4 radio can be used for other protocols than ZigBee.


The difference between the radios is nothing more than the license fee included in the "Z" part. They have no protocol in any radios. They were teamed up with Figure 8 Wireless at the Embedded Connectivity Summit. On Jan 24 of this year, Chipcon merged with Figure8. Not sure what that is going to do.
CharlieGill



Joined: 29 Nov 2004
Posts: 15
Location: northeast georgia

View user's profile Send private message Visit poster's website

PostPosted: Sat Jan 29, 2005 9:32 am     Reply with quote

I didn't know that Chipcon and Figure8 had merged. I assume that means that Chipcon will use the Figure8 stack in their Z products. It will probably be good in the long run. It's usually cheaper to buy an embedded stack (in low to modest volumes) than to seperately license a stack from a seperate company.

I wasn't aware that the MC13192 or CC2420 had any Z derivitives at this time. Both are 802.15.4 radios as far as I know. I have read reviews of the MC13193 ZigBee version but have not seen a data sheets. I've seen pricing for the Freescale parts but not for the Chipcon parts.

What is a CC2420 going for in small quantities?
Where can you buy it?

Charlie
libor



Joined: 14 Dec 2004
Posts: 288
Location: Hungary

View user's profile Send private message

PostPosted: Sat Jan 29, 2005 10:08 am     Reply with quote

Earlier I managed to buy a rail of CC2420 (43pcs) directly from Chipcon. It was thank to that it was accompanied with their Dev.kit, I think (Dev.kit = I bought not the Zigbee one, but the cheaper one)
They sell samples of 5 pcs ICs for $45 on their website. plus shipping
Guest








PostPosted: Sun Jan 30, 2005 5:01 pm     Reply with quote

CharlieGill wrote:

... us little guys will be able to buy approved ZigBee compliant modules at a reasonable cost.
Charlie


I agree and as I said by 2006/7 Zigbee modules for $75 (1-25).

Zigbee also requires a stack for the PC, wthout it Zigbee is doomed to failure.

Bluetooth has taken that path, and I can't see Zigbee doing it any faster.
CharlieGill



Joined: 29 Nov 2004
Posts: 15
Location: northeast georgia

View user's profile Send private message Visit poster's website

PostPosted: Mon Jan 31, 2005 3:42 pm     Reply with quote

For general ZigBee interest...
DLP Design has just released a "ZigBee ready" module. It has the Freescale MC13192 radio and MC9S08GT60 processor with a trace antenna. You still need a ZigBee stack.

Cost $50 qty 1, available around mid Feb.
About the same as the Microchip RF daughter board I believe.

Charlie
valemike
Guest







Zigbee spec is now public and free
PostPosted: Tue Jul 05, 2005 6:00 pm     Reply with quote

www.zigbee.org

You can now download the spec for free. So whoever wants to port it to CCS, and add on router functionality which Microchip doesn't provide (yet) can do so.

(I tried looking at it, and barely got past the Table of Contents and page 3 and got too sleepy. Only 375 more pages to read!)
Rocket
Guest







ZigBee
PostPosted: Mon Aug 15, 2005 4:33 am     Reply with quote

Microchip has a new version of the Zigbee stack. Smile Now we need some1 to get it working in CCS. I would like 2 but know my limitations.
So, here's to the frendly CCS folk who are working on it.
Bill_Smith



Joined: 06 Feb 2004
Posts: 26
Location: Curitiba, Brazil

View user's profile Send private message Visit poster's website

PostPosted: Tue Aug 16, 2005 5:03 am     Reply with quote

I just returned from the Microchip 2005 Masters Conference. I participated in the ZIGBEE "Hands-On" training class which gave us a 4 hour crash course on Microchip's implentation of the software stack. Very little information was given on the hardware, which uses the Chipcon chip, and no one from Chipcon was available at the conference, pretty strange I think.

I was also able to purchase a ZIGBEE demo kit which comes with two PIC18F4620 mother boards and two plug-in modules with the Chipcon solution. There is a CD with all the ZIGBEE source code, Microchip Apps notes, and there tutorial. You will need Microchip's C18 C compiler to directly compile the demo source.

You can freely download the Student version of the C18 compiler from their website, and for a limited period, 60 days I think, it is fully functional. You can also go to the ZIGBEE User's website and after registering your name and email address, download the full specification which is a TOME.

The ZIGBEE training class used different hardware, demo boards with more LEDs and pushbuttons, and we were able to create small networks with each other, turn LEDs on and off, etc.. The Microchip ZIGBEE software stack is definitely a work in progress, and my impression is that they are still in a learning phase themselves. You will need about 12K of flash to load up their code.

My understanding of the legal issues is that until you start selling a product with the ZIGBEE certification label attached, you don't need to pay the money to become an adopter. There is a ZIGFEST "Plugfest" to test interoperability with other vendor's devices, and I'm sure that you can get your legal questions anwered there.

ZIGBEE is a pretty cool, low cost, RF comm technology and well worth the time investment to check it out.

I hope this information helps.

Bill
MikeValencia



Joined: 04 Aug 2004
Posts: 238
Location: Chicago

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

PostPosted: Tue Aug 16, 2005 7:40 am     Reply with quote

Bill_Smith wrote:

My understanding of the legal issues is that until you start selling a product with the ZIGBEE certification label attached, you don't need to pay the money to become an adopter. There is a ZIGFEST "Plugfest" to test interoperability with other vendor's devices, and I'm sure that you can get your legal questions anwered there.


I was watching some streaming video archives of this year's Freescale conference in Orlando. During one of the Zigbee presentation's Q&A session, one Zigbee Alliance chairperson was there helping to answer questions. He was confronted with a question on the lines of "If we buy your chips, why do we still have to pay to be an Alliance member?..." And also, "What if we sell it anyways w/o being an alliance member?" To which the person conceded he's not a lawyer, but that the Zigbee alliance does have lawyers to address such issues.

The questions were somewhat confrontational, but i'm glad someone asked. The only thing you are "legally" responsible for is to not be in violation of FCC. I don't think the Zigbee alliance can impose their own laws on you unlike the FCC. For that matter, just don't call it "Zigbee-compliant" then. Sort of like calling "i2c" a "2-wire" protocol just to avoid pissing off Philips.

I understand that someone would have to pay to buy a block of IP addresses, or to buy some USB addresses. But I don't know why you have to pay some rights from some Zigbee legal body. Isn't it enough to buy their silicon? Mad
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Tue Aug 16, 2005 7:59 am     Reply with quote

Mike, Do you have a link to that video. I would love to look at it.
valemike
Guest







PostPosted: Tue Aug 16, 2005 10:24 am     Reply with quote

treitmey wrote:
Mike, Do you have a link to that video. I would love to look at it.


Here you go:

http://www.freescale.com/webapp/sps/site/homepage.jsp?nodeId=0525779036

Click on the link at the bottom of the page:
Quote:
Presentations from FTF Americas can be found here. Browse abstracts to download copies of presentations that were delivered in Orlando, Florida.


You'll have to register first (free), then sort thru half a dozen or so Zigbee-related sessions. I forgot which one it was, but they're all pretty informative.

If the link above doesn't work for some reason, then go to Google and type in:
freescale.com orlando

-Mike
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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