Electronic Components Datasheet Search
  English  ▼

X  

ADPD188GG Datasheet(PDF) 25 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) 25 Page - Analog Devices

Back Button ADPD188GG Datasheet HTML 21Page - Analog Devices ADPD188GG Datasheet HTML 22Page - Analog Devices ADPD188GG Datasheet HTML 23Page - Analog Devices ADPD188GG Datasheet HTML 24Page - Analog Devices ADPD188GG Datasheet HTML 25Page - Analog Devices ADPD188GG Datasheet HTML 26Page - Analog Devices ADPD188GG Datasheet HTML 27Page - Analog Devices ADPD188GG Datasheet HTML 28Page - Analog Devices ADPD188GG Datasheet HTML 29Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 25 / 61 page
background image
Data Sheet
ADPD188GG
Rev. B | Page 25 of 61
To calibrate the 32 kHz clock,
1.
Set the sampling frequency to the highest the system can
handle, such as 2000 Hz. Because the 32 kHz clock
controls sample timing, its frequency is readily accessible
via the GPIO0 pin. Configure the interrupt by writing the
appropriate value to Bits[2:0] in Register 0x02 and set the
interrupt to occur at the sampling frequency by writing
0x0 to Register 0x01, Bit 5 or Bit 6. Monitor the GPIO0 pin.
The interrupt frequency must match the set sample
frequency.
2.
If the monitored interrupt frequency is less than the set
sampling frequency, decrease the CLK32K_ADJUST bits
(Register 0x4B, Bits[5:0]). If the monitored interrupt
frequency is larger than the set sampling frequency,
increase the CLK32K_ADJUST bits.
3.
Repeat Step 1 until the monitored interrupt signal
frequency is close to the set sampling frequency.
Calibrating the 32 MHz Clock
This procedure calibrates items associated with the fine timing
within a sample period, such as LED pulse width and spacing,
and assumes that the 32 kHz clock is already calibrated.
To calibrate the 32 MHz clock,
1.
Write 0x1 to Register 0x5F, Bit 0.
2.
Enable the CLK_RATIO calculation by writing 0x1 to
Register 0x50, Bit 5 (CLK32M_CAL_EN). This function
counts the number of 32 MHz clock cycles in two cycles of
the 32 kHz clock. With this function enabled, this value is
stored in Register 0x0A, Bits[11:0] and nominally this ratio
is 2000 (0x07D0).
3.
Calculate the 32 MHz clock error as follows:
Clock Error = 32 MHz × (1 − CLK_RATIO/2000)
4.
Adjust the frequency by setting Bits[7:0] in Register 0x4D
per the following equation:
CLK32M_ADJUST = Clock Error/109 kHz
5.
Write 0x0 to Register 0x50, Bit 5 to reset the CLK_RATIO
function.
6.
Repeat Step 1 through Step 5 until the desired accuracy is
achieved.
7.
Write 0x1 to Register 0x5F, Bit 0, and set the GPIO0 pin
back to the mode desired for normal operation.
OPTIONAL TIMING SIGNALS AVAILABLE ON
GPIO0 AND GPIO1
The ADPD188GG provides a number of different timing
signals, available via the GPIO0 and GPIO1 pins, to enable ease
of system synchronization and flexible triggering options. Each
GPIOx pin can be configured as an open-drain output if they
are sharing the bus with other drivers, or they can be
configured to always drive the bus. Both outputs also have
polarity control in situations where a timing signal must be
inverted from the default.
Table 16. GPIOx Control Settings
Pin Name
Register, Bits
Setting Description
GPIO0
0x02, Bit 0
0: polarity active high
1: polarity active low
0x02, Bit 1
0: always drives the bus
1: drives the bus when asserted
0x02, Bit 2
0: disables the GPIO0 pin drive
1: enables the GPIO0 pin drive
GPIO1
0x02, Bit 8
0: polarity active high
1: polarity active low
0x02, Bit 9
0: always drives the bus
1: drives the bus when asserted
0x4F, Bit 6
0: disables the GPIO1 pin drive
1: enables the GPIO1 pin drive
The various available timing signals are controlled by the
settings in Register 0x0B, Bits[12:8] of this register control the
timing signals available on GPIO1, and Bits[4:0] control the
timing signals available on GPIO0. All of the timing signals
described in this data sheet are available on either (or both) of
the GPIO0 and GPIO1 pins. Timing diagrams are shown in
Figure 27 and Figure 28. The time slot settings used to generate
the timing diagrams are described in Table 17.
Table 17. ADPD188GG Settings Used for the Timing
Diagrams Shown in Figure 27 and Figure 28
Register
Setting
Description
0x31
0x0118
Time Slot A: 1 LED pulse
0x36
0x0418
Time Slot B: 4 LED pulses
0x15
0x0120
Time Slot A decimation = 4, Time Slot B
decimation = 2
SLOT A
SLOT B
SLOT B
SLOT A
SLEEP
Figure 27. Optional Timing Signals Available on GPIOx—Register 0x0B, Bits[12:8] or Bits[4:0] = 0x02, 0x05, 0x06, 0x07, and 0x0F



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