Skip to main content
FLiu.11
Associate
May 21, 2020
Question

VREFBUF not working on STM32H743?

  • May 21, 2020
  • 1 reply
  • 740 views

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 ...

This topic has been closed for replies.

1 reply

ST Technical Moderator
May 21, 2020

Hello,

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

Best Regards,

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks