Other Parts Discussed in Thread: ADS1292,
Hello,
I've got the ADS1292R up and going on my PCB. Here are the register settings that I'm using:
define _ADS_CONFIG1_REG 0x01 //CONFIG1, Continous Conversion mode,DR[2:0}=001=fsample=fdr==250, DR[2:0}=010=fsample=fdr==500,
#define _ADS_CONFIG2_REG 0xa0 //CONFIG2, leadoff=off,refernce buff enable,Vref=2.42V
#define _ADS_LOFF_REG 0xF0 //LOFF, leadoff threshold=70%-30%,dc leadoff detect
#define _ADS_CH1SET_REG 0x10 //CH1SET, PGA gain = 1,normal elctrod connection
#define _ADS_CH2SET_REG 0x40 //CH2SET, PGA gain = 4,normal elctrod connection
#define _ADS_RLD_SENS_REG 0xA0 //RLD_SENS, chop fre=128/2=64K,RLD buff=0n,RLD_leaDOFF_sens=OFF, no ch to RLD
#define _ADS_LOFF_SENS_REG 0x00 //LOFF_SENS, inputs for leadoff detect= disconn
#define _ADS_LOFF_STAT_REG 0x00 //LOFF_STAT, Fclk=512K, RLD connected, electrod connected.
#define _ADS_RESP1_REG 0xe2 //RESP1, Respiration on, 90 Deg resp phase
#define _ADS_RESP2_REG 0x03 //RESP2, f_respiration=32K,internal RLDREF=0n,
#define _ADS_GPIO_REG 0x04 //GPIO, GPIO2=output,GPIO1=input
In my application, my microcontroller writes the measured ECG/ICG to a flash memory which I can later download and view. For this, I have an interrupt which fires on the falling edge of DRDY. If I setup a patient simulator to output a 1mV pk-pk 5 Hz sine wave, the ECG looks fine. However if I put my patient simulator in series with a "box that simulates ICG", glitches occur at various points in my ECG and ICG waveforms, see example below (ECG top, ICG bottom vs time).
For this SCLK = 263.2 kHz (measured on oscilloscope). Over a 30 minute period, 3-4 glitches occur. Any suggestions?
Thanks in advance for your help,
Regards,
Alan