Hey devs,
I'm trying to get the i2c interface to work with the MP8862. I followed the TWIS driver guide to get started and in there everything worked.
Now I wanted to setup the sensor and thus changed my overlay file to:
&i2c1{ compatible="nordic,nrf-twim"; status = "okay"; sda-pin = <30>; scl-pin = <31>; clock-frequency = <I2C_BITRATE_STANDARD>; twis_device1:MP8862@6b { status = "okay"; label = "MP8862"; reg = <0x6b>; }; };
I just used the i2c to send the reset command and would want to try to poll it, but that gives me following error: from.
I2C device 1: MP8862 I2C Master: Slave ADDR: 0x6b SCL: 31, SDA: 30, CLK(Hz): 100000 [00:00:01.270,660] <err> i2c_nrfx_twim: Error 0x0BAE0001 occurred for message 0 [00:00:02.270,843] <err> i2c_nrfx_twim: Error 0x0BAE0001 occurred for message 0 [00:00:03.271,026] <err> i2c_nrfx_twim: Error 0x0BAE0001 occurred for message 0 [00:00:04.271,240] <err> i2c_nrfx_twim: Error 0x0BAE0001 occurred for message 0 [00:00:05.271,423] <err> i2c_nrfx_twim: Error 0x0BAE0001 occurred for message 0 [00:00:06.271,636] <err> i2c_nrfx_twim: Error 0x0BAE0001 occurred for message 0
I could find it was an internal error, but could not find where it was coming.
Hope you can help!
Joep