Electronic Components Datasheet Search
  English  ▼

X  

ADPD188GG Datasheet(PDF) 41 Page - Analog Devices

Part # ADPD188GG
Description  Integrated Optical Module with Ambient Light Rejection and Two LEDs
PDF  61 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  AD [Analog Devices]
Direct Link  http://www.analog.com
Logo AD - Analog Devices

ADPD188GG Datasheet(HTML) 41 Page - Analog Devices

Back Button ADPD188GG Datasheet HTML 37Page - Analog Devices ADPD188GG Datasheet HTML 38Page - Analog Devices ADPD188GG Datasheet HTML 39Page - Analog Devices ADPD188GG Datasheet HTML 40Page - Analog Devices ADPD188GG Datasheet HTML 41Page - Analog Devices ADPD188GG Datasheet HTML 42Page - Analog Devices ADPD188GG Datasheet HTML 43Page - Analog Devices ADPD188GG Datasheet HTML 44Page - Analog Devices ADPD188GG Datasheet HTML 45Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 41 / 61 page
background image
Data Sheet
ADPD188GG
Rev. B | Page 41 of 61
Monitoring Ambient Light Levels in Float LED Mode
In real-world applications, it is common for the ambient light
levels to change constantly. When using float LED mode,
increasing amounts of ambient light can approach levels where
it uses an unacceptable amount of the dynamic range of the
charge that can stored on the photodiode capacitance. For this
reason, it is required that the ambient light level is monitored
so that configuration changes can be made when necessary, for
example, float time, TIA gain, and operating mode. There are
two ways to monitor ambient light levels. One way is to use
TIA ADC mode in the alternate time slot and continuously
monitor the ambient light level. The other way is to use a
feature of the ADPD188GG where the ambient light level is
automatically monitored in the background during float mode
operation and is compared against a user-defined threshold. If
the ambient light level exceeds this threshold by some user-
defined number of times, a flag is set by the device that can be
read by the user or can be output to a GPIO. Table 25 lists all
the registers used to monitor the ambient light level while in
float LED mode.
The user sets an ambient level threshold in the BG_THRESH
register, which is the threshold by which the ADC result of the
subtract cycles in float LED mode are compared against. The
subtract cycles in float LED mode are the positions in the pulse
sequence in which the LED pulse is masked; therefore, it is the
background level measurement. The ADC result is equal to the
raw ADC output minus the contents of the ADC offset register
(Register 0x18 to Register 0x1B and Register 0x1E to
Register 0x21). In the BG_COUNT register, the user sets a limit
on the number of cycles that BG_THRESH is exceeded by the
ADC result before the BG_STATUS bit is set for any particular
channel. Every time the BG_THRESH value is exceeded by the
ADC result during a subtract cycle, an internal counter
increments. Each channel has its own counter. When this count
exceeds the limit set in the BG_COUNT register, the
BG_STATUS bit is set for the channel. The user can periodically
monitor the BG_STATUS register to check for asserted bits.
Alternatively, a GPIOx pin can be asserted if a BG_STATUS flag
is set. See Table 25 for the various logical combinations of
BG_STATUS flags and interrupts that can be brought out on a
GPIOx.
Table 25. Registers for Monitoring the Ambient Light Level in Float LED Mode
Float Mode Register Name
Register
Time Slot A
Time Slot B
Description
BG_STATUS_x
0x04, Bits[3:0]
0x04, Bits[7:4]
Status of comparison between background light level and background
threshold value (BG_THRESH). A 1 in any bit location means the threshold
has been crossed BG_COUNT number of times. This register is cleared once
it is read.
Bit 0: Time Slot A, Channel 1 exceeded threshold count.
Bit 1: Time Slot A, Channel 2 exceeded threshold count.
Bit 2: Time Slot A, Channel 3 exceeded threshold count.
Bit 3: Time Slot A, Channel 4 exceeded threshold count.
Bit 4: Time Slot B, Channel 1 exceeded threshold count.
Bit 5: Time Slot B, Channel 2 exceeded threshold count.
Bit 6: Time Slot B, Channel 3 exceeded threshold count.
Bit 7: Time Slot B, Channel 4 exceeded threshold count.
BG_THRESH_x
0x16, Bits[13:0]
0x1C[13:0]
The background threshold that is compared against the ADC result during
the subtract cycles during float mode. If the ADC result exceeds the value
in this register, BG_COUNT is incremented.
BG_COUNT_x
0x16, Bits[15:14]
0x1C[15:14]
This is the number of times the ADC value exceeds the BG_THRESH_x value
during the float mode subtract cycles before the BG_STATUS bit is set.
0x0: never set BG_STATUS.
0x1: set when BG_THRESH_x is exceeded 1 time.
0x02: set when BG_THRESH_x is exceeded 4 times.
0x03: set when BG_THRESH_x is exceeded 16 times.
GPIO0_ALT_CFG
0x0B[4:0]
0x0B[4:0]
GPIO0 asserts for the following conditions:
0x10: logical OR of BG_STATUS_x, Bits[3:0].
0x1A: logical OR of BG_STATUS_x, Bits[7:4].
0x1B: logical OR of BG_STATUS_x, Bits[7:0].
0x1C: logical OR of BG_STATUS_x, Bits[7:0] and INT.
GPIO1_ALT_CFG
0x0B[12:8]
0x0B[12:8]
GPIO1 asserts for the following conditions:
0x10: logical OR of BG_STATUS_x, Bits[3:0].
0x1A: logical OR of BG_STATUS_x, Bits[7:4].
0x1B: logical OR of BG_STATUS_x, Bits[7:0].
0x1C: logical OR of BG_STATUS_x, Bits[7:0] and INT.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com