// General config register setting MAX30003::GeneralConfiguration_u CNFG_GEN_r; CNFG_GEN_r.bits.en_ecg = 1; // Enable ECG channel CNFG_GEN_r.bits.rbiasn = 1; // Enable resistive bias on negative input CNFG_GEN_r.bits.rbiasp = 1; // Enable resistive bias on positive input CNFG_GEN_r.bits.en_rbias = 1; // Enable resistive bias CNFG_GEN_r.bits.imag = 2; // Current magnitude = 10nA CNFG_GEN_r.bits.en_dcloff = 1; // Enable DC lead-off detection ecgAFE.writeRegister( MAX30003::CNFG_GEN , CNFG_GEN_r.all);
Dependencies: MAX30003 max32630fthr
History
Thread_Test;
2021-05-06, by kidecha_rahul [Thu, 06 May 2021 14:15:35 +0000] rev 8
Thread_Test;
Added a debug LED to turn on when FIFO overflow happens ;
2017-12-14, by johnGreeneMaxim [Thu, 14 Dec 2017 21:42:36 +0000] rev 7
Added a debug LED to turn on when FIFO overflow happens ;
updated comments, added ECG FIFO bitmasks and EINT interrupt bitmask
2017-08-29, by coreyharris [Tue, 29 Aug 2017 20:27:26 +0000] rev 6
updated comments, added ECG FIFO bitmasks and EINT interrupt bitmask
update the FIFO interrupt flag
2017-08-28, by coreyharris [Mon, 28 Aug 2017 20:57:10 +0000] rev 5
update the FIFO interrupt flag
Plot demo final, updated comments, var names
2017-08-28, by coreyharris [Mon, 28 Aug 2017 16:09:51 +0000] rev 4
Plot demo final, updated comments, var names
Comments, formatting, constants (done after code review).; ; Still to-do:; - BPM and RtoR reading/constants
2017-08-22, by coreyharris [Tue, 22 Aug 2017 21:40:49 +0000] rev 3
Comments, formatting, constants (done after code review).; ; Still to-do:; - BPM and RtoR reading/constants
Read status register to determine the interrupt. Attempt to get R-to-R working, but no-go. The program works however, and prints ECG FIFO data;
2017-08-18, by coreyharris [Fri, 18 Aug 2017 17:37:07 +0000] rev 2
Read status register to determine the interrupt. Attempt to get R-to-R working, but no-go. The program works however, and prints ECG FIFO data;
Updated demo to include ETAG monitoring;
2017-08-17, by coreyharris [Thu, 17 Aug 2017 19:56:40 +0000] rev 1
Updated demo to include ETAG monitoring;
Stable demo for MAX30003, need to add ETAG monitoring if possible
2017-08-16, by coreyharris [Wed, 16 Aug 2017 22:59:59 +0000] rev 0
Stable demo for MAX30003, need to add ETAG monitoring if possible