Hi all,
我使用TI的ADS1292 ECG芯片来检测心率, 当然是基于TI的EVM板来做的, 可是没法得到稳定的心率值, 心率值变化非常快, 范围是0~250。 但是, TI的EVM板是可以获得较稳定的心率值。因此, 最近在找原因,
1. 对比过CH2的状态寄存器为(0xc0), 与datasheet一致, 这表明samples是有效的。
2. 与TI的EVM板的寄存器配置Reg Map对比, 也是一致的(在此就不列出)。
3. 对比QRS算法, 用的算法是TI提供的代码, 未作任何改动。
不知是哪里的原因, 各位高人有什么高见?
另外, 本人用TI的CCS Studio V5.2.1.00018 来打开TI的demo 工程文件(ADS1x9x_ECG_Recorder_FW), 编译有很多错误, 如下:
"../SRC/ADS1x9x.c", line 527: error: identifier "UCB0STAT" is undefined
>> Compilation failure
"../SRC/ADS1x9x.c", line 527: error: identifier "UCBUSY" is undefined
"../SRC/ADS1x9x.c", line 530: error: identifier "UCB0RXBUF" is undefined
"../SRC/ADS1x9x.c", line 908: error: identifier "USCI_B0_VECTOR" is undefined
"../SRC/ADS1x9x.c", line 911: error: identifier "UCB0IV" is undefined
"../SRC/ADS1x9x.c", line 918: error: identifier "UCB0RXBUF" is undefined
"../SRC/ADS1x9x.c", line 922: error: identifier "UCB0IE" is undefined
"../SRC/ADS1x9x.c", line 922: error: identifier "UCRXIE" is undefined
"../SRC/ADS1x9x.c", line 928: error: identifier "UCB0TXBUF" is undefined
"../SRC/ADS1x9x.c", line 937: error: identifier "PORT1_VECTOR" is undefined
"../SRC/ADS1x9x.c", line 940: error: identifier "P1IFG" is undefined
"../SRC/ADS1x9x.c", line 940: error: identifier "BIT1" is undefined
"../SRC/ADS1x9x.c", line 943: error: identifier "UCB0RXBUF" is undefined
谁知道如何打开和编译这个DEMO project?
Thanks a lot