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

Can't find twi / i2c MS5611 device with nRF52840

I am trying to connect the MS5611 (https://www.te.com/usa-en/product-CAT-BLPS0036.html) using the GY-63 Sensor Module to the nRF52840 with the nRF5_SDK_15.3.0_59ac345 SDK.

I use the nRF5 SDK twi_scanner example to scan the twi / i2c devices. 

  • Scan on the nRF52840 with the single MS5611 device > no device found
  • Scan on the nRF52840 with MS5611 and a MPU9250/6500 > MPU9250 device found, MS5611 not found
  • Scan on the Adafruit Trinket M0 with the MS5611  > MS5611 device found on 0x77

My conclusion with these test are that the nRF52840 twi works and the MS5611 module works as well, but not together.

I compared the Arduino (top) and nRF52840 (bottom) communication and was surprised to see that the clock for the nrf5 was a bit odd, any additional tests that could be done to get the MS5611 working?

Any suggestions much appreciated!

Logic Analyzer

Parents
  • Hi

    Those results are a bit odd. 

    The nRF52840 seems to introduce more delays, but that should be OK. There is also something looking like a glitch on the clock line, which might be more problematic. 

    Are you able to measure the lines with an analog probe?

    Some times the digital plot doesn't show the full picture. 

    Do you have external pull ups on the lines?

    Best regards
    Torbjørn

Reply
  • Hi

    Those results are a bit odd. 

    The nRF52840 seems to introduce more delays, but that should be OK. There is also something looking like a glitch on the clock line, which might be more problematic. 

    Are you able to measure the lines with an analog probe?

    Some times the digital plot doesn't show the full picture. 

    Do you have external pull ups on the lines?

    Best regards
    Torbjørn

Children
Related