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

TWI communication

Hi Guys,

I am using Si7021 I2C temperature sensor and I want to read the temperature value using nrf52840-DK. I connected the sensor to the 27,26 pin. 

I wanted to read the sensor value. 

Here is the initialization

Here is the read function,

I am not able to find repeated start condition.

Here is the sequence I need to implement

Is there anything wrong in the implementation? It is always failing.

Please Help!

Thanks Slight smile

Vibhu

Parents Reply Children
Related