
1. Read ADS1x9x data
2. Process raw data
3. Compute HR and RR.
4. Stream data to PC
application through
USB.
5. Update status on
LED.
1. Update/read reg.
2. Interface with PC
app.
3. Update status
LED’s
Main loop : States
USB Receive
and Transmit
DMA Handler
ADS1292R REG
Configuration
ADS1292R Data
streaming
ADS1292R Data
dumping
ADS1292R Firmware
upgrade
1. Read packet from
memory.
2. Transfer data to PC
application through
USB.
3. Update Status on
LED’s.
1. Force firmware
to BSL code.
2. Upgrade
Firmware.
3. Reset firmware.
Initialize Peripherals
&
System parameters.
Start
ADS1292R
DRDY interrupt
.
1. Monitor user
commands.
ADS1292R IDLE
ADS1292R
SPI interrupt .
ADS1292R Data
Recording
1. Read ADS1292R data
2. Filter raw ECG data
3. Compute HR and RR.
4. Store packet to memory.
5. Update status on LED.
www.ti.com
Evaluation of ECG and Respiration Specific Functions
Figure 35. Firmware Architecture
The PC application consists of a LabVIEW front-end GUI with a back-end DLL written using C++. The DLL
interfaces with the Windows USB driver and communicates to the demonstration kit. The LabVIEW front
end GUI uses function calls to communicate with the demonstration kit through the DLL.
There are two general operating modes available in the system.
1. Evaluation Mode (Analysis Mode)
2. Live Data Streaming Mode
6.1
Evaluation Mode (Analysis Mode)
The Analysis Mode is used for the following requests:
1. Register setting
2. Register read
3. Data acquire
Firmware configures the ADC registers with default values during power on. Users can change the
register settings through the PC application GUI. The register setting request from the PC is processed by
the firmware and the appropriate register set command will be sent to the ADC.
During the data acquire request, the firmware will process the number of samples to be acquired as set in
the GUI. The firmware instructs the ADC to start the data conversion in continuous mode. Based on the
sampling rate configured, the ADC generates data ready pulses (DRDY) which are used by the micro-
controller to indicate when to read data back. The data is stored in the onboard flash memory and later
sent to the PC application in individual packets. Each packet contains 8 samples which are 24bits in
length.
31
SLAU384A – December 2011 – Revised April 2012
ADS1x9xECG-FE Demonstration Kit
Submit Documentation Feedback
Copyright © 2011–2012, Texas Instruments Incorporated