background image

AT89RFD-11 User Guide

-5

 7648A–USB–06/06

Section 3

Theory of Operation

3.1

Navigation 
Technology

The heart of the optical navigation sensor is a CMOS image array. An LED and an opti-
cal system illuminate the surface that the sensor is navigating on. The texture of the
surface casts bright and dark spots forming distinct images as the sensor is moved
across the surface. A Digital Signal Processing (DSP) engine and its built-in algorithm
evaluate these images and determine the magnitude and direction of the movement.
The motion data is made available in the delta_X and delta_Y registers for the system
controller to retrieve. An extensive power saving topology is implemented within the
ADNS-3030 navigation engine. A Motion pin (output) is available to act as the system
interrupt. As long as there is no motion the system can remain in Sleep mode allowing
maximum battery power saving. Based on the last detected motion the optical naviga-
tion engine enters various power saving modes when no new motion occurs. These
power saving features are particularly beneficial for wireless.

Figure 3-1.  

Summary of Contents for AT89RFD-11

Page 1: ...AT89RFD 11 USB Mouse with Flash Memory Reference Design User Guide...

Page 2: ...1 1 1 2 Introduction 1 1 1 3 Key Reference Design Objectives 1 2 Section 2 Reference Design Overview 2 3 Section 3 Theory of Operation 3 5 3 1 Mouse Buttons 3 5 3 2 Z Wheel 3 5 3 4 Sensor interface 3...

Page 3: ...r second and 8 G Up to 800 CPI resolution No mechanical moving parts ISP In System Programming to upgrade the firmware 2K E2PROM to store parameters Project sources availble with royalty free licence...

Page 4: ...www avagotech com and the USB specification http www usb org is assumed 1 3 Key Reference Design Objectives 1 Offer a complete solution based on a full speed mouse with a mass storage capability 2 Hi...

Page 5: ...es with one microcontroller the AT89C5131A M The mouse is based on the ADNS 3030 Avago sensor to collect the X Y motion value An optical quadrature encoder provides the Z wheel movement Each of the bu...

Page 6: ...these images and determine the magnitude and direction of the movement The motion data is made available in the delta_X and delta_Y registers for the system controller to retrieve An extensive power...

Page 7: ...automatically optimizes the frame rate by examining the acquired images of the surface It also manages the integrated LED driver to coordinate with the shutter The system controller reads the motion...

Page 8: ...e fan of this pinwheel is mechanically designed to block the infrared light such that the phototransistors are turned on and off in a quadrature output pattern Every change in the phototransistor outp...

Page 9: ...device from the PC point of view In our case we declare two interfaces one to manage the mass storage device and the other to manage the HID mouse device To be able to manage two interfaces the micro...

Page 10: ...alone devices The figure below shows how the device appears in the device manager Device descriptor Configuration descriptor Interface descriptor Mass Storage Interafce descriptor HIDmouse Endpoint IN...

Page 11: ...mouse The PC asks the mouse if there is a new data available each P time polling interval time the mouse will send the data if it is available otherwise it will send a NAK No Acknowlodge to tell the...

Page 12: ...nage the file transfers The Mass Storage class allows one device to manage several memories at the same time thanks to the LUN Figure 3 8 Mass Storage Application Overview The standard enumeration pro...

Page 13: ...3 6 4 Power Management Although this is not a wireless design it is worthwhile to mention the low power feature of the ADNS 3030 The ADNS 3030 has three power saving modes Each mode has a different m...

Page 14: ...the system power saving As long as the ADNS 3030 is not sensing motion the microcontroller can enter its own sleep mode as long as it is capable of waking up from an interrupt by the Motion pin 3 6 4...

Page 15: ...to put the reference design in ISP mode 1 Unplug the reference design from the PC 2 Push the button located on the bottom of the reference desgin see the figure below Figure 3 10 ISP Button 3 Plug th...

Page 16: ...AT89RFD 11 User Guide 15 7648A USB 06 06 Figure 3 11 Device Manager...

Page 17: ...e for non standard request management The enumeration parameters descriptor tables are contained in the usb_user_configuration c file usb_user_enum c This file contains the non standard USB requests u...

Page 18: ...ation process Mass Storage SCSI command management USB mouse report management usb_task polling call Is_usb_mouse_event interrupt call each SOF 1ms Check if mouse motion OK check if button pressed or...

Page 19: ...1_5 C2 10nF C2 10nF C4 10nF C4 10nF C3 1 F C3 1 F C1 1 F C1 1 F NCS 1 MISO 2 SCLK 3 MOSI 4 MOTION 5 XY_LED 6 LED_GND 7 NC 8 AGND 9 SHTDWN 10 NC 20 AGND 19 NC 18 NC 17 GND 16 VDD 15 AGND 14 GND 13 GND...

Page 20: ...A3LH U3 MID 95A3LH R5 4K7 R5 4K7 1 2 SW2 Left SW2 Left D2 MIE 114A1 D2 MIE 114A1 P2 0 A8 D8 56 P2 1 A9 D9 57 P2 2 A10 D10 58 P1 5 CEX2 KIN5 MISO 59 P1 6 CEX3 KIN6 SCK 60 P1 7 CEX4 KIN7 MOSI 61 P4 0 SC...

Page 21: ...P0_4 P0_5 P0_6 P0_7 P2_0 P2_1 P2_3 P3_7 P3_6 P2_4 C15 100nF C15 100nF R8 10K R8 10K C16 100nF C16 100nF CE 9 RE 8 WE 18 WP 19 ALE 17 CLE 16 IO7 44 IO6 43 IO5 42 IO4 41 IO3 32 IO2 31 IO1 30 IO0 29 RDY...

Page 22: ...B_CON_D GND Vcc VREF D D 3 3V See recommendations folder 1 2 3 4 J1 Male Header Molex 53261 0571 J1 Male Header Molex 53261 0571 IN 3 GND 2 OUT 1 U5 L78L33 STM SOT89 U5 L78L33 STM SOT89 R10 27 R10 27...

Page 23: ...ion DO NOT INSTALL Not on schematic 11 4 Terminal Crimp install on Item 9 Not on schematic 12 1 Resistor 0805 10 R1 13 1 Resistor 0805 2 2 k R2 14 1 Resistor 0805 100 R4 15 2 Resistor 0805 4 7 k R5 R6...

Page 24: ...therwise Atmel products are not suit able for and shall not be used in automotive applications Atmel s products are not intended authorized or warranted for use as components in applications intended...

Reviews: