|
if (hdma->Instance->CBR1 == 0U) |
At the end of a DMA transfer the source and destination block repeat sign is unchanged, hence bits 30 and 31 of the GPDMA BR1 register may be set at the end of the transfer. In this case, the test will fail and the HAL DMA state will not return to ready, despite completion.
stm32u5xx-hal-driver/Src/stm32u5xx_hal_dma.c
Line 1073 in 38f1a11
At the end of a DMA transfer the source and destination block repeat sign is unchanged, hence bits 30 and 31 of the GPDMA BR1 register may be set at the end of the transfer. In this case, the test will fail and the HAL DMA state will not return to ready, despite completion.