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

I2C device gets detected with Adafruit Bootloader but fails with Nordic SDK

I am trying to make PN7150 work with nRF52840 using TWI Communication.

Problem :
PN7150 gets detected with I2C scanner example when using Adafruit Bootloader and programmed using Arduino IDE.
But when I am using TWI Scanner example in Nordic SDK15. The address is not detected.

Background :
When TWI scanner example failed to detect address of PN7150 but worked with other devices. I thought maybe PN7150 is not getting enough voltage. I tried several ways. Used nRF52840 in high voltage mode. Used a level shifter. It all failed to detect the address.

I then tried I2C scanner example for Arduino using Adafruit's Bootloader and surprisingly it detected the correct address.

Maybe this problem is due to different implementation of I2C protocol in Arduino and Nordic SDK.

Related