User's Manual Part 2

STAR protocol and ZSTAR extensions (over USB)
Wireless Sensing Triple Axis Reference design, Rev. 0.9
Freescale Semiconductor 45
Figure 5-10
g-select reading ‘G’ (0x47)
5.4.5.2 g-select setting ‘g’ (0x67)
To select the g-range of the sensor on the ZSTAR Sensor Board, a ‘g’ command is issued. It needs to be
followed by the required g-range (‘0’, 1’, ‘2’ or ‘3’). The USB stick board then communicates this selection
to the Sensor Board over the air (see more in
5.3.2.6 ZSTAR_STATUS).
No response from the demo is provided. To verify which g-range has been selected, the
g-select reading
‘G’ (0x47)
command can be used.
Figure 5-11
g-select setting ‘g’ (0x67)
5.4.5.3 Info ‘I’ (0x49)
The Info command ‘I’ has only been added to determine which version, compile date, and author of the
USB stick software has been implemented. The demo returns a plain text information, and this command
is usually issued over terminal (e.g. HyperTerminal) software.
Figure 5-12Info ‘I’ (0x49)
5.4.5.4 Debug on ‘U’ (0x55) and Debug off ‘u’ (0x75)
Various debug information can be observed after issuing a ‘U’ command, usually in terminal (e.g.
HyperTerminal) software. Mainly, information on the air protocol is displayed in text, information on the
detected channel energy during the surveying for a free channel is shown, channel numbers, and, once
the connection is established, the network number. The received level of packets from the Sensor Board
PC to demo
demo to PC
‘G’
g-select value
PC to demo
demo to PC
‘g’
g-select value
PC to demo
demo to PC
‘I’
info text, version, date, etc.