User Manual

Software Design
ZSTAR3 Reference Design Manual, Rev. 0.1
5-42 Freescale Semiconductor
Preliminary
Pr
e
l
i
m
i
n
a
ry
‘H’
‘h’, netnum 1,. 3 Read Net ID number of RF communication
‘h’
netnum, ‘H’ 3, 1 Set new Net ID number of RF communication
‘M’
datarate, ‘m’, result 2, 2 Set new datarate of sensor
‘m’
datarate 1, 1 Read actual datarate of sensor
‘N’
sensor index, ‘n’, result 2, 2 Change focus of communication to new sensor index
‘n’
sensor index, connected sensors mask 1, 3 Read index of focused sensor and mask of connected
sensors
‘O’
'X' calibration offset 'Y' calibration offset 'Z'
calibration offset
1, 6 Get true calibration offset values generated by
autocalibration process
‘W’
sensor type,board type, sensor subtype,
ZSTAR version
1, 5 Read information about type of board, sensor and USB Stick
‘X’
burst sensor mask, ‘x’, connected sensors
mask
3, 3 Switch on burst mode of ZSTAR
‘x’
‘X’ 1, 1 Switch off burst mode of ZSTAR
‘Z’
‘z’ 1, 1 Go to Bootloader device
Table 5-8. New ZSTAR commands (Digital sensor part)
Normal Command
Extended
Asynchronous
Answer
Note
Comma
nd
Detail of command data
Length
tx/rx
(B)
Detail
Leng
th rx
(B)
‘J’
address of reg, length of data, new values of
reg 1-6 bytes, 'j', result
3-9, 2 {‘J’,result,index} 7 Direct access into ION registers,
write
‘j’
address of reg, length of reading, 'J', result 3, 2 {‘j’,result,data 2
- 8 x2 Bytes}
9-23 Direct access into ION registers,
read
L’
LDTH, SetByte, 'l', result 3, 2 {‘L’,result,index} 7 Level treshold detection switch on
‘l’
'L', result 1, 2 {‘l’,result,index} 7 Level treshold detection switch off
‘P’
PDTH, PW, LT, TW, Setbyte, ‘p’, result 6,2 {‘P’,result,index} 7 Pulse detection switch on
‘p’
'P', result 1, 2 {‘p’,result,index} 7 Pulse detection switch off
‘>’
Digital interface, ‘<‘, result 2, 2 {‘>’,result,index} 7 Change type of digital interface on
communixcation with ION
‘<’
‘>’, Digital interface 1, 2- -Read type of digital interface on
communixcation with ION
Table 5-7. New ZSTAR3 commands (general commands)