Hello, everyone. I am an undergraduate student majoring in Mechanical Engineering in South Korea.
I am currently working on a research project to develop a PPG sensor using the nRF52832 and the MAX30102 via I2C communication. Let me explain my setup in detail.
I am using an nRF52 DK and a custom PCB that I designed. I connect the DK to my PCB (power and GPIO pins), and I flash Zephyr-based firmware through VS Code.
Now, I will describe the PCB configuration.
As mentioned in the title, the MCU is an nRF52832 and the connected sensor is a MAX30102. The GPIO connections between the MCU and the sensor are:
-
INT: P0.19
-
SDA: P0.20
-
SCL: P0.20
I chose these pins in order to minimize the PCB size as much as possible, so I would appreciate your understanding.
The current issue is that I2C communication between the MCU and the sensor does not work at all. I already changed the pin configuration in the overlay file, and the pull-up resistors are properly connected, but I2C still fails.
I checked the RTT logs in VS Code. The MCU clearly attempts I2C transactions, but there is no response from the sensor—communication never happens.
Please help me. I have been stuck on this problem for two months.
If you need any additional information, please leave a comment and I will respond immediately.
Thank you.