16
Notes on Power-up and Reset
The ADNS-5050 does not perform an internal power up
self-reset. There are two ways to reset the chip, either as-
sert low NRESET pin or by writing 0x5a to register 0x3a. A
full reset will thus be executed. Any register settings must
then be reloaded.
Burst Mode Operation
Burst mode is a special serial port operation mode that
may be used to reduce the serial transaction time for a
motion read. The speed improvement is achieved by con-
tinuous data clocking to or from multiple registers with-
out the need to specify the register address, and by not
requiring the normal delay period between data bytes.
Burst mode is activated by reading the Motion_Burst reg-
ister. The ADNS-5050 will respond with the contents of the
Delta_X, Delta_Y, SQUAL, Shutter_Upper, Shutter_Lower,
Maximum_Pixel and Pixel_Sum registers in that order. The
burst transaction can be terminated anywhere in the se-
quence after the Delta_X value by bringing the NCS pin
high. After sending the register address, the micro-con-
troller must wait tSRAD and then begin reading data. All
data bits can be read with no delay between bytes by driv-
ing SCLK at the normal rate. The data are latched into the
output bu er after the last address bit is received. After
the burst transmission is complete, the micro-controller
must raise the NCS line for at least tBEXIT to terminate
burst mode. The serial port is not available for use until
it is reset with NCS, even for a second burst transmission.
Avago Technologies highly recommends the usage of burst
mode operation in optical mouse sensor design applications.
Motion Burst Timing
Notes on Power Down
The ADNS-5050 can be set in Power Down mode by set-
ting bit 1 of register 0x0d. In addition, the SPI port should
not be accessed during power down. (Other ICs on the
same SPI bus can be accessed, as long as the sensor’s NCS
pin is not asserted.) The table below shows the state of
various pins during power down. There are 2 ways to exit
power down, either assert low NRESET pin or by writing
0x5a to Register 0x3a. A full reset will thus be executed.
Wait for t
WAKEUP
before accessing the SPI port. Any regis-
ter settings must then be reloaded.
Pin Power Down Active
NRESET Functional
NCS Functional*
SDIO Functional*
SCLK Functional*
XY_LED Power Down
* NCS pin must be held to 1(high) if SPI bus is shared with other
devices. It can be in either state if the sensor is the only device in
addition to the controller microprocessor.
NOTE: There is long wakeup time from power down.
During power-up there will be a period of time after the
power supply is high but before any clocks are available.
The table below shows the state of the various pins during
power-up and reset.
State of Signal Pins After V
DD
is Valid
Pin During Reset After Reset
NCS Ignored Functional
SDIO Ignored Depends on NCS
SCLK Ignored Depends on NCS
XY_LED Hi-Z Functional
MOTION_BURST REGISTER ADDRESS READ FIRST BYTE
FIRST READ OPERATION READ SECOND BYTE READ THIRD BYTE
SCLK
• • •
• • •
t
SRAD
17
Registers
The ADNS-5050 registers are accessible via the serial port. The registers are used to read motion data and status as well
as to set the device con guration.
Address Register Read/Write Default Value
0x00 Product_ID R 0x12
0x01 Revision_ID R 0x01
0x02 Motion R 0x00
0x03 Delta_X R Any
0x04 Delta_Y R Any
0x05 SQUAL R Any
0x06 Shutter_Upper R Any
0x07 Shutter_Lower R Any
0x08 Maximum_Pixel R Any
0x09 Pixel_Sum R Any
0x0a Minimum_Pixel R Any
0x0b Pixel_Grab R/W Any
0x0c Reserved
0x0d Mouse_Control R/W 0x00
0x0e – 0x18 Reserved
0x19 Mouse_Control2 R/W 0x08
0x1a – 0x21 Reserved
0x22 LED_DC_Mode R/W 0x00
0x23 – 0x39 Reserved
0x3a Chip_Reset W N/A
0x3b – 0x3d Reserved
0x3e Product ID2 R 0x26
0x3f Inv_Rev_ID R 0xfe
0x40 – 0x62 Reserved
0x63 Motion_Burst R 0x00
18
Motion Address: 0x02
Access: Read/Write Reset Value: 0x00
Bit 7 6 5 4 3 2 1 0
Field MOT Reserved Reserved Reserved Reserved Reserved Reserved Reserved
Data Type: Bit  eld.
USAGE: Register 0x02 allows the user to determine if motion has occurred since the last time it was read. If
the MOT bit is set, then the user should read registers 0x03 and 0x04 to get the accumulated motion.
Read this register before reading the Delta_X and Delta_Y registers.
Writing anything to this register clears the MOT bit, Delta_X and Delta_Y registers. The written data
byte is not saved.
Field Name Description
MOT Motion since last report
0 = No motion
1 = Motion occurred, data ready for reading in Delta_X and Delta_Y registers
Reserved Reserved
Product_ID Address: 0x00
Access: Read Reset Value: 0x12
Bit 7 6 5 4 3 2 1 0
Field PID
7
PID
6
PID
5
PID
4
PID
3
PID
2
PID
1
PID
0
Data Type: 8-Bit unsigned integer
USAGE: This register value is made to be the same as ADNS-5020-EN for direct replacement. The alternative
PID is located at Product_ID2 (Address 0x3e). The values in these registers do not change; either one
can be used to verify if the serial communications link is functional.
Revision_ID Address: 0x01
Access: Read Reset Value: 0x01
Bit 7 6 5 4 3 2 1 0
Field RID
7
RID
6
RID
5
RID
4
RID
3
RID
2
RID
1
RID
0
Data Type: 8-Bit unsigned integer
USAGE: This register contains the IC revision. It is subject to change when new IC versions are released.

ADNS-5050

Mfr. #:
Manufacturer:
Broadcom / Avago
Description:
IC USB OPT MOUSE SENSOR HS 8-DIP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet