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

how can i do i2c initialization on any gpio pin ?

Hello all,

I am right now working on one project. where i use nrf52832 BLE board. right i am doing i2c communication of temperature sensor(lm6bd) with ble board. but can you please tell me how can i use any gpio pin as i2c (SDA and SCL ) pins ? i am trying to do same using pin P0.06(SDA) and P0.07(SCL). so is this possible that i can read data of temperature sensor from pin which i mention.

I have read data for same at pin P0.27(SCL) and P0.26(SDA). and i successfully got result and i want get same data from different pin. because my project has requirement to use i2c at a different pin.

So please guide me how can i do? what should i need to change in program for configuration i2c at gpio pin.

Thanking you,

Urvisha Andani 

Parents Reply Children
Related