Hi all,
I used I2C sample code from mcsdk_2_01_01_04\tools\boot_loader\ibl\src\hw\i2c to verify the function workable or not on 6657EVM.
But I encountered the action of output data to appear abnormal status. When used the sample code, the function "hwI2cMasterRead" was include transmit and receive. The first two bytes data transmitted successfully, but the status register "ICSTR" was always 0x5210. So, it meant that the bus was busy(could not be used), Then could not send out the next two bytes data.(the sample code would check the status, and it would be timeout.)
We tried to do some experiments after the first two bytes transmitted, we reset I2C interface (ICMDR was set to 0x4000). Then went to restart again, and sent out the next two bytes data. In current state, it was workable to send out all data, but it was strange and stupid method. And if we want to use I2C interface with EDMA, I guessed that it would be not workable.
B.R.
OC