User Manual
Table Of Contents
- Revision History
- Table of Contents
- Chapter 1 Introduction
- Chapter 2 Wireless Sensing Triple Axis Reference design introduction
- Chapter 3 Sensor Board description
- 3.1 Board overview
- 3.2 A/D conversion of XYZ levels
- 3.3 Power management
- 3.4 ZSTAR Sensor Board hardware overview
- 3.4.1 Analog connections
- 3.4.2 g-select connections
- 3.4.3 BDM (Background Debug Mode) connections
- 3.4.4 Sensor Board schematics
- 3.4.5 Button connections
- 3.4.6 MC13191 to MC9S08QG8 microcontroller interface
- 3.4.7 MC13191 RF interface
- 3.4.8 Clocking options of MC9S08QG8
- 3.4.9 LED indicators connections
- 3.4.10 Power supply
- 3.5 Bill of Materials
- Chapter 4 USB stick board description
- Chapter 5 Software Design
- 5.1 Introduction
- 5.2 SMAC (Simple Media Access Controller)
- 5.3 ZSTAR RF protocol
- 5.4 STAR protocol and ZSTAR extensions (over USB)
- 5.5 Bootloader
- Chapter 6 Application Setup
- Appendix A References
![](/manual/freescale-semiconductor/zt2/user-manual-english/images/img-40.png)
ZSTAR RF protocol
Wireless Sensing Triple Axis Reference design, Rev. 0.9
Freescale Semiconductor 41
5.3.2.4 ZSTAR_ACK
This command is sent as the data acknowledgement so the Sensor Board board knows that the
connection is still alive. If the receive window is opened by the Sensor Board and the ZSTAR_ACK has
not been received, the operation (periodic transmission of a ZSTAR_DATA packet) continues but the
Sensor Board will try to receive an acknowledgement more frequently. If the acknowledgement is not
received several times, the connection is dropped and the Sensor Board will try to re-establish the
connection again. The USB stick will recognize this situation once several ZSTAR_DATA packets have
not been received.
5.3.2.5 ZSTAR_CALIB
This command carries the calibration data provided by the USB stick for the Sensor Board and is sent
instead of a ZSTAR_ACK packet. The calibration data is intended to be stored in Flash memory of the
Sensor Board. Since the Sensor Board does not receive after every ZSTAR_DATA packet, the USB stick
keeps sending a ZSTAR_CALIB until the Sensor Board confirms reception using a new
ZSTAR_CONNECT packet.
5.3.2.6 ZSTAR_STATUS
This command carries the g-range data provided by the USB stick for the Sensor Board and is sent
instead of a ZSTAR_ACK packet. The g-range data is intended to switch the g-range of accelerometer
sensor. Since the Sensor Board does not receive after every ZSTAR_DATA packet, the USB stick keeps
sending a ZSTAR_STATUS until the Sensor Board confirms reception using a new ZSTAR_CONNECT
packet.