Datasheet

ADAS1000/ADAS1000-1/ADAS1000-2 Data Sheet
Rev. A | Page 52 of 80
SECONDARY SERIAL INTERFACE
This second serial interface is an optional interface that can
be used for the user’s own pace detection purposes. This
interface contains ECG data at 128 kHz data rate only. If using
this interface, the ECG data is still available on the standard
interface discussed previously at lower rates with all the
decimation and filtering applied. If this interface is inactive,
it draws no power.
Data is available in 16-bit words, MSB first.
This interface is a master interface, with the ADAS1000/
ADAS1000-1 providing the SCLK,
CS
, SDO. Is it shared
across some of the existing GPIO pins as follows:
GPIO1/MSCLK
GPIO0/
MCS
GPIO2/MSDO
This interface can be enabled via the GPIO register (see
Table 31).
Figure 78. Master SPI Interface for External Pace Detection Purposes
The data format of the frame starts with a header word and five
ECG data-words, and completes with the same CRC word as
documented in Table 22 for the 128 kHz rate. All words are
16 bits. MSCLK runs at approximately 20 MHz and
MCS
is
asserted for the entire frame with the data available on MSDO
on the falling edge of MSCLK. MSCLK idles high when
MCS
is
deasserted.
Table 23. Master SPI Frame Format; All Words are 16 Bits
Header Lead
I/LA
Lead
II/LL
Lead
III/RA
V1’/V1 V2’/V2 CRC
The header word consists of four bits of all 1s followed by a 12-
bit sequence counter. This sequence counter increments after
every frame is sent, thereby allowing the user to tell if any
frames have been missed and how many.
RESET
There are two methods of resetting the ADAS1000/ADAS1000-1/
ADAS1000-2 to power-on default. Bringing the
RESET
line low
or setting the SWRST bit in the ECGCTL register (Table 26)
resets the contents of all internal registers to their power-on
reset state. The falling edge of the
RESET
pin initiates the reset
process;
DRDY
goes high for the duration, returning low when
the
RESET
process is complete. This sequence takes 1.5 ms
maximum. Do not write to the serial interface while
DRDY
is
high handling a
RESET
command. When
DRDY
returns low,
normal operation resumes and the status of the
RESET
pin is
ignored until it goes low again. Software reset using the SWRST
bit (see Table 26) requires that a NOP (no operation) command
be issued to complete the reset cycle.
PD
FUNCTION
The
PD
pin powers down all functions in low power mode.
The digital registers maintain their contents. The power-down
function is also available via the serial interface (ECG control
register, see Table 26).
ADAS1000
MASTER SPI
SCLK
CS
MCS/GPIO0
MICROCONTROLLER/
DSP
MSDO/GPIO2MISO/GPIO
MSCLK/GPIO1
09660-035