-
Notifications
You must be signed in to change notification settings - Fork 118
Description
Hi Team,
I hope you're doing well.
I’ve successfully integrated the MPU6050 sensor with the MAX78000FTHR board and verified continuous data acquisition.
Now, I'm working on interfacing the MAX30102 heart rate sensor with the same board. The sensor initializes correctly, and I am able to read the first set of IR and RED values successfully. However, after the initial reading, the code stalls, and no further data is retrieved.
I’ve verified the I2C setup and FIFO read logic, and I suspect the issue might be related to interrupt handling or I2C buffering, but I haven’t been able to resolve it.
Could you please help me debug this issue or guide me toward any working examples or suggestions?
Any assistance would be greatly appreciated.
Thank you!
-Below is the attached code file.
MAX30201.txt
With the above code, I am getting this output: It gets stuck at uint8_t int_status when the second iteration comes.
System Init
Checking MAX30102...
MAX30102 detected! PART ID = 0x15
Configuring MAX30102...
start
start1
start2
FIFO read complete with ret = 0
IR: 34, RED: 34
Done
start