nrf91 how to use twi(i2c)?

ncs v1.9.1

Reference nrf\applications\serial_lte_modem\src\twi

This example does not see how to configure the pin.so how to config SCK and SDA Pin?

Thanks!!!

Parents
  •   Reference zephyr.dts
      
      i2c0: i2c@8000 {
                    compatible = "nordic,nrf-twim";
                    #address-cells = < 0x1 >;
                    #size-cells = < 0x0 >;
                    reg = < 0x8000 0x1000 >;
                    clock-frequency = < 0x186a0 >;
                    interrupts = < 0x8 0x1 >;
                    status = "disabled";
                    label = "I2C_0";
                };
    But no define SCK and SDA pin.
Reply
  •   Reference zephyr.dts
      
      i2c0: i2c@8000 {
                    compatible = "nordic,nrf-twim";
                    #address-cells = < 0x1 >;
                    #size-cells = < 0x0 >;
                    reg = < 0x8000 0x1000 >;
                    clock-frequency = < 0x186a0 >;
                    interrupts = < 0x8 0x1 >;
                    status = "disabled";
                    label = "I2C_0";
                };
    But no define SCK and SDA pin.
Children
Related