cancel
Showing results for 
Search instead for 
Did you mean: 

VREF+ not working

Ephraimoved
Associate III

Dear Sir.

Attached a schematic of STM32U585 .

LDO_V28 is tested for 2.8v.

Issuing the command

HAL_SYSCFG_VREFBUF_HighImpedanceConfig(SYSCFG_VREFBUF_HIGH_IMPEDANCE_DISABLE);

HAL_SYSCFG_VREFBUF_VoltageScalingConfig(SYSCFG_VREFBUF_VOLTAGE_SCALE2);

  HAL_SYSCFG_EnableVREFBUF();

No output at VREF+ .

Later the ADC_CALIBRATION gives an error.

Please Advise.

2 REPLIES 2

Read out and check/post VREFBUF_CSR register content.

JW

Mohamed Aymen HZAMI
ST Employee

Hello @Community member​,

Try this sequence :

  1. __HAL_RCC_VREF_CLK_ENABLE();
  2. HAL_SYSCFG_VREFBUF_HighImpedanceConfig(SYSCFG_VREFBUF_HIGH_IMPEDANCE_DISABLE);
  3. HAL_SYSCFG_VREFBUF_VoltageScalingConfig(SYSCFG_VREFBUF_VOLTAGE_SCALE0);
  4. HAL_SYSCFG_EnableVREFBUF();

Mohamed Aymen