cancel
Showing results for 
Search instead for 
Did you mean: 

VREFBUF not working on STM32H743?

FLiu.11
Associate II

The current STM32CubeMX package cannot generate proper code to initialize the VREFBUF in STM32H743 MCU.

Modifications to HAL_MspInit() in stm32h7xx_hal_msp.c can fix this:

  1. Add "__HAL_RCC_VREF_CLK_ENABLE();" to user code section 0.
  2. In user code section 1,
    1. Add  HAL_SYSCFG_VREFBUF_VoltageScalingConfig(0x00000020);   // For 1.8V Vref+. or
    2. Add HAL_SYSCFG_VREFBUF_VoltageScalingConfig(0x00000030);    //  For 1.5V Vref+. or ...

1 REPLY 1
Imen.D
ST Employee

Hello,

This is already raised internally for working and fix in the coming release (ID 86401).

Best Regards,

Imen

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