This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Not responding twi peripheral

Hi all,

Here I am using the nrf52840 in my customized board, in parallel i have nrf52840 dev board.

I am using the twi peripheral to communicate with a i2c based sensor. To test the board, I am using the nRF52840 SDK 15.2. 

In the dev board it is working fine. But in the custom board it is not working. 

The SDA line is 8 (p0.8) and SCL line is 6 (p0.6)

Can you please suggest me as soon.

This is the issue I am getting with my custom board.

Regards,

  • Gouse Basha said:
    This example is working fine with Dev board of nRF52840. In my custom board it is not working.

    This suggest that the connections between the nRF52840 and the sensor might be incorrect.
    Could you provide schematics for how the sensor is wired to the nRF52840 on the custom board?

    Nguyen Hoan Hoang said:
    Check to make sure you have pullup resistors on the SDA & SCL line on your custom board also check other pins such as CS wiring to put the sensor in I2C mode instead of SPI

    Please ensure that this is the case on your custom board, and get back to us.

    Thank you for your suggestion, Nguyen!

    Best regards,
    Karl

Related