
eKM8003 Optical Mouse Controller
(Revision Date: 2002/12/17)
This specification may change without further notice.
2
4. Function Description
4.1
Agilent Serial Interface and Control Register
Synchronous Serial Port
The synchronous serial port is used to set and read parameters in Agilent sensor IC, and can be used to
read out the motion information. The eKM8003 always initiates communication.
SCLK: The serial port clock. It is always generate by eKM8003.
SDIO: The serial data line.
PD: Power Down line is used to force re-synchronization between the eKM8003 and the ADNS-2051
in case of an error. It also can be used to place the ADNS-2051 in low power mode to meet some special
case.
Write Operation
Write operations, where data is going from the eKM8003 to Agilent sensor IC, is always initiated by
the micro-controller and consists of two bytes. The first byte contains the address (seven bits) and has a”1”
as its MSB to indicate data direction. The second byte contains the data. The transfer is synchronized by
SCLK. The eKM8003 changes SDIO on falling edges of SCLK.
Read Operation
A read operation, which means that data is going from Agilent sensor IC to the eKM8003, is always
initiated by the eKM8003 and consists of two bytes. The first byte contains the address, is written by the
eKM8003, and has a “0” as its MSB to indicate data direction. The second byte contains the data and is
driven by Agilent sensor IC. The transfer is synchronized by SCLK. SDIO is changed on falling edges of
SCLK and read on every rising edge of SCLK. The eKM8003 will go to a high Z state after the last address
data bit.
During a read operation, SCLK will delay after the last address data bit to ensure that Agilent sensor IC
has at least 100us to prepare the requested data.
Error Detection and Recovery of ADNS-2051
The eKM8003 will verify the synchronization of the serial port by periodically reading the product ID
register of ADSN-2051. Once the eKM8003 and the ADNS-2051 get out of sync, then the eKM8003 will
output a valid PD plus to resync.
Error Detection and Recovery of ADNS-2610/2620
1.
The ADNS-2610/2620 and the microcontroller might get out of synchronization due to ESD events,
power supply droops or microcontroller firmware flaws.
2.
The ADNS-2610/2620 has a transaction timer for the serial port. If the sixteenth SCK rising edge is
spaced more than approximately 90 milliseconds from the first SCK edge of the current transaction, the
serial port will reset.
3.
Invalid addresses:
- Writing to an invalid address will have no effect. Reading from an invalid address will return all zeros.