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

i2c_nrfx_twi: Error 0x0BAE0001 occurred for message 0

Hello world :-)

I am writing I2C temperature sensor driver over `i2c0` working in `twi` mode in Zephyr with my custom `dts` board configuration and this pops up on the console:

`i2c_nrfx_twi: Error 0x0BAE0001 occurred for message 0`

Any hints welcome on the error details and possible causes/fixes :-)

Parents Reply
  • I am glad to hear that you found the source of the issue!

    CeDeROM said:

    It would be really nice if error messages contained some sort of str_error() human readable hint or reference.. but now I know where to search for the codes thanks :-)

    strerror is usually set aside for errno's, unfortunately; and also given in the standard lib (newlib c in this case). We had a nrf_strerror implementation in nRF5 sdk, but this is towards that SDK's specific return codes. Translating nrfx errors over to errno gives "loss" of traceability in my opinion (ie: where did this error originate). Its a good idea, but I'm not sure if we can add this in a easy-to-use way.

     

    Kind regards,

    Håkon

      

Children
No Data
Related