Hey Nir.
I'm sure there are other people that can help you better than me but since nobody has answered yet, I'll reply your topic with what I've found so far (I'm working on a ZigBee project too
).
There are some important things you must decide before jumping into tests and code:
- Hardware
- Network stuff
- ZigBee CodeBase
Seems you already chose MC13213. Is it inside a tarjet? or are you planning to build a custom one?, for what you said you may wanna check the SARD, it saves you a lot of work.
You said too that the network will have mesh kind of topology, I've heard there are some issues with mesh. Check the star configuration, it should work fine for a coordinator with several end devices. Also, you have to decide if you will implement a beaconed or not beaconed network. I would say that it depends mostly on your project data transmission over time and battery too. There is a decent explanation at the BeeKit documentation under the IEE 802.15.4 MAC section called "MyWirelessApp User's Guide", check the chapters 5 and 6. (in my project, I'm kinda stuck at this part).
To select the ZigBee CodeBase is simple (or at least it was for me). First I tried BeeStack and I noted that you needed a license after a month. So I tried MAC, I got some issues and I went down to SMAC until I solved those issues and I saw that SMAC, as the name says, is kinda simple, is a great start tho. Right now I'm working with MAC which is free and comes with MyWirelessApp demos that are well explained at the pdf I said before.
Finally, based on your specific questions (remember that I'm a student also, not an expert):
1. MyWirelessApp Demo 6 for non beaconed and Demo 7 for beaconed. There are other demos that you can check as well.
2. I think is possible but I'm not sure of where is well explained. I do know that at the SMAC documentation, there is a chapter with some info about it. Here is the link:
http://www.freescale.com/files/rf_if/doc/app_note/AN3231.pdf3. I'm using ADC too but with a infrared distance sensor. I use a timer interrupt bean and when it interrupts I check ADC measures.
4. Well, I don't know a specific one. BeeKit ones are useful (tho, sometimes I find them a little short). There are some random sites related to ZigBee like this one:
http://www.ifn.et.tu-dresden.de/~marandin/ZigBee/ZigBeeTutorial.htmlwhich has a well explained beaconed network math. However, the best place to look for help is right in here
Good luck!