adns-4700 Avago Technologies, adns-4700 Datasheet - Page 16

no-image

adns-4700

Manufacturer Part Number
adns-4700
Description
Single Chip Usb Optical Mouse Sensor
Manufacturer
Avago Technologies
Datasheet
OTP Byte Read Operation
OTP read operation fl ow chart is shown in Figure 17.
1. Set OTP Clock enable bit in OTP_CLOCK register, 0x42:
2. Set OTP enable bit in OTP_CONFIG register, 0x51: OTP_
3. Write the OTP register address byte to OTP_ADDR
4. Set read enable bit in OTP_CTRL register, 0x54 to enable
5. Read the read enable bit status in OTP_CTRL register,
6. Read the OTP data byte from OTP_DATA register, 0x53
7. Repeat Step 2 for more OTP read operations
Figure 17. OTP Byte Read Flow Chart
OTP Lock Operation
OTP lock operation MUST be performed once OTP write to
OTPLOCK1 register for the sensor to function. DO not reset
or power up the chip right after OTP write to OTPLOCK1
register, otherwise the chip will be malfunction. The OTP
lock operation fl ow chart is shown in Figure 18.
1. Set OTP Clock enable bit in OTP_CLOCK register, 0x42:
16
0x54: REGA_OTP_CTRL[1]
0x53: REGA_OTP_DATA[7:0]
0x51: REGA_OTP_CONFIG[0]=1
0x52: REGA_OTP_ADDR[7:0]
0x54: REGA_OTP_CTRL[1]=1
OTP_CLOCK_EN = 1.
EN = 1.
register, 0x52.
write command to OTP: RD = 1.
0x54. If RD = 1, repeat reading the bit status until it is
clear. Read the OTP data byte from OTP_DATA register,
0x53 to complete the OTP read operation.
to complete the OTP read operation.
OTP_CLOCK_EN = 1
Read OTP program bit
Write OTP enable bit
Write OTP addr byte
Write OTP read bite
Read OTP data
OTP read done
bit = 0?
bytes?
more
Done
Start
Yes
No
Yes
No
0x51: REGA_OTP_CONFIG[0]=1
0x54: REGA_OTP_CTRL[2] or [3]=1
0x54: REGA_OTP_CTRL[2] or [3]
0x58: REGA_OTP_CTRLSTAT[4] or [6]
0x58: REGA_OTP_CTRLSTAT[5] or [7]
32 bit CRC results stored in register
0xE9 0xEA 0xEB 0xEC
2. After OTP write to OTPLOCK1 register, set OTP enable
3. Set OTP lock bit in OTP_CTRL register, 0x54 to enable
4. Read the OTP lock bit status in OTP_CTRL register, 0x54.
5. Read the lock status and CRC bits in OTP_CTRLSTAT
6. If Step 4b is repeated up to 10 times, OTP lock operation
Figure 18. OTP Byte Lock Flow Chart
bit in OTP_CONFIG register, 0x51: OTP_EN = 1.
OTP lock command: LOCK_L1 = 1.
If LOCK_L1 = 1, repeat reading the bit status until it is
clear.
register, 0x58.
a. If both L1_LOCK_OK and L1_CRC_OK = 1, OTP lock
b. If either L1_LOCK_OK or L1_CRC_OK = 0, repeat Step
is failed and the chip is confi rmed as defective unit.
operation is completed.
2 until both bits are set.
Repeat = Repeat + 1
Repeat = 10?
OTP write fail
Bad Chip
No
Yes
No
No
Write OTP enable bit
Read lock status bit
Read CRC status bit
Write OTP lock bit
Read OTP lock bit
Compare CRC
Wait for 10ms
lock & crc = 1?
CRC Correct?
Repeat = 1
more lock?
bit = 0?
OTP lock
Done
Start
Yes
Yes
Yes
Yes
No

Related parts for adns-4700