How to use I2C on nRF52840 Dongle ?

Hi,

I am not sure whether there is I2C pins on nRF52840 Dongle board as based on the Adafruit Feather nRF52840 Express the pin is P0.11 and P0.12 as shown below:
SCL 0.11 and SCK 0.14 are at the back of the nRF52840 Dongle but SDA 0.12 is missing from the nRF52840 Dongle board.





There is a Youtube link shown the use of I2C display with nRF52840 Dongle but lacking explanation.

https://www.youtube.com/watch?v=vJUrG41tYFw


I am new to Nordic nRF52840 Dongle board and trying to support it under Arduino platform, but found out many missing important protocol pins.
Otherwise, I will just use Adafruit Feather nRF52840 Express.

May I know is the pin number held on Nordic nRF52840 (eg. 0.11) and on the schematic diagram (SCL P0.11) from Adafruit nRF52840 Express the same ?

Please advise.

  • I haven't used Arduino (well, except some time ago on an Arduino board) so I can't really help you there, but the nRF52840 lets you use just about any pins for just about any peripherals.  You just set them during the peripheral configuration and off you go.  Maybe whatever Arduino does to interface with the board allows you to put in a custom configuration?

  • Are you using the twi library or peripheral… if so the pins can be easily programmed to use almost any pins you wish. I recommend either showing us a code snippet as it will be easier to interpret or you can also look at this YouTube channel I found it very helpful during my implementations sumair’s embedded electronics