The OLED Display on SPI communication Stops working after using pulse oximeter library

Someone, please help me with the below problem:
After using the library function "MAX32664.configAlgoInEstimationMode();" of pulse meter " Pulse Express Pulse-Ox & Heart Rate Sensor with MAX32664" in my program, it stops the OLED Display "Adafruit_SSD1306" which works on SPI communication.

Hi, is there any other component that is connected to your arduino? Along with this OLED display?

You're not giving us much to go on.

(This is not an installation or troubleshooting issue)

No, only I am using pulse oximeter at default i2c on Arduino A5, A6. and OLED from SPI Communication with pins, OLED_MOSI - 9, OLED_CLK - 10, OLED_DC - 11, OLED_CS -12 , OLED_RESET - 13.

Have another guess.

The whole setup part of my code is given below - Here when I uncomment the function "MAX32664.configAlgoInEstimationMode();" then OLED display not working and on Serial Monitor
the "Failed to display"

void setup() {

Serial.begin(9600);

//-----------------SSD1306_SWITCHCAPVCC = generate display voltage from 3.3V internally-------------
if (!display.begin(SSD1306_SWITCHCAPVCC)) {
Serial.println(F("SSD1306 allocation failed"));
for (;;); // Don't proceed, loop forever
}
//-----------------------------pulse sensor----------------------------------------------------------
Wire.begin();
//
loadAlgomodeParameters();
//
int result = MAX32664.hubBegin();
if (result == CMD_SUCCESS) {
Serial.println("Sensorhub begin!");
} else {
//stay here.
while (1) {
Serial.println("Could not communicate with the sensor! please make proper connections");
delay(5000);
}
}

bool ret = MAX32664.startBPTcalibration();
while (!ret) {
delay(10000);
Serial.println("failed calib, please retsart");
// ret = MAX32664.startBPTcalibration();
}

delay(1000);

//ret = MAX32664.configAlgoInEstimationMode(); <<<<<<<<<<< after uncommenting this function it stops the oled.
while (!ret) {
//Serial.println("failed est mode");
//ret = MAX32664.configAlgoInEstimationMode();
delay(10000);
}
//MAX32664.enableInterruptPin();
Serial.println("Getting the device ready..");
delay(1000);
}

Start here

Your topic was moved to its current location as it is more suitable.

Could you also take a few moments to Learn How To Use The Forum.

It will help you get the best out of the forum in the future.

Thank you

After removing the comment from below part of my code, The BP data stops showing on Serial Monitor but at this time I found two data of Spo2 and Heart Rate are showing on OLED.

//ret = MAX32664.configAlgoInEstimationMode();

I am unable to find my topic where it is moved?

I don't understand what you are asking, clearly you have found your topic as you have replied to it twice.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.