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

nrf52 i2c initialization

hello,

According to the "twi_scanner" example from the SDK12.2 I don't understand how the respective I2C pins/GPIOs are set up. There is this function that I found "nrf_gpio_cfg()" in the "nrf_gpio.h" but in the example this function is not called. So how are the pull-ups for SCL and SDA activated then?

Thank you Hannes

Related