參數資料
型號: ADNS-2051
英文描述: Optical Mouse Sensor
中文描述: 光學鼠標傳感器
文件頁數: 22/40頁
文件大?。?/td> 454K
代理商: ADNS-2051
22
and is expecting a value of 0x02.
If it receives this value, it then
knows that the communication to
the ADNS-2051 is operational.
The problem occurs if the
ADNS-2051 powers up before the
microprocessor sets the SCLK
and SDIO lines to be outputs and
high. The ADNS-2051 sees the
raising of the SCLK as a valid
rising edge, and clocks in the
state of the SDIO as the first bit
of the address (sets either a read
or a write depending upon the
state).
In the case of SDIO low, then a
read operation has started. When
the microprocessor begins to
actually send the address, the
ADNS-2051 already has the first
bit of an address. When the sev-
enth bit is sent by the micro, the
ADNS-2051 has a valid address,
and drives the SDIO line high
within 120 ns (see detail “A” in
Figure 27 and Figure 28). This
results in a bus fight for SDIO.
Since the address is wrong, the
data sent back will be incorrect.
In the case of SDIO high, a write
operation is started. The address
and data are out of synchroniza-
tion, and the wrong data will be
written to the wrong address.
Two Solutions
There are two different ways to
solve the problem, waiting for the
serial port watchdog timer to
time out, or using the PD line to
reset the serial port.
1. Serial Port Watchdog Timer
Timeout
Figure 36. Power up serial port watchdog timer sequence.
Figure 37. Power up serial port PD sync sequence.
DATA = 0x02
SCLK
SDIO
ADDRESS = 0x00
PD
V
DD
> t
SPTT
If the microprocessor waits at
least t
SPTT
from V
DD
valid, it will
ensure that the ADNS-2051 has
powered up and the watchdog
timer has timed out. This
assumes that the microprocessor
and the ADNS-2051 share the
same power supply. If not, then
the microprocessor must wait
t
SPTT
from ADNS-2051 V
DD
valid. Then when the SCLK
toggles for the address, the
ADNS-2051 will be in sync with
the microprocessor.
2. PD Sync
DATA = 0x02
SCLK
SDIO
ADDRESS = 0x00
PD
V
DD
4 ms
The PD line can be used to resync
the serial port. If the micropro-
cessor waits for 4 ms from V
DD
valid, and then outputs a valid PD
pulse (see Figure 15), then the
serial port will be ready for data.
Resync Note
If the microprocessor and the
ADNS-2051 get out of sync, then
the data either written or read
from the registers will be incor-
rect. An easy way to solve this is
to output a PD pulse to resync
the parts after an incorrect read.
相關PDF資料
PDF描述
ADP1109A Micropower Low Cost Fixed 3.3 V, 5 V, 12 V and Adjustable DC-to-DC Converter(微功耗,低成本固定或可調輸出DC-DC轉換器)
ADP1109 Micropower DC-DC Converter(可調/固定輸出,微功耗DC-DC轉換器)
ADP1147-3.3 High Efficiency Step-Down Switching Regulator Controllers(高效率步降開關穩(wěn)壓控制器)
ADP1147-5 High Efficiency Step-Down Switching Regulator Controllers(高效率步降開關穩(wěn)壓控制器)
ADP1148-5 500kHz and 1MHz High Efficiency 1.5A Switching Regulators; Package: SO; No of Pins: 8; Temperature Range: -40?°C to 85?°C
相關代理商/技術參數
參數描述
ADNS-2080 功能描述:光學導航傳感器 LED Sensor RoHS:否 制造商:Avago Technologies 工作電源電壓: 封裝 / 箱體: 最大工作溫度: 最小工作溫度:
ADNS-2120 功能描述:光學導航傳感器 Round Mouse Lens RoHS:否 制造商:Avago Technologies 工作電源電壓: 封裝 / 箱體: 最大工作溫度: 最小工作溫度:
ADNS-2120-001 功能描述:光學導航傳感器 Trim Mouse Lens RoHS:否 制造商:Avago Technologies 工作電源電壓: 封裝 / 箱體: 最大工作溫度: 最小工作溫度:
ADNS-2220 功能描述:光學導航傳感器 Black Optical Mouse Clip RoHS:否 制造商:Avago Technologies 工作電源電壓: 封裝 / 箱體: 最大工作溫度: 最小工作溫度:
ADNS-2220-001 功能描述:光學導航傳感器 Clear Optical Mouse Clip RoHS:否 制造商:Avago Technologies 工作電源電壓: 封裝 / 箱體: 最大工作溫度: 最小工作溫度: