Dear Sir,
We use SDK (01.00.00.08) to run sample code on AM335x ICE platform. For using CAT24C256W, we reference sample code in SDK install package.
Sample code path: sdk\starterware\examples\evmskAM335x\hsi2c_eeprom
We can successfully compile our sample code and download into AM335x ICE platform. But when the program execute to some parts of CAT24C256W initial code, it will cause the whole system fail. Could you help to give any hint about this problem or provide sample code for we to reference.
Below is our testing code:
// initialize for I2C EEPROM
I2C0ModuleClkConfig();
I2CPinMuxSetup(0);
I2CINTCConfigure();
IntMasterIRQEnable();
When the program execute to I2CINTCConfigure(),
it will cause the whole system fail.
Further tracing into I2CINTCConfigure(),
when it runs to IntAINTCInit(); and IntSystemEnable(I2C_INT_NUM);
it will cause the whole system fail.
Any further comments, I would appreciate.
Many thanks and regards,
Ryan Hsu