Hi,
ERR_I2C_GENERAL_FAILURE means there is a failure detected on I2C bus. Please check the pull-up resistor in the I2C pins.
Remember that the number of ICs that can be connected to the same bus is limited only by a maximum bus capacitance of 400 pF, so please check the capacitive load.
Please check the AN11249 application note, this appnote details how to use the I2C ROM driver in master
and slave mode.
https://www.element14.com/community/servlet/JiveServlet/downloadBody/52504-102-1-266616/NXP.Applicat...
I hope this helps,
Have a great day,
Soledad
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------