I'm using the maxim firmware available to estimate the spo2 and hr from MAX30102. From what I have analyzed, they're reading sample by sample from the sensor. I would like to understand how would I first read the 32 samples from its fifo and then save them in my buffer.
I have this now, but how can I update the read and write pointers, in order to do not mix sample data etc.