User Manual

Software Design
ZSTAR3 Reference Design Manual, Rev. 0.1
Freescale Semiconductor 5-41
Preliminary
Pr
e
l
i
m
i
n
a
ry
Legend of colors
5.4.3 Subset of new added ZSTAR3 protocol commands
The ZSTAR3 software contains all unchanged original STAR commands. Some commands can send
extended information in ZSTAR3 mode - ZSTAR3 USB protocol extend some Original commands when
PC send any command from new subset of command table. These extended information return to PC
information of result individual commands.
‘r’
‘z’ 1, 1 - - Reset to 16 bit mode
‘v’
'x' value 'y' value 'z' value 's' status 't'
temperature 'b' bangap
1,17 - - Read extended 16 bits
acceleration data
1
‘I’
Text information about project 1, - - - Return text information about
ZSTAR project
‘U’
Debug information 1, - - - Switch on sending useful debug
information
‘u’
1,0 - - Switch off sending useful debug
information
‘Q’
‘Q’ 2, - - - Debug autocalibration command
‘S’
Sensor RSSI, USB RSSI 1, 2 - - Read Receive Strength Signal
Indicators
1
ZSTAR3 RF protocol does not support bangap and temperature values, thus when USB Stick run with ZSTAR3 RF protocol
this command always returning zeros in these fields
Legend
Red Direction PC -> USB Stick
Blue Direction USB Stick -> PC, regular
data
Table 5-7. New ZSTAR3 commands (general commands)
Normal Command
Note
Comma
nd
Detail of command data
Length
tx/rx
(B)
‘A’
‘a’, channel 1, 2 return actual select rf channel
‘a’
channel, ‘A’ 2,1 set new RF channel, channel > 15 means automatically
selection by USB Stick
‘B’
‘b’, Working State 1, 2 Get actual working state of ZSTAR
‘C’
‘c’ 1, 1 Simply HandShake
Table 5-6. Original ZSTAR commands