
Mouse Transmitter Firmware
Designer Reference Manual
DRM050 — Rev 0
22
Mouse Transmitter Firmware
MOTOROLA
4.2 Application Firmware Flow
Figure 4-1
shows the main application firmware flow of the wireless
optical mouse. One of the main challenges in wireless optical mouse
design is the power management to minimize the power consumption
and maximize the performance.
Figure 4-1. Firmware Structure
MAIN PROGRAM
INIT MAC TO
TRANSMIT DATA
POWER MANAGEMENT
INITIATE SENSOR,
AND RF HARDWARE
GET XY DISPLACEMENT
GET Z DISPLACEMENT
FROM SENSOR
CHECK BUTTON
FOR EVERY MS
FOR EVERY MS
NEW
MOUSE DATA?
Y
N
IRQ ISR
NO
I
RQ DRIVEN BY
YES
PERIODICAL
WAKEUP SIGNAL?
SERVE THE INTERRUPT
EVENT FROM
RFW-D100 BASEBAND CHIP
DISABLE THE PERIODICAL
WAKEUP FOR MCU TO CHECK
MOVEMENT AND BUTTONS
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
.
..