2020-02-13 02:54 AM
I think there is a mistake in cubeMX generated HAL_MspInit() when using VREFBuf:
at firmware startup, HAL_MspInit() calls HAL_SYSCFG_EnableVREFBUF() but the clock of VRREFBuf is not enabled before, so it fails in timeout.
To fix this I have added call of HAL_SYSCFG_EnableVREFBUF(); at the begining og HAL_MspInit() user code.
2020-02-18 12:30 AM
Hello @FDESS.2
Could you please send me your .ioc file to check the issue .
Regards,
Nesrine
2020-02-19 12:37 AM