Issues with I2C HAL in TouchGFX RTOS thread.
Hello, i see trouble with I2C
HAL_I2C_Master_Transmit(&hi2c2, addr==0 ? I2C_ADDR_DACR : addr, Buff,3,5);in project with TouchGFX RTOS i have two threads. One for GUI and second is this hw I2C.
On scope i see, that I2C sometimes (random) split send or receive with clock stretch and sometimes complete hang or skip bytes. How is right setup for use it in multitask envi?
Seems when thread block more as timeout in this cmd , then cmd skip bytes or...
Now on U5, but i mean issue is all HAL. And i ask some tips, except DMA and IT, this ofcourse can change situation.
