This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

source code for Pulse Transit time between ECG and PPG

Other Parts Discussed in Thread: MSP430F5529, ENERGIA, OPT101, ADS1292

Hello everyone,

I had acquired both the ECG and PPG signals. i need to calculate pulse transit time(PTT) between ECG R wave peak and PPG peak. To calculate PTT am using the timer of MSP430F5529 microcontroller. Am setting the threshold value for ECG signal and attaching the interrupt to rising edge of the PPG signal. Timer starts checking for R wave peak of ECG signal, once the R wave peak goes above threshold level, timer should start and simultaneously checks for interrupt. if intrrupt occurs, the timer should stop. the value in timer is converted to milliseconds


Could any please help me to write the source code for PTT calculation in Energia. Am using MSP430F5529 LaunchPad

i had attached the image of PTT calculation

please kindly help

thank you