Datasheet
Data Sheet ADAS1000-3/ADAS1000-4
Rev. A | Page 69 of 76
INTERFACE EXAMPLES
The following examples show register commands required
to configure the ADAS1000-3/ADAS1000-4 devices into
particular modes of operation and to start framing ECG data.
Example 1: Initialize the Device for ECG Capture and
Start Streaming Data
1. Write 1 configures the CMREFCTL register for CM =
WCT = (LA + LL + RA)/3; RLD is enabled onto the
RLD_OUT electrode. The shield amplifier is enabled.
2. Write 2 configures the FRMCTL register to output seven
words per frame/packet. The frame/packet of words
consist of the header, three ECG words, pace, respiration
magnitude, and lead-off. The frame is configured to
always send, irrespective of ready status. The device
is in vector format mode with a data rate of 2 kHz.
3. Write 3 addresses the ECGCTL register, enabling all
channels into a gain of 1.4, low noise mode, and differen-
tial input, which configures the device for analog lead
mode. This register also configures the device as a master,
using the external crystal as the input source to the XTALx
pins. The device is also put into conversion mode in this
write.
4. Write 4 issues the read command to start putting the
converted data out on the SDO pin.
5. Continue to issue SCLK cycles to read the converted data
at the configured packet data rate (2 kHz). The SDI input
should be held low when reading back the conversion
data because any commands issued to the interface during
read of frame/packet are understood to be a change of
configuration data and will stop the ADC conversions
to allow the interface to process the new command.
Example 2: Enable Respiration and Stream Conversion
Data (Applies to ADAS1000-4 Only)
1. Write 1 configures the RESPCTL register with a 56 kHz
respiration drive signal, gain = 1, driving out through
the respiration capacitors and measuring on Lead I.
2. Write 2 issues the read command to start putting the
converted data out on the SDO pin.
3. Continue to issue SCLK cycles to read the converted data
at the configured packet data rate.
4. Note that this example assumes that the FRMCTL register
has already been configured such that the respiration
magnitude is available in the data frame, as arranged in
Write 2 of Example 1.
Example 3: DC Lead-Off and Stream Conversion Data
1. Write 1 configures the LOFFCTL register with a dc lead-off
enabled for a lead-off current of 50 nA.
2. Write 2 issues the read command to start putting the
converted data out on the SDO pin.
3. Continue to issue SCLK cycles to read the converted
data at the configured packet data rate.
4. Note that this example assumes that the FRMCTL register
has already been configured such that the dc lead-off word
is available in the data frame, as arranged in Write 2 of
Example 1.
Table 54. Example 1: Initialize the Device for ECG Capture and Start Streaming Data
Write Command Register Addressed Read/Write Bit Register Address Data 32-Bit Write Command
Write 1 CMREFCTL 1 000 0101 1110 0000 0000 0000 0000 1011 0x85E0000B
Write 2 FRMCTL 1 000 1010 0001 1111 1001 0110 0000 0000 0x8A1F9600
Write 3 ECGCTL 1 000 0001 1110 0000 0000 0100 1010 1110 0x81E004AE
Write 4 FRAMES 0 100 0000 0000 0000 0000 0000 0000 0000 0x40000000
Table 55. Example 2: Enable Respiration and Stream Conversion Data (Applies to ADAS1000-4 Only)
Write Command Register Addressed Read/Write Bit Register Address Data 32-Bit Write Command
Write 1 RESPCTL 1 000 0011 0000 0000 0010 0000 1001 1001 0x83002099
Write 2 FRAMES 0 100 0000 0000 0000 0000 0000 0000 0000 0x40000000
Table 56. Example 3: Enable DC Lead-Off and Stream Conversion Data
Write Command Register addressed Read/Write Bit Register Address Data 32-Bit Write Command
Write 1 LOFFCTL 1 000 0010 0000 0000 0000 0000 0001 0101 0x82000015
Write 2 FRAMES 0 100 0000 0000 0000 0000 0000 0000 0000 0x40000000