Electronic Components Datasheet Search
  English  ▼

X  

ADPD144RI Datasheet(PDF) 17 Page - Analog Devices

Part # ADPD144RI
Description  PPG Optical Sensor Module with Integrated Red/IR Emitters and AFE
PDF  34 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  AD [Analog Devices]
Direct Link  http://www.analog.com
Logo AD - Analog Devices

ADPD144RI Datasheet(HTML) 17 Page - Analog Devices

Back Button ADPD144RI Datasheet HTML 13Page - Analog Devices ADPD144RI Datasheet HTML 14Page - Analog Devices ADPD144RI Datasheet HTML 15Page - Analog Devices ADPD144RI Datasheet HTML 16Page - Analog Devices ADPD144RI Datasheet HTML 17Page - Analog Devices ADPD144RI Datasheet HTML 18Page - Analog Devices ADPD144RI Datasheet HTML 19Page - Analog Devices ADPD144RI Datasheet HTML 20Page - Analog Devices ADPD144RI Datasheet HTML 21Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 34 page
background image
Data Sheet
ADPD144RI
Rev. A | Page 17 of 34
READING DATA
The ADPD144RI provides multiple methods for accessing the
sample data. Each time slot can be independently configured to
provide data access using the FIFO or the data registers. Interrupt
signaling is also available to simplify timely data access. The FIFO is
available to loosen the system timing requirements for data
accesses.
Reading Data Using the FIFO
The ADPD144RI includes a 128-byte FIFO memory buffer that
can be configured to store data from either or both time slots.
Register 0x11 selects the kind of data from each time slot to be
written to the FIFO. Note that both time slots can be enabled to use
the FIFO, but only if the output data rate of the time slots is the same.
Output Data Rate = fSAMPLE/NX
(4)
where:
NX is the averaging factor for each time slot (NA for Time Slot A
and NB for Time Slot B). NA = NB must be true to store data
from both time slots in the FIFO.
Data packets are written to the FIFO at the output data rate. A
data packet for the FIFO consists of a complete sample for each
enabled time slot. Data for each photodiode channel can be stored
as either 16 or 32 bits. Each time slot can store 2, 4, 8, or 16 bytes of
data per sample, depending on the mode and data format. To
ensure that data packets are intact, new data is only written to
the FIFO if there is sufficient space for a complete packet. Any
new data that arrives when there is not enough space is lost.
The FIFO continues to store data when sufficient space exists.
Always read FIFO data in complete packets to ensure that data
packets remain intact.
The number of bytes currently stored in the FIFO is available in
Register 0x00, Bits[15:8]. A dedicated FIFO interrupt is also
available and automatically generates when a specified amount
of data is written to the FIFO.
To read data from the FIFO using an interrupt-based method,
use the following procedure:
1. In program mode, configure time slots as required.
2. Set data format for each time slot in Register 0x11.
3. Set FIFO_THRESH in Register 0x06, Bits[13:8] to the
interrupt threshold. A recommended value for this is the
number of
16-bit words in a data packet, minus 1. Setting
FIFO_THRESH generates an interrupt when there is at
least one complete packet in the FIFO.
4. Enable the FIFO interrupt by writing a 0 to
FIFO_INT_MASK in Register 0x01, Bit 8. Configure the
interrupt pin (INT) by writing the appropriate value to the
bits in Register 0x02.
5. Enter normal operation mode by setting Register 0x10 to 0x2.
6. When an interrupt occurs, complete the following steps:
a. There is no requirement to read the FIFO_SAMPLES
register because the interrupt is generated only if there is
one or more full packet. Optionally, the interrupt routine
can check for the presence of more than one available
packet by reading this register.
b. Write 1 to FIFO_ACCESS_ENA, Register 0x5F, Bit 0
twice in two consecutive write operations.
c. Read a complete packet using one or more multiword
accesses using Register 0x60. Reading the FIFO
automatically frees the space for new samples.
d. Write 0 to FIFO_ACCESS_ENA, Register 0x5F, Bit 0.
The interrupt automatically clears when enough data is read
from the FIFO to bring the data level below the threshold.
To read data from the FIFO in a polling method, use the
following procedure:
1. In program mode, set the configuration of the time slots as
desired for operation.
2. Write Register 0x11 with the desired data format for each
time slot.
3. Enter normal operation mode by setting Register 0x10 to
0x02.
Next, begin the polling operations using the following
procedure:
1. Wait for the polling interval to expire.
2. Read the FIFO_SAMPLES bits (Register 0x00, Bits[15:8]).
3. If FIFO_SAMPLES ≥ the packet size, read a packet using
the following steps:
a. Write 1 to FIFO_ACCESS_ENA, Register 0x5F, Bit 0
twice in two consecutive write operations.
b. Read a complete packet using one or more multiword
accesses via Register 0x60. Reading the FIFO
automatically frees the space for new samples.
c. Write 0 to FIFO_ACCESS_ENA, Register 0x5F, Bit 0.
d. Repeat Step 1.
When a mode change is required, or any other disruption to
normal sampling is necessary, the FIFO must be cleared. Use
the following procedure to clear the state and empty the FIFO:
1. Enter program mode by setting Register 0x10 to 0x1.
2. Write 1 to FIFO_ACCESS_ENA, Register 0x5F, Bit 0 twice
in two consecutive write operations.
3. Write 1 to Register 0x00, Bit 15.
4. Write 0 to FIFO_ACCESS_ENA, Register 0x5F, Bit 0.



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


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