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 about STM32 I2C bug they reject that make I2C interrupted by others, so I wonder to know is it really okay when I set I2C RxTx interrupt with lower priority than system handle? I has freertos in my project.
