English
Language : 

NOA3302 Datasheet, PDF (15/23 Pages) ON Semiconductor – Digital Proximity Sensor
NOA3302
PS_INTERVAL Register (0x16)
The PS_INTERVAL register sets the wait time between
consecutive proximity measurements in PS_Repeat mode.
The register is binary weighted times 5 in milliseconds with
the special case that the register value 0x00 specifies 5 ms.
The range is therefore 5 ms to 1.28 s. The default startup
value is 0x0A (50 ms).
Table 15. PS_INTERVAL REGISTER (0x16)
Bit
7
6
5
4
3
2
1
0
Field
interval
Field
Interval
Bit
Default
7:0
0x0A
0x01 to 0xFF
Description
Interval time between measurement cycles. Binary weighted value
times 5 ms plus a 5 ms offset.
PS_CONTROL Register (0x17)
The PS_CONTROL register is used to control the
functional mode and commencement of proximity sensor
measurements. The proximity sensor can be operated in
either a single shot mode or consecutive measurements
taken at programmable intervals.
Table 16. PS_CONTROL REGISTER (0x17)
Bit
7
6
5
4
Field
NA
Both single shot and repeat modes consume a minimum
of power by immediately turning off LED driver and sensor
circuitry after each measurement. In both cases the quiescent
current is less than the IDDSTBY parameter. These automatic
power management features eliminate the need for power
down pins or special power down instructions.
3
2
1
0
PS_Repeat PS_OneShot
Field
NA
PS_Repeat
PS_OneShot
Bit
Default
Description
7:2
XXXXXX Don’t care
1
0
Initiates new measurements at PS_Interval rates
0
0
Triggers proximity sensing measurement. In single shot mode this bit clears
itself after cycle completion.
ALS_TH Registers (0x20 – 0x23)
With hysteresis not enabled (see ALS_CONFIG register),
the ALS_TH registers set the upper and lower interrupt
thresholds of the ambient light detection window. Interrupt
functions compare these threshold values to data from the
ALS_DATA registers. Measured ALS_DATA values
outside this window will set an interrupt according to the
INT_CONFIG register settings.
With hysteresis enabled, threshold settings take on a
different meaning. If the ALS_hyst_trig is set, the
ALS_TH_UP register sets the upper threshold at which an
interrupt will be set, while the ALS_TH_LO register then
sets the lower threshold hysteresis value where the interrupt
would be cleared. Setting the ALS_hyst_trig low reverses
the function such that the ALS_TH_LO register sets the
lower threshold at which an interrupt will be set and the
ALS_TH_UP represents the hysteresis value at which the
interrupt would be subsequently cleared. Hysteresis
functions only apply in “auto_clear” INT_CONFIG mode.
Table 17. ALS_TH_UP REGISTERS (0x20 – 0x21)
Bit
7
6
5
4
3
2
1
0
Field
ALS_TH_UP_MSB(0x20), ALS_TH_UP_LSB(0x21)
Field
ALS_TH_UP_MSB
ALS_TH_UP_LSB
Bit
Default
Description
7:0
0xFF
Upper threshold for ALS detection, MSB
7:0
0xFF
Upper threshold for ALS detection, LSB
http://onsemi.com
15