I am communicating with ADE7878 from Beagle Bone Black by i2c connection. To check it I am trying to write onto a register (MASK and STATUS) and read back the written value. But i am just getting the default value of the register and not the value i intended to write. I have checked the I2c read by reading the CHECKSUM register and getting the correct default value. Also on logic analyser i can see the write and read bytes which are correctly communicated to the ADE7878. Is there any write protected lock bit that should be enabled?...Please suggest a solution.