19
Interrupt Controls
Bank Register Name Addr Bits
Default
Value R/W Description
0 R_MCU_IntFlag-
GClr
0x40 1 0x01 R/W 1: Auto clean
int ag_1 / Int ag_2 after I
2
C readout
0 R_MCU_IntFlag-
Inv
0x40 4 0x00 R/W 1: INT pin high active
0: INT pin low active
0 R_Int_1_En 0x41 7:0 0xFF R/W If the corresponding bit is 1, the corresponding interrupt event
is enabled
Bit[0] Up
Bit[1] Down
Bit[2] Left
Bit[3] Right
Bit[4] Forward
Bit[5] Backward
Bit[6] Clockwise
Bit[7] Counterclockwise
0 R_Int_2_En 0x42 7:0 0xFF R/W If the corresponding bit is as follows, the corresponding
interrupt event is enabled:
Bit[0] Wave, wave mode only
Bit[1] Proximity, proximity mode only
Bit[2] Has Object, cursor mode only
Bit[3] Wake up trigger, trigger mode only
Bit[4] N/A
Bit[5] N/A
Bit[6] N/A
Bit[7] No Object, cursor mode only
0 IntFlag_1 0x43 7:0 - R When interrupt event happens, the corresponding bit is set to 1:
Bit[0] Up
Bit[1] Down
Bit[2] Left
Bit[3] Right
Bit[4] Forward
Bit[5] Backward
Bit[6] Clockwise
Bit[7] Counterclockwise
0 IntFlag_2 0x44 7:0 - R When interrupt event happens, the
corresponding bit is set to 1:
Bit[0] Wave, wave mode only
Bit[1] Proximity, proximity mode only
Bit[2] Has Object, cursor mode only
Bit[3] Wake up trigger, trigger mode only
Bit[4] N/A
Bit[5] N/A
Bit[6] N/A
Bit[7] No Object, cursor mode only
20
Gesture Mode Controls
Bank Register Name Addr Bits
Default
Value R/W Description
0 R_LightThd 0x83 7:0 0x20 R/W If pixel > R_LightThd, it is taken as part of the object
Example :
Pixel array : [10 10 40 40 40 10],
R_LightThd = 32
≥ Object array: [0 0 40 40 40 0]
0 R_GestureStartTh 0x84 7:0 0x20 R/W Low byte of gesture start threshold,
if object size > R_GestureStartTh, state machine goes to
“Has Object state
0 R_GestureStartTh 0x85 1:0 0x00 R/W High byte of gesture start threshold,
if object size > R_GestureStartTh, state machine goes to
“Has Object state
0 R_GestureEndTh 0x86 7:0 0x10 R/W Low byte of gesture end threshold,
if object size < R_GestureEndTh, state machine goes out
of “Has Object state
0 R_GestureEndTh 0x87 1:0 0x00 R/W High byte of gesture end threshold,
if object size < R_GestureEndTh, state machine goes out
of “Has Object state
0 R_ObjectMinZ 0x88 4:0 0x05 R/W Z direction minimum threshold
0 R_ObjectMaxZ 0x89 5:0 0x18 R/W Z direction maximum threshold
0 R_ProcessResolution 0x8C 5:4 0x03 R/W Resolution of the gesture detection object
0 R_TimeDelayNum 0x8D 7:0 0x00 R/W Detection gap between this gesture and the next gesture
0 R_Disable45Degree 0x8E 0 0x00 R/W 45 degree gesture detection
1: Disable 45 degree gesture detection
0 R_45DegreeRatio 0x8E 7:4 0xF0 R/W Ratio to de ne 45 degree
0 R_XtoYGain 0x8F 0 0x01 R/W X and Y direction gain enable
0 R_XYGainRatio 0x8F 7:4 0x08 R/W X and Y direction gain ratio
0 R_NoMotionCountThd 0x90 6:0 0x0C R/W “No Motion Counter Threshold” to quit “Has Motion state
0 R_NoObjectCountThd 0x91 6:0 0x06 R/W “No Object Counter Threshold” to quit “Has Object state
0 R_NormalizedImageWidth 0x92 4:0 0x1E R/W Image normalized factor
0 R_XDirectionThd 0x93 4:0 0x0D R/W Gesture detection horizontal threshold
0 R_YDirectionThd 0x94 4:0 0x0A R/W Gesture detection vertical threshold
0 R_ZDirectionThd 0x95 4:0 0x0C R/W Gesture detection z direction threshold
0 R_ZDirectionXYThd 0x96 4:0 0x0A R/W Gesture detection x and y threshold to detect forward or
backward
0 R_ZDirectionAngleThd 0x97 3:0 0x04 R/W Gesture detection angle threshold to detect forward or
backward
0 R_RotateAngleThd 0x98 5:0 0x0A R/W Gesture detection angle threshold to detect rotation
0 R_RotateContiEnH 0x99 0 0x01 R/W Continuous rotation gesture detection enable
0 R_RotateContiThd 0x99 5:1 0x00 R/W Continuous rotation gesture detection angle threshold
0 R_RotateXYThd 0x9A 4:0 0x0A R/W Gesture detection x and y threshold to detect rotation
0 R_RotateZThd 0x9B 4:0 0x0A R/W Gesture detection z threshold to detect rotation
0 R_FilterWeight 0x9C 1:0 0x03 R/W IIR  lter weight between frame position distance
0 R_FilterDistThd 0x9C 6:2 0x0A R/W IIR  lter frame position distance threshold
0 R_StartDistThd 0x9D 3:0 0x03 R/W Object position di erence between frames threshold to
enter the process state
0 R_EndDistThd 0x9D 6:4 0x03 R/W Object position di erence between frames threshold to
quit the process state
0 R_RotateEnH 0x9F 4 0x01 R/W Rotate gesture detection enable
0 R_ZDirectionEnH 0x9F 5 0x01 R/W Backward and forward gesture detection enable
0 R_YDirectionEnH 0x9F 6 0x01 R/W Up and down gesture detection enable
0 R_XDirectionEnH 0x9F 7 0x01 R/W Left and right gesture detection enable
0 R_FilterImage 0xA5 0 0x01 R/W Refer to R_FilterAverage_Mode
21
0 R_FilterAverage_Mode 0xA5 3:2 0x00 R/W Image  lter mode
0: Weak average
1: Strong average
2: 3 out of 9 median average
0 R_UseLightWeight 0xA5 4 0x01 R/W Use pixel brightness as weight to calculate center enable
0 R_Di AngleThd 0xA9 3:0 0x04 R/W Frame angle accumulation threshold
0 ObjectCenterX 0xAC 7:0 - R Low byte of horizontal object center
0 ObjectCenterX 0xAD 4:0 - R High byte of horizontal object center
0 ObjectCenterY 0xAE 7:0 - R Low byte of vertical object center
0 ObjectCenterY 0xAF 4:0 - R High byte of vertical object center
0 ObjectAvgY 0xB0 7:0 - R Object brightness, maximum = 255
0 ObjectSize 0xB1 7:0 - R Low byte of object size, maximum = 900
0 ObjectSize 0xB2 3:0 - R High byte of object size, maximum = 900
0 Gx 0xB3 5:0 - R Gesture x direction movement
0 Gy 0xB4 5:0 - R Gesture y direction movement
0 Gz 0xB5 6:0 - R Gesture z direction movement
0 GestureResult 0xB6 3:0 - R Gesture result
1: Up
2: Down
3: Left
4: Right
5: Forward
6: Backward
7: Clockwise
8: Counterclockwise
9: Wave
10: N/A
0 State 0xB6 5:4 - R DSP FSM state
0: Initial
1: Process
2: End
0 WaveCount 0xB7 3:0 - R Wave gesture counter
0 AbortCount 0xB7 6:4 - R Abort gesture counter
0 NoObjectCount 0xB8 7:0 - R No object counter
0 NoMotionCount 0xB9 7:0 - R No motion counter
0 LightCount 0xBA 5:0 - R Bright object counter
0 LightAcc 0xBB 7:0 - R Low byte of object brightness accumulation
0 LightAcc 0xBC 1:0 - R High byte of object brightness accumulation
0 TimeAcc 0xBD 7:0 - R Low byte of gesture time period
0 TimeAcc 0xBE 4:0 - R High byte of gesture time period
0 AngleAcc 0xC7 7:0 - R Low byte of gesture angle accumulation
0 AngleAcc 0xC8 2:0 - R High byte of gesture angle accumulation
0 XGainValue 0xCA 7:0 - R 45 degree gesture detection x direction parameter
0 YGainValue 0xCB 7:0 - R 45 degree gesture detection y direction parameter
0 R_YtoZSum 0xCC 5:0 0x1A R/W Z direction mapping parameter
0 R_YtoZFactor 0xCD 5:0 0x0D R/W Z direction mapping parameter
0 R_PositionFilterLength 0xCE 2:0 0x03 R/W IIR  lter length for cursor object center
0 R_ProcessFilterLength 0xCE 6:4 0x00 R/W IIR  lter length for gesture object center
0 R_WaveCountThd 0xCF 3:0 0x03 R/W Wave gesture counter threshold
0 R_WaveAngleThd 0xCF 7:4 0x06 R/W Wave gesture angle threshold
0 R_AbortCountThd 0xD0 2:0 0x22 R/W Abort gesture counter threshold
0 R_AbortXYRatio 0xD0 7:3 R/W Abort gesture x and y direction ratio
0 R_AbortLength 0xD1 6:0 0x0F R/W Abort gesture movement distance threshold
0 R_AbortIntervalCountThd 0xD2 5:0 0x88 R/W Abort gesture gap duration threshold
0 R_Con rmMode 0xD2 6 R/W Con rm mode enable

APDS-9500

Mfr. #:
Manufacturer:
Broadcom / Avago
Description:
Proximity Sensors Imaging Gesture and Proximity Sensor
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet