We are using nrf5340-dk to communicate with nrf5340 custom board and trying to search for the other sensors' addresses. There is secure mode and unsecure mode CPU. Which mode to try on? We could not detect the sensors I2C addresses.
We are using nrf5340-dk to communicate with nrf5340 custom board and trying to search for the other sensors' addresses. There is secure mode and unsecure mode CPU. Which mode to try on? We could not detect the sensors I2C addresses.
Hi Markus,
thanks for you help now we are able to detect I2C address.
Can you please let us know how to edit overlay file to configure different GPIOs for different functionality in overlay file?
for example we edit this in our overlay file for working I2C:
&i2c2 {
status = "ok";
compatible = "nordic,nrf-twim";
sda-pin = < 36 >;
scl-pin = < 37 >;
clock-frequency = <I2C_BITRATE_STANDARD>;
};
Same we need to add for our LED and button GPIO.
Can you please help us for same how can we add for these GPIOs because we didn't find any example/ sample based on it.
FYI
we already tried blinky sample on our custom board but that one is not working.
Hi Markus,
thanks for you help now we are able to detect I2C address.
Can you please let us know how to edit overlay file to configure different GPIOs for different functionality in overlay file?
for example we edit this in our overlay file for working I2C:
&i2c2 {
status = "ok";
compatible = "nordic,nrf-twim";
sda-pin = < 36 >;
scl-pin = < 37 >;
clock-frequency = <I2C_BITRATE_STANDARD>;
};
Same we need to add for our LED and button GPIO.
Can you please help us for same how can we add for these GPIOs because we didn't find any example/ sample based on it.
FYI
we already tried blinky sample on our custom board but that one is not working.