The MCU Application - Specification
Project February 23rd, 2009
This is a long time coming. It is a continuation of the chapter The MCU Application, some of which I poster earlier. I am hoping to post more regularly until the whole ZigBee Project is posted. Here goes…
Specification
- At least two demonstration boards shall be used. One shall be a Full Function Device (FFD) and the other shall be a Reduced Function Device (RFD). The FFD will be a PAN coordinator, called coordinator from hereon in, and the RFD will be called device from hereon in.
- A visual indication shall be provided when a device is successfully associated to a coordinator and when both device and coordinator are ready to transmit/receive data.
- The coordinator shall respond to commands received by a PC application. The commands include Start and Stop packet sending and a packet size to be sent.
- The coordinator shall send packets with a packet size requested by the user.
- The coordinator shall stop sending packets when requested to do so by the user.
- Packets shall be given a unique identifier.
- A device shall only send a packet when it has received one.
- A device shall send a packet with a data payload that is the same size as the data payload of a received packet.
- A device shall include part of the payload from a received packet as part of the payload of a packet to be transmitted.
- Packets shall be time stamped just before transmission from the coordinator and again upon receiving a packet at the coordinator.
- The coordinator shall output all transmitted and received packets to the serial port. Other data such as MAC messages and collected network information shall also be output to the serial port.
- A packet shall be transmitted to the device upon a press and release of a switch on the coordinator node. Holding down a switch for a period of time shall not affect packet sending or data in any way.
- Upon a switch press and release on the coordinator node, a corresponding LED on the coordinator node itself is lit. Only one LED is on at any one time on the coordinator node – indicating the last switch press.
- The corresponding LED on a device shall turn on or off when it has received a packet from the coordinator informing it of a switch press.
- More than one LED on the device node can be on at any one time. Device LEDs shall toggle upon multiple switch press/releases on the coordinator node.

Low level requirements









Leave a Comment