Setting up a MP8862 with i2c

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:

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.

I could find it was an internal error, but could not find where it was coming. 

Hope you can help!

Joep

Parents Reply
  • I tried to used the i2c_nrfx_twim_transfer() to send the data, but it is undefined. I included nrfx_twim.h and enabled it in the conf with 

    .

    How should I include it?

    Indeed the address for my testing setup was off. I did not yet have time to test this with the correct setup.

Children