2024-04-10 07:31 PM
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.
Is this a bug ?
Solved! Go to Solution.
2024-04-10 09:17 PM - edited 2024-04-10 09:17 PM
Hello,
It’s a known regression in CubeMx version V6.11.
See and follow this thread.
2024-04-10 09:17 PM - edited 2024-04-10 09:17 PM
Hello,
It’s a known regression in CubeMx version V6.11.
See and follow this thread.
2024-04-11 04:26 AM
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 &!($IpNumber=2)) | !(DIE485&($IpNumber=2))" UserName="Vbat Channel">
To:
<Mode Name="IN-Vbat" RemoveCondition="(DIE480 &!($IpNumber=2)) | (DIE485&!($IpNumber=2))" UserName="Vbat Channel">
For Temperature Sensor Channel:
From:
<Mode Name="IN-TempSens" RemoveCondition="(DIE480 &!($IpNumber=2)) | !(DIE485 &($IpNumber=1))" UserName="Temperature Sensor Channel">
To:
<Mode Name="IN-TempSens" RemoveCondition="(DIE480 &!($IpNumber=2)) | (DIE485 &!($IpNumber=1))" UserName="Temperature Sensor Channel">
For Vrefint Channel:
From:
<Mode Name="IN-Vrefint" RemoveCondition="(DIE480 &!($IpNumber=2)) | !(DIE485 &($IpNumber=1))" UserName="Vrefint Channel">
To:
<Mode Name="IN-Vrefint" RemoveCondition="(DIE480 &!($IpNumber=2)) | (DIE485 &!($IpNumber=1))" UserName="Vrefint Channel">
2024-04-11 04:40 AM
Thank you for sharing this for other members.
2024-04-14 05:44 PM
Thank you Eralp . I just replaced the file with an older one. they come back now.