Skip to main content
Associate II
September 25, 2024
Solved

How to Set VREFBUF to Internal Voltage Refence

  • September 25, 2024
  • 2 replies
  • 1311 views

I'm using at STM32H563VITz in LQFP100 package.

According to the reference manual (RM0481 Rev 21209) I can use the internal Voltage Reference (and then set it to 2.0478V)

BenG_0-1727268558193.png

BenG_1-1727268566309.png
I've also referenced the post at: How to configure VREFBUF on my STM32 - STMicroelectronics Community

When I open the .ioc file for my project. I don't have the option to select the Internal Voltage Reference

BenG_2-1727268830619.png



It could be a bug in Cube MX - but I suspect it's more likely that I haven't enabled some component or peripharl in the .ico file?

 

 

Best answer by STTwo-32

Hello @BenG 

This behavior has been solved on the last version of the STM32CubeMX V6.13.0.

Best Regards.

STTwo-32

2 replies

STTwo-32
Technical Moderator
September 25, 2024

Hello @BenG 

I confirm that it is an issue on the STM32CubeMX. I've escalated to the concerned team for correction (under internal ticket number 192092).

 

Best Regards.

STTwo-32

BenGAuthor
Associate II
September 25, 2024

Thanks

Is there an estimate on how long a fix will take? (I appreciate that's like asking how long a piece of string is?)

I'll try and temporarily hack the (auto)generated code to enable it, but any advice/tips would be helpful

STTwo-32
STTwo-32Best answer
Technical Moderator
December 2, 2024

Hello @BenG 

This behavior has been solved on the last version of the STM32CubeMX V6.13.0.

Best Regards.

STTwo-32