cancel
Showing results for 
Search instead for 
Did you mean: 

HAL_DCMI_Stop timeout infinite loop

frackers
Senior
Posted on January 16, 2018 at 22:29

STM32Cube_FW_F4_V1.18.0 module stm32f4xx_hal_dcmi.c has a bug in HAL_DCMI_Stop such that when the 'count' variable is decremented to zero (to indicate a timeout), the loop continues.

I reckon there should be a 'break;' after the line

status = HAL_TIMEOUT;

Discovered after I lost vsync from a camera, tried to stop it and an hour later was still waiting!!

4 REPLIES 4
frackers
Senior
Posted on January 16, 2018 at 22:37

Just checked the F7 DCMI HAL code and that is OK.

Imen.D
ST Employee
Posted on January 17, 2018 at 11:25

Hello

Gilks.Robin

,

Thank you for your reported issue. We raised this internally for fix.

Kind Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Posted on July 13, 2018 at 11:27

Hello,

This issue is still present on 

STM32Cube_FW_F4_V1.21.0.

Do you know when it will be fixed?

Thanks and regards,

Netanel

Posted on July 13, 2018 at 14:23

Hello All,

We have already passed this issue along to our development team and will be fixed in the next release of STM32CubeF4 V

1.22.0.

So, please Keep an eye out for the next update!

with Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen