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
  • Hi,

    I have been using this board over I2C for a while; works fine. IN addition, I am using a USB - serial convertor connected over UART. Here is the overlay file I use

    &uart0 {
      compatible = "nordic,nrf-uart"; 
      status = "okay";  
      current-speed = <115200>;
      tx-pin = <20>;
      rx-pin = <24>;
    };
    
    &i2c0 {
            status = "okay";
            sda-pin = <13>;
            scl-pin = <15>;
     //       clock-frequency = <I2C_BITRATE_SLOW>;
    	bme680@77 {
    		compatible = "bosch,bme680";
    		reg = <0x77>;
    		label = "BME680";
    	};
    
    
    };
    

    Hope this helps

    Rod

Reply
  • Hi,

    I have been using this board over I2C for a while; works fine. IN addition, I am using a USB - serial convertor connected over UART. Here is the overlay file I use

    &uart0 {
      compatible = "nordic,nrf-uart"; 
      status = "okay";  
      current-speed = <115200>;
      tx-pin = <20>;
      rx-pin = <24>;
    };
    
    &i2c0 {
            status = "okay";
            sda-pin = <13>;
            scl-pin = <15>;
     //       clock-frequency = <I2C_BITRATE_SLOW>;
    	bme680@77 {
    		compatible = "bosch,bme680";
    		reg = <0x77>;
    		label = "BME680";
    	};
    
    
    };
    

    Hope this helps

    Rod

Children
Related