ADNK-3043-ND24 Avago Technologies US Inc., ADNK-3043-ND24 Datasheet - Page 7

WIRELESS MOUSE DESIGN KIT

ADNK-3043-ND24

Manufacturer Part Number
ADNK-3043-ND24
Description
WIRELESS MOUSE DESIGN KIT
Manufacturer
Avago Technologies US Inc.
Type
Wireless Mouse Development Kitr
Datasheet

Specifications of ADNK-3043-ND24

Frequency
2.4GHz
Wireless Frequency
2.4 GHz
Interface Type
USB
For Use With/related Products
ADNS-3043
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Figure 6. Reference Design Mouse Software Architecture
Firmware Implementation
The firmware for this reference design is written in the C language.
The following files are required to compile the mouse firmware.
• MSP430_AVAGO_ADNS-3040.c
• CRC-8.c
• wm430_buttons.c
• wm430_system.c
• wm430_transmitter.c
• wm430_wheel.c
• _FSKDATAPLUSENCODING
The user should insert the receiver dongle into an available USB port at the computer. Install two AA alkaline batteries
into the battery compartment. Pay special attention to the polarities of the two batteries. The reference design mouse
is designed to work with two AA batteries in parallel or just one AA battery. Press the connect button on the receiver
dongle and while the LEDs are flashing press the connect button at the underside of the mouse. When the mouse is
properly “connected” to the dongle every time it receives a transmission from the mouse the green LED lights up.
7
Port 1 Interrupt
LEFT Button
Port 1 Interrupt
Port 1 Interrupt
WHEEL Button
(every 2 msec)
RIGHT Button
TIMER_A1
Interrupt
Periodic
(1) Turn Wheel LED ON
(2) Read scroll wheel position
(3) Turn Wheel LED OFF
(4) Update QEP state machine
Scroll Wheel Module
(1) Trigger WHEEL position check
(2) Decrement Timeout counter
WDT Interrupt Service Routine
– main mouse firmware
– Routines for CRC-8 generation
– used to store button state data for tx message
– mplements the RF transmitter protocol
– Implements the logic to detect scroll wheel movement
– used to enable MSP430 to shift data out via FSK scheme by toggling the
RF_DATA line at specific bit periods
(1) Process MOTION data
(2) Process BINDING packet
(3) Process BUTTON data
(4) Update SCROLL WHEEL
QEP state machine
(5) Send out WHEEL position
(if changed since last check)
(6) If 10 mins inactivity, go into
DEEP SLEEP mode, else
repeat loop
CPU Main Processing Loop
(1) Build raw data packet
(2) Submit packet to Tx queue
(3) Turn RF transmitter ON
(3) Shift data out serially according to Miller
encoding scheme
(4) Turn RF transmitter OFF
Transmitter Module
TIMER_A0 Interval Interrupt
WatchDog Interval Interrupt
(every 250 milliseconds)
CONNECT Button
Port 2 Interrupt
Interrupt
MOTION
Sensor
Port 2

Related parts for ADNK-3043-ND24