4 years, 6 months ago.

How acquire signal from MAX30001 with stm32 board?

Hello, this is my first question on this site. I wold acquire the output signal of MAX30001 whit a stm32 board. I have create a project into mbed complier and import MAX30001.h and MAX30001.cpp. Now i want create a main for read the signal with spi. First i call the funtion int MAX30001::max30001_CAL_InitStart(uint8_t En_Vcal, uint8_t Vmode, uint8_t Vmag, uint8_t Fcal, uint16_t Thigh, uint8_t Fifty) and then i start ecg with int MAX30001::max30001_ECG_InitStart(uint8_t En_ecg, uint8_t Openp, uint8_t Openn, uint8_t Pol, uint8_t Calp_sel, uint8_t Caln_sel, uint8_t E_fit, uint8_t Rate, uint8_t Gain,uint8_t Dhpf, uint8_t Dlpf)? If, this two function return 0 if no error, but where is my value? Sorry for my bad English

1 Answer