Resolved! CPU hangs when calling I2C_WaitOnFlagUntilTimeout ().
CPU hangs when calling I2C_WaitOnFlagUntilTimeout because I2C DMA interrupt handler has higher priority than system handle, so that tickcount cannot hit the Timeout. How can I resolve this trouble without consuming too much CPU ? I saw some topics ab...