I am developing a project using nRF52832 and PAH8011ET heart rate sensor.
I am using this library https://os.mbed.com/users/pixus_mbed/code/PixArt_PAH8011_HeartRate_nRF52/
The heart rate sensor is working but the problem is that the controller doesn't go into low power with this library.
There is a file, pixart_heart_rate.cpp file, and in that a deque is being used. If I comment out that deque.push_back line, the controller does go into low power, but with that line uncommented, the controller doesn't go into low power.
The same thing happens if I use the fopen and fclose functions. If these functions are present in the code, the controller won't go into low power. I have found a workaround for this and now using the open and close functions, with these the controller does go in low power.
I am using mBed CLI with ARM v5 compiler and the release profile.
Does anyone has any idea why this is happening?
Thank you
I am developing a project using nRF52832 and PAH8011ET heart rate sensor.
I am using this library https://os.mbed.com/users/pixus_mbed/code/PixArt_PAH8011_HeartRate_nRF52/
The heart rate sensor is working but the problem is that the controller doesn't go into low power with this library.
There is a file, pixart_heart_rate.cpp file, and in that a deque is being used. If I comment out that deque.push_back line, the controller does go into low power, but with that line uncommented, the controller doesn't go into low power.
The same thing happens if I use the fopen and fclose functions. If these functions are present in the code, the controller won't go into low power. I have found a workaround for this and now using the open and close functions, with these the controller does go in low power.
I am using mBed CLI with ARM v5 compiler and the release profile.
Does anyone has any idea why this is happening?
Thank you