User Manual

16
1x to 8x using the GGAIN control bits. Oset correction is
accomplished by individual adjustment to GOFFSET_U,
GOFFSET_D, GOFFSET_L, GOFFSET_R registers to improve
cross-talk performance. The analog circuitry of the device
applies oset values as a subtraction to the signal accu-
mulation; therefore a positive oset value has the eect of
decreasing the results.
Optically, the IR emission appears as a pulse train. The
number of pulses is set by the GPULSE bits and the period
of each pulse is adjustable using the GPLEN bits. Pulse
train repetition (i.e. the circular ow of operation inside
the gesture state machine) can be delayed by setting a
non-zero value in the gesture wait time bits, GWTIME. The
inclusion of a wait state reduces the both the power con-
sumption and the data rate.
The intensity of the IR emission is selectable using the
GLDRIVE control bits; corresponding to four, factory cali-
brated, current levels. If a higher intensity is required (E.g.
longer detection distance or device placement beneath
dark glass) then the LEDBOOST bit can be used to boost
current up to an additional 300%.
The current consumption of the integrated IR LED is shown
in Table 5. (Three examples at various LED drive settings)
Table 5. Simplied Power Calculation
Case 1 Case 2 Case 3
ILED (mA)
100 150 300
GPULSE (no of pulses)
8 8 8
GPLEN (us)
16 16 32
GWTIME (No of wait state)
2 2 1
Total Current (mA)
3.76 5.49 16.14
Gesture results are aected by three fundamental factors:
IR LED emission, IR reception, and environmental factors,
including motion.
During operation, the Gesture engine is entered when
its enable bit, GEN, and the operating mode bit, GMODE,
are both set. GMODE can be set/reset manually, via I²C, or
becomes set when proximity results, PDATA, is greater or
equal to the gesture proximity entry threshold, GPENTH.
Exit of the gesture engine will not occur until GMODE is
reset to zero. During normal operation, GMODE is reset
when all 4-bytes of a gesture dataset fall below the exit
threshold, GEXTH, for GEXPERS times. This exit condi-
tion is also inuenced by the gesture exit mask, GEXMSK,
which includes all non-masked datum (i.e. singular 1-byte
U, D, L, R points). To prevent premature exit, a persistence
lter is also included; exit will only occur if a consecutive
number of below-threshold results is greater or equal to
the persistence value, GEXPERS. Each dataset result that
is above-threshold will reset the persistence count. False
or incomplete gestures (engine entry and exit without
GVALID transitioning high) will not generate a gesture in-
terrupt, GINT, and FIFO data will automatically be purged.
Once in operating inside the gesture engine, the IR recep-
tion signal path begins with IR detection at the photodi-
odes and ends with the four, 8-bit gesture results corre-
sponding to accumulated signal strength on each diode.
Signal from the four photodiodes is amplied, and oset
adjusted to optimize performance. Photodiodes are paired
to form two signal paths: UP/DOWN and LEFT/RIGHT. Pho-
todiode pairs can be masked to exclude its results from the
gesture FIFO data. For example, if only UP-DOWN motions
detection is required the gesture dimension control bits,
GDIMS, may be set to 0x01. FIFO data will be zero for
RIGHT/LEFT results and accumulation/ADC integration
time will be approximately halved. Gain is adjustable from