Enabeling I2C (Linking PiJuice with RockPi 4 SE)

Hi,

I’m trying to configure a PiJuice onto my RockPi 4 SE. However, I’m getting COMMUNICTION_ERROR.

I found many relatable problems within the Raspberry community, there it was said that I should enable I2C. Does anyone have a clue how this is done on a RockPi?
I have confirmed with the command $ i2cdetect -y 1 that there is no communication with the RockPi and the PiJuice.

This is what I have found so far:

  1. On a raspberry desktop, it can be switched on by using the desktop: On the desktop via: Preferences->Raspberry Pi Configuration->Interfaces ( https://github.com/PiSupply/PiJuice/issues/175 ) However, I do not have a similar menu.
  2. I found that with the command $ ‘sudo raspi-config’, it might be possible to enable I2C. However, I have not found a similair rock pi command. ( https://www.mathworks.com/help/supportpkg/raspberrypiio/ref/enablei2c.html )
  3. I found that within the /boot/hw_intfc.conf, it is possible to enable (some) i2c pins. However, somehow, this file does not exist within my RockPi. If I make this file, the eMMC module is bricked and cannot boot anymore.

Does anyone have a clue how to continue? Help is much appreciated!

This is the source of the 3rd problem: https://wiki.radxa.com/Rockpi4/dev/libmraa

Maybe this can help:

It was tested working before.

It took a while but this thread helped me a lot, thanks! It seems to be fixed now, you can close this one.