
Mouse Transmitter Firmware
Designer Reference Manual
DRM050 — Rev 0
24
Mouse Transmitter Firmware
MOTOROLA
Figure 4-2
shows the flow of the power management. There are three
defined stages — Power Saving, High Current, and Sleep stage.
After power up, the mouse is put in Power Saving stage. In this stage,
the sensor is only turned on for every 25 ms to see if any XY movement
occurred. The Z movement and buttons are sensed for every ms.
If no activity happens in 50 seconds, it enters the Sleep stage. In this
stage, the JB8 is put in stop mode and will be woken up every 250
m
s to
monitor any activity. The RFW-D100 and RFW-D102 IC are in idle mode
(not in power down mode). Their power consumption will be reduced
because the system CLK to RFW-D100 has been stopped (JB8 and
RFW-D100 share the same crystal CLK source).
Any XY movement will cause the mouse to enter the High Current stage.
At this stage, the sensor is powered on and XY movement is continually
monitored. The Z movement and buttons’ activities are still monitored for
every ms. If no XY movement happens in 5 seconds, it then enters
Power Saving Stage.
Except for the 1
m
s timer tick, all the above mentioned timings can
configured by changing their constant values.
4.4 Output Buffer Format for the RF Packet
Users may refer to the RFWaves RFW-D100 IC data sheet for more
detail about the RFWaves Packet Structure (Rev 1.3, Appendix B).
Figure 4-3
shows the output buffer format for the mouse RF packet. The
contents of this will be transmitted when invoking the transmission
function. Users can refer to the “TransmitData” function in “main.c” of the
reference firmware as an example.
The first byte is the total size of the buffer data (equal to 11 here). Bytes
2 through 5 are the Network ID which is used to distinguish different
RFWaves Networks. Byte 6 is the node ID which is used for identification
of different device within the network. The last four bytes are the mouse
data.
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..