This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Interfacing bme280 with nrf52

Hello, I am trying to interface bme 280 with nrf52. I am using sdk12.2.2 and referring code twi_sensor.

I am able to initialize the I2C drivers and I can read the chip id of bme280. I am facing some strange issues.

I have variable named val in my main function and I want to get the value of chip id of bme180 into my variable named val. But every time when I debug I am getting this variable empty.

When I step into my function at that time only I am able to read chip id.

So can you please help me to get my chip id in variable named val?

Thanks,

Parents Reply Children
No Data
Related