ATMEGA128RFA1 Bitcloud, how to start a custom application

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm using a ATMEGA128RFA1 for a two semester design project at my university (EE major obviously). I have lots of experience with normal AVR MCUs, never done anything with wireless or zigbee before so this is all new to me.

Anyways I have been reading through a lot of the documentation about how the stack works but am kind of confused about how to actually build a new application using the stack from scratch. The dev guide says how every application must contain this function and that function and I get that part. The part I don't understand is which files do I need to include to implement the stack? Bare bones here, no HAL, just enough that a simple bare bones zigbee program would use. I looked at the demo applications and the "blink" one seems to only include ZDO.h, and when I opened that I noticed that the included files in that file include other parts of the stack. So is this the key? None of the guides included in the documentation really say where to start. They list the major components of the stack, but which files do I actually need to include to start?

Also suppose I wanted to place all the files used from the stack in a single directory (like for giving to somebody later if they want to compile it through AVR studio), if I knew which core files are needed I could make a more "lightweight" program directory as the bitcloud file structure seems to be quite complicated since it contains numerous files for different configurations. Not sure if this can be done, but just wondering.

Hope these questions make sense. Thanks.

Last Edited: Fri. Oct 16, 2015 - 02:19 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You need all of the files there (at least all includes, you may pick and choose library binaries, of course).

The way you start development is by cloning any sample application and modifying it. It is very hard to create your own application from the ground up.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ok thanks, that's what I was going to do if I couldn't do what I was asking. Thanks for the advice.