This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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.

Parents
  • Hello Ricky,

    Good Luck with the further process. Feel free to ask us if you have more queries.

    Best Regards,

    Kazi Afroza Sultana

  • Hi Kazi,

    After some findings here and there, eventually I found the solution using Nordic nRF52840 Dongle under Arduino framework with PlatformIO or Arduino IDE HERE.

    I use to be a software guy for decades, recent years only back to do some hardware related stuffs.

    After reading the twi_sensor source code, honestly I am not so comfort and cannot venture into that kind of programming, it is too time consuming.

    With Arduino framework, I can easily programmed the Nordic nRF52840 Dongle without worrying about the I2C pins anymore, just like the simple MLX90614 I2C connection setup below:

    Is very similar question, you want to write in Assembly or C/C++ programming language ? for sure, I am going to use C/C++ to accomplish my work because I am not building a rocket science project.

    Hopes this help.

Reply
  • Hi Kazi,

    After some findings here and there, eventually I found the solution using Nordic nRF52840 Dongle under Arduino framework with PlatformIO or Arduino IDE HERE.

    I use to be a software guy for decades, recent years only back to do some hardware related stuffs.

    After reading the twi_sensor source code, honestly I am not so comfort and cannot venture into that kind of programming, it is too time consuming.

    With Arduino framework, I can easily programmed the Nordic nRF52840 Dongle without worrying about the I2C pins anymore, just like the simple MLX90614 I2C connection setup below:

    Is very similar question, you want to write in Assembly or C/C++ programming language ? for sure, I am going to use C/C++ to accomplish my work because I am not building a rocket science project.

    Hopes this help.

Children
No Data
Related