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.
shivkant sharma said:from gpios &gpio0 is gpio name, 0x1C is pin number and 0x1 is pin status high/low
1 for high and 0 for low.
Is my understanding correct?
Yes, 0x1C is the pin number and 0x1 is the flag, indicating "GPIO_ACTIVE_LOW"
Regards,
Markus
shivkant sharma said:from gpios &gpio0 is gpio name, 0x1C is pin number and 0x1 is pin status high/low
1 for high and 0 for low.
Is my understanding correct?
Yes, 0x1C is the pin number and 0x1 is the flag, indicating "GPIO_ACTIVE_LOW"
Regards,
Markus
I'm having a lot of trouble getting i2c running. Can you share what main.c looks like, what your overlays look like, and what pins locations you connected to on the board for scl sda?