2014-09-22 03:25 PM
Hi,
I found a possible bug in the generation of the code for I2C using DMA to receive data.When receiving data, the Rx callback is never called but the DMA-transfer is done correctly.The reason is that the DMA interrupt is not hooked correctly by STMCube. In startup_stm32f407xx.s the DMA interrupt is redirected to DMA1_Stream0_IRQHandler but this function doesnt exist. The only function which call the callback is HAL_DMA_IRQHandler but this function has no reference at all.It seems that the STMCube dont change the Interrupt kook correctly.How can I fix that?2014-09-23 03:02 AM
Hi ostovary.m,
Would you mind giving a little more information about the STM32CubeMX and the STM32CubeF4FW used versions ?Can you please provide the .ioc file so that we reproduce your issue.Regards,Heisenberg.