I am trying to integrate SPS30 sensor to nRF52 DK using Segger Embedded Studio. The sensor fails to initialise and the program keeps getting stuck at NRF_BREAKPOINT_COND at app_error_weak.c. Any help would be appreciated.


I am trying to integrate SPS30 sensor to nRF52 DK using Segger Embedded Studio. The sensor fails to initialise and the program keeps getting stuck at NRF_BREAKPOINT_COND at app_error_weak.c. Any help would be appreciated.


HI,
Could you check if there is any error codes returned when you end up in NRF_BREAKPOINT_COND/app_error_weak.c, as described in this post?
This is the error I am seeing in the Debug terminal:
Error 8: Initialization of I2C connection failed!
<info> app: PM Sensor Initialization started.
<error> app: ERROR 3735928559 [Unknown error code] at /home/dinesh/temp_data/nRF5_SDK_15.0.0_a53641a/modules/nrfx/drivers/src/nrfx_twim.c:250
PC at: 0x0002F8C3
<error> app: End of error report
This is the error I am seeing in the Debug terminal:
Error 8: Initialization of I2C connection failed!
<info> app: PM Sensor Initialization started.
<error> app: ERROR 3735928559 [Unknown error code] at /home/dinesh/temp_data/nRF5_SDK_15.0.0_a53641a/modules/nrfx/drivers/src/nrfx_twim.c:250
PC at: 0x0002F8C3
<error> app: End of error report