Hello
I am using PMIC PF8200 with cortex M7, i can read data from the PMIC but when i try to write ,noting is written , i am using CRC8 and i can calculate it correctly and it matches with the CRC from PMIC in case i am reading , but when i send request to modify ant register the flag for CRC (CRC_I) becomes 1 indication to a CRC flier.
the format i am sending is (REG_ADD , Data , CRC)
Did i miss something ?
Hello ,
i got all information i need , thanks for your support.
Best regards
Hello iaboelen,
I hope all is great with you. Thank you for using the NXP communities.
Could you please review the questions below for a better understanding?
Do you mean the I2C CRC verification?
When this feature is enabled, a selectable CRC verification is performed on each I2C transaction. Could you please confirm that it is enabled (OTP_I2C_CRC_EN = 1)?
Are you trying to perform an I2C secure write? When OTP_I2C_ SECURE_EN = 1, the secure write is enabled. I guess you are trying to write the secure registers.
Regards,
David
Hello,
the I2c verification is on so that i am using CRC calculations ,
also i am not writing on secure write i am trying to write on normal read write (R/W) Reg.
Best Regards;
Hello iaboelen,
Once again, thank you for using the NXP community.
As mentioned on the case, I do recommend reviewing the application note AN13107.
At chapter 2, you may find useful information about the I2C-bus overview. Are you able to perform an I2C bus write with CRC verification operation (chapter 2.4.1)?
Please let me know if this material is useful for you.
Regards,
David