Skip to main content
Eralp
Associate III
April 11, 2024
Solved

Vbat ADC setting is missing in the new version

  • April 11, 2024
  • 1 reply
  • 1753 views

Hi, i'm using STM32H750VB and i could previously make the Vbat measurement setting under Analog->ADC3 in the old version of cubemx (6.10), but this option has been removed in the new version (6.11). Also the temperature sensor setting is lost.

CubeMX610.jpg

CubeMX611.jpg

Is this a bug ?

This topic has been closed for replies.
Best answer by mƎALLEm

Hello,

It’s a known regression in CubeMx version V6.11.

See and follow this thread.

1 reply

mƎALLEm
mƎALLEmBest answer
Technical Moderator
April 11, 2024

Hello,

It’s a known regression in CubeMx version V6.11.

See and follow this thread.

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
Eralp
EralpAuthor
Associate III
April 11, 2024

I fixed it myself because I didn't have time to wait. Thanks for reply.

Here is the fix in ADC-aditf5_v3_0_Cube_Modes.xml file for STM32H7

 

For Vbat Channel:

From:

<Mode Name="IN-Vbat" RemoveCondition="(DIE480 &amp;!($IpNumber=2)) | !(DIE485&amp;($IpNumber=2))" UserName="Vbat Channel">

To:

<Mode Name="IN-Vbat" RemoveCondition="(DIE480 &amp;!($IpNumber=2)) | (DIE485&amp;!($IpNumber=2))" UserName="Vbat Channel">

 

For Temperature Sensor Channel:

From:

<Mode Name="IN-TempSens" RemoveCondition="(DIE480 &amp;!($IpNumber=2)) | !(DIE485 &amp;($IpNumber=1))" UserName="Temperature Sensor Channel">

To:

<Mode Name="IN-TempSens" RemoveCondition="(DIE480 &amp;!($IpNumber=2)) | (DIE485 &amp;!($IpNumber=1))" UserName="Temperature Sensor Channel">

 

For Vrefint Channel:

From:

<Mode Name="IN-Vrefint" RemoveCondition="(DIE480 &amp;!($IpNumber=2)) | !(DIE485 &amp;($IpNumber=1))" UserName="Vrefint Channel">

To:

<Mode Name="IN-Vrefint" RemoveCondition="(DIE480 &amp;!($IpNumber=2)) | (DIE485 &amp;!($IpNumber=1))" UserName="Vrefint Channel">

 

mƎALLEm
Technical Moderator
April 11, 2024

Thank you for sharing this for other members.

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."