Why HAL DMA functions are not working?
Hello Guys,
I am trying to read data via I2C bus using HAL_I2C_Master_Receive_DMA and HAL_I2C_Mem_Read_DMA, but both are not working
If I use HAL_I2C_Master_Receive it is working
I tried to manually disable and then re-enable DMA channel used by setting enable bit but this doesn't help
If I add DMA function in addition to HAL_I2C_Master_Receive iw also stoped working except on first use.
Also in debugger instruction marker is skipping DMA functions
I tried to add volatile to array definition and to set compilator optimization level to 0, but nothing helped
I tried my simple code in uVision5 and True Studio debuggers and result is the same, DMA functions are not working
Could you help me with this issue and give me some examples of using above functions?
