This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

I want to test BMI160 connected to NRF52840 over I2C using nrf_connect_sdk 1.4.1

While using NRF52840 SDK with twi_scanner i am able to see i2c address 0x68, but while using zephyr unable to get the data.

I have seen I can configure i2c pins in board.dts and board.overlay file, but I would like to know the procedure configure the SCL and SDA pin with internal pull ups.

With nrf5 sdk, the i2c SCL and SDA pin are by default configured with internal pull ups but I am not sure of the configuration in zephyr!

Does NRF_CONNECT_SDK i2c SCL/SDA pin are default pulled up or are there any methods to accomplish the same?

Parents Reply
  • drivers/sensor/bmi160/bmi160.c : sensor sample. BMI 160 nrf_twim_error and unable to set PMU error.
    The sensor is perfectly working with arduino code and nrf sdk. But with zephyr interface using nrf connect sdk, stuck at this! If by pass with directly setting specific register with BMi160_write_byte and bmi160_read_byte ; stopped by vector catch error got to fault_S.s . How to find the specific issue?

Children
Related