On a custom pcb, an I2C sensor is connected on P0_15 and P0_16 ( SDA & SCL ).
When sensor reading is requested, the code is designed to wait till the reading is returned from the sensor. The code gets stuck waiting at this.
When browsing through the nRF52832 pin assignments, observed that the TRACEDATA pins are shared with P0_15, P0_16 ( https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fpin.html ).
Any suggestions on how to make sure that the pins are being used as I2C and not as TRACEDATA pins?