I am new to msp430, and I have to admit that although I worked with C on a few occasions, I am not an experienced C programmer.
I would like to setup the simplest Zigbee network for my ez430-rf2480,
just a coordinator and one endpoint. (maybe add a second endpoint later on)
I would like to use ZASA example, and strip it to the barebone as much as possible while keeping reliable operation of the network.
I would like to use hyperterminal as PC application, and TI USB dongle as Virtual Com. Port.
My host application’s priority is to sense a few bits on its digital I/O and transmit these as bytes to coordinator when certain number of bytes has been read, instead of every 10 seconds. Host msp430f2274 should not miss any samples. The received bytes then need to be output to hyperterminal.
1) I am confused regarding the MT. Do the MT_HOST and MT_xxxxx functions serve to transmit and receive data between my PC application through dongle on one side, and cc2480 radio on the other side (via f2274’s tx and rx, pins 3.4 and 3.5) or what exactly would I use the MT for ?
2) Do I have to have target boards setup as Sources and Sinks ?
What if I need to send data both ways between source and sink, how would I need to handle that ?
3) Can you please help me with what I can get rid of in ZASA, as well as what absolutely needs to be there, and how I need to modify the code (no button actions, using fixed addresses etc.) ?
4) I also need to reprogram the boards using IAR.
Should same code be programmed to both target boards, coordinator and endpoint alike ?
5) There is a note in one of the host application functions (temperature measurements
as I recall) saying not enough memory.
Does that refer to RAM or to IAR 4k limit or something else ?
I would much appreciate any help,
Thanks !