i2c_nrfx_twim: Error 0x0BAE0001 occurred for message 0

Hello,

I am trying to combine results from the temperature sensor which works in I2C protocol

and in RTT prints I get an error
<err> i2c_nrfx_twim: Error 0x0BAE0001 occurred for message 0

I tried to make a change in the configuration of the pins (DTS file), but still this error is accepted.

Attached is a DTS file.

Parents
  • We have a reference program for checking the value obtained from a temperature sensor, and in this reference software it works smoothly.

    I think there is something missing in the settings, otherwise I have no way to explain, how one software works wonderfully and in the other I get an error.

    These are the error lines :

    00> rtt:~$ rtt:~$ rtt:~$ [00:00:28.898,132] <err> i2c_nrfx_twim: Error 0x0BAE0001 occurred for message 0
    00> rtt:~$ i2c_burst_read:-5

Reply
  • We have a reference program for checking the value obtained from a temperature sensor, and in this reference software it works smoothly.

    I think there is something missing in the settings, otherwise I have no way to explain, how one software works wonderfully and in the other I get an error.

    These are the error lines :

    00> rtt:~$ rtt:~$ rtt:~$ [00:00:28.898,132] <err> i2c_nrfx_twim: Error 0x0BAE0001 occurred for message 0
    00> rtt:~$ i2c_burst_read:-5

Children
  • Gal_S said:
    I think there is something missing in the settings, otherwise I have no way to explain, how one software works wonderfully and in the other I get an error.

    Can you verify that the output on SDA and SCLK looks the same in both cases. I would be great if you can share the trace. In the case I linked, the issue was a HW problem. Most probably something was configured incorrectly such as pullups etc. Do you use any external pull ups? Does the slave require it?

    regards

    Jared 

Related