User Manual

Software Design
ZSTAR3 Reference Design Manual, Rev. 0.1
5-38 Freescale Semiconductor
Preliminary
Pr
e
l
i
m
i
n
a
ry
Master (USB Stick) - USB Stick of the ZSTAR3 supports original ZSTAR RF protocol and
this state provide it. For ore details check Manual for original ZSTAR ZSTARRM Reference
design manual - Original ZSTAR demo(RD3152MMA7260Q) RDM.
Slave (Sensor board) - Sensor board software conteins this state and it can support of original
ZSTAR too, but all boards are ordered with prohibited compatibility.
4. ZSTAR3 Protocol run state:
Master (USB Stick) - Master is periodically transmiting synchronization ZSTAR3_PYLON
message and then receiving all incoming messages from the Sensor boards within same
NetNum. In this state Master collect all neccessary information about connection status all
Sensor Boards and other user payload.
Slave (Sensor board) - In this state slave is periodically opening window to receive Master
synchronization mesage, measuring sensor data and tranmitting measured data with exact time
offset to air(master).
5. Sleep state:
Master (USB Stick) - Doesn’t have this state.
Slave (Sensor board) - When the Sensor Board goes this state, then switch off all peripheries
on board and inside of microcontroller and prepare all board to at least power consumption.
5.3.6.1 Typical one period of ZSTAR3 RF protocol
The ZSTAR3 RF protocol (in normal run mode) period starts by ZSTAR3_PYLON message from master.
In ideal case all active slaves has opened receive window and catches incoming ZSTAR3_PYLON
message from master. When sleves received this synchronization message, all in same time measure sensor
output values and prepared future trasmition in unique time after ZSTAR3_PYLON message from master.
This time is depend on index of each slave device. In the meantime the master prepared the new receive
window and pens it before first prospektive message of Slave 0 and keeps opened this window until time