Browse Source

1、配置PLL,内核时钟采用PLL_CLK(80M),LSPI使用PLL时钟,UART、CAN使用SOSC时钟(16M)

BJQX-ZHENGCHAO\Zhengchao 2 years ago
parent
commit
31366ece99
4 changed files with 157 additions and 156 deletions
  1. 2 2
      config/Base.xdm
  2. 5 8
      config/Can.xdm
  3. 1 1
      config/EcuM.xdm
  4. 149 145
      config/Mcu.xdm

+ 2 - 2
config/Base.xdm

@@ -49,9 +49,9 @@
                 <d:lst name="OsIfEcucPartitionRef"/>
                 <d:lst name="OsIfCounterConfig" type="MAP">
                   <d:ctr name="OsIfCounterConfig_0" type="IDENTIFIABLE">
-                    <d:ref name="OsIfCounterEcucPartitionRef" type="REFERENCE" >
+                    <d:ref name="OsIfCounterEcucPartitionRef" type="REFERENCE" 
+                           value="ASPath:/EcuC/EcuC/EcucPartitionCollection_0/EcucPartition_0">
                       <a:a name="ENABLE" value="false"/>
-                      <a:a name="IMPORTER_INFO" value="@DEF"/>
                     </d:ref>
                     <d:ref name="OsIfSystemTimerClockRef" type="REFERENCE" 
                            value="ASPath:/Mcu/Mcu/McuModuleConfiguration/McuClockSettingConfig_0/McuClockReferencePoint_LPUART0_CLK">

+ 5 - 8
config/Can.xdm

@@ -22,7 +22,7 @@
               <d:var name="IMPLEMENTATION_CONFIG_VARIANT" type="ENUMERATION" 
                      value="VariantPreCompile"/>
               <d:ctr name="CanGeneral" type="IDENTIFIABLE">
-                <d:var name="CanDevErrorDetect" type="BOOLEAN" value="true"/>
+                <d:var name="CanDevErrorDetect" type="BOOLEAN" value="false"/>
                 <d:var name="CanEnableUserModeSupport" type="BOOLEAN" 
                        value="false">
                   <a:a name="IMPORTER_INFO" value="@DEF"/>
@@ -112,16 +112,13 @@
                 </d:lst>
                 <d:var name="CanPublicIcomSupport" type="BOOLEAN" value="true"/>
                 <d:ctr name="CanIcomGeneral" type="IDENTIFIABLE">
-                  <a:a name="ENABLE" value="false"/>
+                  <a:a name="ENABLE" value="true"/>
                   <d:var name="CanIcomLevel" type="ENUMERATION" 
                          value="CAN_ICOM_LEVEL_ONE">
-                    <a:a name="ENABLE" value="false"/>
-                    <a:a name="IMPORTER_INFO" value="@DEF"/>
+                    <a:a name="ENABLE" value="true"/>
                   </d:var>
                   <d:var name="CanIcomVariant" type="ENUMERATION" 
-                         value="CAN_ICOM_VARIANT_NONE">
-                    <a:a name="IMPORTER_INFO" value="@DEF"/>
-                  </d:var>
+                         value="CAN_ICOM_VARIANT_NONE"/>
                 </d:ctr>
               </d:ctr>
               <d:ctr name="CanConfigSet" type="IDENTIFIABLE">
@@ -224,7 +221,7 @@
                           </a:a>
                         </d:var>
                         <d:var name="CanControllerPrescaller" type="INTEGER" 
-                               value="12"/>
+                               value="8"/>
                         <d:var name="CanControllerPrescallerAlternate" 
                                type="INTEGER" value="10">
                           <a:a name="IMPORTER_INFO" value="@DEF"/>

+ 1 - 1
config/EcuM.xdm

@@ -115,7 +115,7 @@
                       <d:var name="EcuMSleepModeSuspend" type="BOOLEAN" 
                              value="true"/>
                       <d:ref name="EcuMSleepModeMcuModeRef" type="REFERENCE" 
-                             value="ASPath:/Mcu/Mcu/McuModuleConfiguration/McuModeSettingConf_0"/>
+                             value="ASPath:/Mcu/Mcu/McuModuleConfiguration/McuModeSettingConf_Run"/>
                       <d:lst name="EcuMWakeupSourceMask">
                         <d:ref type="REFERENCE" >
                           <a:a name="IMPORTER_INFO" value="@DEF"/>

+ 149 - 145
config/Mcu.xdm

@@ -31,7 +31,7 @@
                 <d:var name="McuInitClock" type="BOOLEAN" value="true">
                   <a:a name="IMPORTER_INFO" value="@DEF"/>
                 </d:var>
-                <d:var name="McuNoPll" type="BOOLEAN" value="true"/>
+                <d:var name="McuNoPll" type="BOOLEAN" value="false"/>
                 <d:var name="McuEnterLowPowerMode" type="BOOLEAN" value="true">
                   <a:a name="IMPORTER_INFO" value="@DEF"/>
                 </d:var>
@@ -273,12 +273,7 @@
                 </d:var>
               </d:ctr>
               <d:ctr name="McuModuleConfiguration" type="IDENTIFIABLE">
-                <d:var name="McuNumberOfMcuModes" type="INTEGER" value="1">
-                  <a:a name="IMPORTER_INFO">
-                    <a:v>@DEF</a:v>
-                    <a:v>@CALC</a:v>
-                  </a:a>
-                </d:var>
+                <d:var name="McuNumberOfMcuModes" type="INTEGER" value="3"/>
                 <d:var name="McuRamSectors" type="INTEGER" value="0">
                   <a:a name="IMPORTER_INFO">
                     <a:v>@DEF</a:v>
@@ -313,13 +308,9 @@
                 </d:var>
                 <d:ctr name="McuAllowedModes" type="IDENTIFIABLE">
                   <d:var name="McuAllowHighSpeedRunMode" type="BOOLEAN" 
-                         value="false">
-                    <a:a name="IMPORTER_INFO" value="@DEF"/>
-                  </d:var>
+                         value="true"/>
                   <d:var name="McuAllowVeryLowPowerModes" type="BOOLEAN" 
-                         value="false">
-                    <a:a name="IMPORTER_INFO" value="@DEF"/>
-                  </d:var>
+                         value="true"/>
                 </d:ctr>
                 <d:lst name="McuClockSettingConfig" type="MAP">
                   <d:ctr name="McuClockSettingConfig_0" type="IDENTIFIABLE">
@@ -334,9 +325,7 @@
                       <a:a name="IMPORTER_INFO" value="@DEF"/>
                     </d:var>
                     <d:var name="McuScgClkOutSelect" type="ENUMERATION" 
-                           value="SLOW_CLK">
-                      <a:a name="IMPORTER_INFO" value="@DEF"/>
-                    </d:var>
+                           value="SPLL_CLK"/>
                     <d:ctr name="McuRunClockConfig" type="IDENTIFIABLE">
                       <d:var name="McuPreDivSystemClockFrequency" type="FLOAT" 
                              value="4.8E7">
@@ -346,54 +335,43 @@
                         </a:a>
                       </d:var>
                       <d:var name="McuCoreClockFrequency" type="FLOAT" 
-                             value="4.8E7">
+                             value="8.0E7">
                         <a:a name="IMPORTER_INFO">
-                          <a:v>@DEF</a:v>
                           <a:v>@CALC</a:v>
+                          <a:v>@DEF</a:v>
                         </a:a>
                       </d:var>
                       <d:var name="McuSystemClockFrequency" type="FLOAT" 
-                             value="4.8E7">
+                             value="8.0E7">
                         <a:a name="IMPORTER_INFO">
-                          <a:v>@DEF</a:v>
                           <a:v>@CALC</a:v>
+                          <a:v>@DEF</a:v>
                         </a:a>
                       </d:var>
                       <d:var name="McuBusClockFrequency" type="FLOAT" 
-                             value="4.8E7">
+                             value="4.0E7">
                         <a:a name="IMPORTER_INFO">
-                          <a:v>@DEF</a:v>
                           <a:v>@CALC</a:v>
+                          <a:v>@DEF</a:v>
                         </a:a>
                       </d:var>
                       <d:var name="McuFlashClockFrequency" type="FLOAT" 
-                             value="2.4E7">
+                             value="2.0E7">
                         <a:a name="IMPORTER_INFO">
-                          <a:v>@DEF</a:v>
                           <a:v>@CALC</a:v>
-                        </a:a>
-                      </d:var>
-                      <d:var name="McuSystemClockSwitch" type="ENUMERATION" 
-                             value="FIRC_CLK">
-                        <a:a name="IMPORTER_INFO">
                           <a:v>@DEF</a:v>
-                          <a:v>@CALC</a:v>
                         </a:a>
                       </d:var>
-                      <d:var name="McuCoreClockDivider" type="INTEGER" value="1">
-                        <a:a name="IMPORTER_INFO" value="@DEF"/>
-                      </d:var>
-                      <d:var name="McuBusClockDivider" type="INTEGER" value="1">
-                        <a:a name="IMPORTER_INFO" value="@DEF"/>
-                      </d:var>
-                      <d:var name="McuSlowClockDivider" type="INTEGER" value="2">
-                        <a:a name="IMPORTER_INFO" value="@DEF"/>
-                      </d:var>
+                      <d:var name="McuSystemClockSwitch" type="ENUMERATION" 
+                             value="SPLL_CLK"/>
+                      <d:var name="McuCoreClockDivider" type="INTEGER" value="2"/>
+                      <d:var name="McuBusClockDivider" type="INTEGER" value="2"/>
+                      <d:var name="McuSlowClockDivider" type="INTEGER" value="4"/>
                       <d:var name="McuScgClkOutFrequency" type="FLOAT" 
-                             value="2.4E7">
+                             value="1.6E8">
                         <a:a name="IMPORTER_INFO">
-                          <a:v>@DEF</a:v>
                           <a:v>@CALC</a:v>
+                          <a:v>@DEF</a:v>
                         </a:a>
                       </d:var>
                     </d:ctr>
@@ -406,31 +384,31 @@
                         </a:a>
                       </d:var>
                       <d:var name="McuCoreClockFrequency" type="FLOAT" 
-                             value="1000000.0">
+                             value="2000000.0">
                         <a:a name="IMPORTER_INFO">
-                          <a:v>@DEF</a:v>
                           <a:v>@CALC</a:v>
+                          <a:v>@DEF</a:v>
                         </a:a>
                       </d:var>
                       <d:var name="McuSystemClockFrequency" type="FLOAT" 
-                             value="1000000.0">
+                             value="2000000.0">
                         <a:a name="IMPORTER_INFO">
-                          <a:v>@DEF</a:v>
                           <a:v>@CALC</a:v>
+                          <a:v>@DEF</a:v>
                         </a:a>
                       </d:var>
                       <d:var name="McuBusClockFrequency" type="FLOAT" 
-                             value="125000.0">
+                             value="500000.0">
                         <a:a name="IMPORTER_INFO">
                           <a:v>@CALC</a:v>
                           <a:v>@DEF</a:v>
                         </a:a>
                       </d:var>
                       <d:var name="McuFlashClockFrequency" type="FLOAT" 
-                             value="250000.0">
+                             value="1000000.0">
                         <a:a name="IMPORTER_INFO">
-                          <a:v>@DEF</a:v>
                           <a:v>@CALC</a:v>
+                          <a:v>@DEF</a:v>
                         </a:a>
                       </d:var>
                       <d:var name="McuSystemClockSwitch" type="ENUMERATION" 
@@ -440,18 +418,14 @@
                           <a:v>@CALC</a:v>
                         </a:a>
                       </d:var>
-                      <d:var name="McuCoreClockDivider" type="INTEGER" value="8">
-                        <a:a name="IMPORTER_INFO" value="@DEF"/>
-                      </d:var>
-                      <d:var name="McuBusClockDivider" type="INTEGER" value="8"/>
-                      <d:var name="McuSlowClockDivider" type="INTEGER" value="4">
-                        <a:a name="IMPORTER_INFO" value="@DEF"/>
-                      </d:var>
+                      <d:var name="McuCoreClockDivider" type="INTEGER" value="4"/>
+                      <d:var name="McuBusClockDivider" type="INTEGER" value="4"/>
+                      <d:var name="McuSlowClockDivider" type="INTEGER" value="2"/>
                       <d:var name="McuScgClkOutFrequency" type="FLOAT" 
-                             value="250000.0">
+                             value="0.0">
                         <a:a name="IMPORTER_INFO">
-                          <a:v>@DEF</a:v>
                           <a:v>@CALC</a:v>
+                          <a:v>@DEF</a:v>
                         </a:a>
                       </d:var>
                     </d:ctr>
@@ -464,54 +438,43 @@
                         </a:a>
                       </d:var>
                       <d:var name="McuCoreClockFrequency" type="FLOAT" 
-                             value="4.8E7">
+                             value="8.0E7">
                         <a:a name="IMPORTER_INFO">
-                          <a:v>@DEF</a:v>
                           <a:v>@CALC</a:v>
+                          <a:v>@DEF</a:v>
                         </a:a>
                       </d:var>
                       <d:var name="McuSystemClockFrequency" type="FLOAT" 
-                             value="4.8E7">
+                             value="8.0E7">
                         <a:a name="IMPORTER_INFO">
-                          <a:v>@DEF</a:v>
                           <a:v>@CALC</a:v>
+                          <a:v>@DEF</a:v>
                         </a:a>
                       </d:var>
                       <d:var name="McuBusClockFrequency" type="FLOAT" 
-                             value="4.8E7">
+                             value="4.0E7">
                         <a:a name="IMPORTER_INFO">
-                          <a:v>@DEF</a:v>
                           <a:v>@CALC</a:v>
+                          <a:v>@DEF</a:v>
                         </a:a>
                       </d:var>
                       <d:var name="McuFlashClockFrequency" type="FLOAT" 
-                             value="2.4E7">
+                             value="2.0E7">
                         <a:a name="IMPORTER_INFO">
-                          <a:v>@DEF</a:v>
                           <a:v>@CALC</a:v>
-                        </a:a>
-                      </d:var>
-                      <d:var name="McuSystemClockSwitch" type="ENUMERATION" 
-                             value="FIRC_CLK">
-                        <a:a name="IMPORTER_INFO">
                           <a:v>@DEF</a:v>
-                          <a:v>@CALC</a:v>
                         </a:a>
                       </d:var>
-                      <d:var name="McuCoreClockDivider" type="INTEGER" value="1">
-                        <a:a name="IMPORTER_INFO" value="@DEF"/>
-                      </d:var>
-                      <d:var name="McuBusClockDivider" type="INTEGER" value="1">
-                        <a:a name="IMPORTER_INFO" value="@DEF"/>
-                      </d:var>
-                      <d:var name="McuSlowClockDivider" type="INTEGER" value="2">
-                        <a:a name="IMPORTER_INFO" value="@DEF"/>
-                      </d:var>
+                      <d:var name="McuSystemClockSwitch" type="ENUMERATION" 
+                             value="SPLL_CLK"/>
+                      <d:var name="McuCoreClockDivider" type="INTEGER" value="2"/>
+                      <d:var name="McuBusClockDivider" type="INTEGER" value="2"/>
+                      <d:var name="McuSlowClockDivider" type="INTEGER" value="4"/>
                       <d:var name="McuScgClkOutFrequency" type="FLOAT" 
-                             value="2.4E7">
+                             value="1.6E8">
                         <a:a name="IMPORTER_INFO">
-                          <a:v>@DEF</a:v>
                           <a:v>@CALC</a:v>
+                          <a:v>@DEF</a:v>
                         </a:a>
                       </d:var>
                     </d:ctr>
@@ -520,22 +483,19 @@
                              value="true">
                         <a:a name="IMPORTER_INFO" value="@DEF"/>
                       </d:var>
-                      <d:var name="McuSOSCFrequency" type="FLOAT" 
-                             value="8000000.0">
-                        <a:a name="IMPORTER_INFO" value="@DEF"/>
-                      </d:var>
+                      <d:var name="McuSOSCFrequency" type="FLOAT" value="1.6E7"/>
                       <d:var name="McuSOSCDiv2Frequency" type="FLOAT" 
-                             value="8000000.0">
+                             value="1.6E7">
                         <a:a name="IMPORTER_INFO">
-                          <a:v>@DEF</a:v>
                           <a:v>@CALC</a:v>
+                          <a:v>@DEF</a:v>
                         </a:a>
                       </d:var>
                       <d:var name="McuSOSCDiv1Frequency" type="FLOAT" 
-                             value="8000000.0">
+                             value="4000000.0">
                         <a:a name="IMPORTER_INFO">
-                          <a:v>@DEF</a:v>
                           <a:v>@CALC</a:v>
+                          <a:v>@DEF</a:v>
                         </a:a>
                       </d:var>
                       <d:var name="McuSOSCEnable" type="BOOLEAN" value="true">
@@ -552,9 +512,7 @@
                       <d:var name="McuSOSCDiv2" type="INTEGER" value="1">
                         <a:a name="IMPORTER_INFO" value="@DEF"/>
                       </d:var>
-                      <d:var name="McuSOSCDiv1" type="INTEGER" value="1">
-                        <a:a name="IMPORTER_INFO" value="@DEF"/>
-                      </d:var>
+                      <d:var name="McuSOSCDiv1" type="INTEGER" value="4"/>
                       <d:var name="McuSOSCRangeSelect" type="ENUMERATION" 
                              value="HIGH_FREQ_RANGE">
                         <a:a name="IMPORTER_INFO" value="@DEF"/>
@@ -608,9 +566,7 @@
                     </d:ctr>
                     <d:ctr name="McuFIRCClockConfig" type="IDENTIFIABLE">
                       <d:var name="McuFIRCUnderMcuControl" type="BOOLEAN" 
-                             value="false">
-                        <a:a name="IMPORTER_INFO" value="@DEF"/>
-                      </d:var>
+                             value="true"/>
                       <d:var name="McuFIRCFrequency" type="FLOAT" value="4.8E7">
                         <a:a name="IMPORTER_INFO">
                           <a:v>@DEF</a:v>
@@ -651,58 +607,43 @@
                     </d:ctr>
                     <d:ctr name="McuSystemPll" type="IDENTIFIABLE">
                       <d:var name="McuSystemPllUnderMcuControl" type="BOOLEAN" 
-                             value="false"/>
-                      <d:var name="McuSPLLFrequency" type="FLOAT" value="9.6E7">
+                             value="true"/>
+                      <d:var name="McuSPLLFrequency" type="FLOAT" value="1.6E8">
                         <a:a name="IMPORTER_INFO">
-                          <a:v>@DEF</a:v>
                           <a:v>@CALC</a:v>
+                          <a:v>@DEF</a:v>
                         </a:a>
                       </d:var>
                       <d:var name="McuSPLLDiv2Frequency" type="FLOAT" 
-                             value="4.8E7">
+                             value="4.0E7">
                         <a:a name="IMPORTER_INFO">
-                          <a:v>@DEF</a:v>
                           <a:v>@CALC</a:v>
+                          <a:v>@DEF</a:v>
                         </a:a>
                       </d:var>
                       <d:var name="McuSPLLDiv1Frequency" type="FLOAT" 
-                             value="9.6E7">
+                             value="8.0E7">
                         <a:a name="IMPORTER_INFO">
-                          <a:v>@DEF</a:v>
                           <a:v>@CALC</a:v>
+                          <a:v>@DEF</a:v>
                         </a:a>
                       </d:var>
-                      <d:var name="McuSPLLEnable" type="BOOLEAN" value="false">
-                        <a:a name="IMPORTER_INFO" value="@DEF"/>
-                      </d:var>
+                      <d:var name="McuSPLLEnable" type="BOOLEAN" value="true"/>
                       <d:var name="McuSPLLClockMonitorResetEnable" 
                              type="BOOLEAN" value="false">
                         <a:a name="IMPORTER_INFO" value="@DEF"/>
                       </d:var>
                       <d:var name="McuSPLLClockMonitorEnable" type="BOOLEAN" 
-                             value="false">
-                        <a:a name="IMPORTER_INFO" value="@DEF"/>
-                      </d:var>
-                      <d:var name="McuSPLLDiv2" type="INTEGER" value="2">
-                        <a:a name="IMPORTER_INFO" value="@DEF"/>
-                      </d:var>
-                      <d:var name="McuSPLLDiv1" type="INTEGER" value="1">
-                        <a:a name="IMPORTER_INFO" value="@DEF"/>
-                      </d:var>
+                             value="true"/>
+                      <d:var name="McuSPLLDiv2" type="INTEGER" value="4"/>
+                      <d:var name="McuSPLLDiv1" type="INTEGER" value="2"/>
                       <d:var name="McuSPLLInputClkPreDivider" type="INTEGER" 
                              value="1">
                         <a:a name="IMPORTER_INFO" value="@DEF"/>
                       </d:var>
                       <d:var name="McuSPLLInputFrequency" type="FLOAT" 
-                             value="8000000.0">
-                        <a:a name="IMPORTER_INFO">
-                          <a:v>@DEF</a:v>
-                          <a:v>@CALC</a:v>
-                        </a:a>
-                      </d:var>
-                      <d:var name="McuSPLLMultiplier" type="INTEGER" value="24">
-                        <a:a name="IMPORTER_INFO" value="@DEF"/>
-                      </d:var>
+                             value="1.6E7"/>
+                      <d:var name="McuSPLLMultiplier" type="INTEGER" value="20"/>
                       <d:var name="McuSPLLSelectSourceClock" type="ENUMERATION" 
                              value="SOSC_CLK">
                         <a:a name="IMPORTER_INFO" value="@DEF"/>
@@ -1902,7 +1843,7 @@
                           <a:a name="IMPORTER_INFO" value="@DEF"/>
                         </d:var>
                         <d:var name="McuPeripheralClockSelect" 
-                               type="ENUMERATION" value="SIRC"/>
+                               type="ENUMERATION" value="SOSC"/>
                         <d:var name="McuPeripheralClockDivider" type="INTEGER" 
                                value="1">
                           <a:a name="IMPORTER_INFO" value="@DEF"/>
@@ -1912,7 +1853,12 @@
                           <a:a name="IMPORTER_INFO" value="@DEF"/>
                         </d:var>
                         <d:var name="McuPeripheralClockFrequency" type="FLOAT" 
-                               value="4000000.0"/>
+                               value="1.6E7">
+                          <a:a name="IMPORTER_INFO">
+                            <a:v>@CALC</a:v>
+                            <a:v>@DEF</a:v>
+                          </a:a>
+                        </d:var>
                       </d:ctr>
                       <d:ctr name="McuPeripheralClockConfig_29" 
                              type="IDENTIFIABLE">
@@ -1932,7 +1878,7 @@
                           <a:a name="IMPORTER_INFO" value="@DEF"/>
                         </d:var>
                         <d:var name="McuPeripheralClockSelect" 
-                               type="ENUMERATION" value="SIRC"/>
+                               type="ENUMERATION" value="SOSC"/>
                         <d:var name="McuPeripheralClockDivider" type="INTEGER" 
                                value="1">
                           <a:a name="IMPORTER_INFO" value="@DEF"/>
@@ -1942,7 +1888,7 @@
                           <a:a name="IMPORTER_INFO" value="@DEF"/>
                         </d:var>
                         <d:var name="McuPeripheralClockFrequency" type="FLOAT" 
-                               value="4000000.0"/>
+                               value="1.6E7"/>
                       </d:ctr>
                       <d:ctr name="McuPeripheralClockConfig_30" 
                              type="IDENTIFIABLE">
@@ -1962,7 +1908,7 @@
                           <a:a name="IMPORTER_INFO" value="@DEF"/>
                         </d:var>
                         <d:var name="McuPeripheralClockSelect" 
-                               type="ENUMERATION" value="SIRC"/>
+                               type="ENUMERATION" value="SOSC"/>
                         <d:var name="McuPeripheralClockDivider" type="INTEGER" 
                                value="1">
                           <a:a name="IMPORTER_INFO" value="@DEF"/>
@@ -1972,7 +1918,7 @@
                           <a:a name="IMPORTER_INFO" value="@DEF"/>
                         </d:var>
                         <d:var name="McuPeripheralClockFrequency" type="FLOAT" 
-                               value="4000000.0"/>
+                               value="1.6E7"/>
                       </d:ctr>
                       <d:ctr name="McuPeripheralClockConfig_31" 
                              type="IDENTIFIABLE">
@@ -2015,33 +1961,33 @@
                       <d:ctr name="McuClockReferencePoint_CAN" 
                              type="IDENTIFIABLE">
                         <d:var name="McuClockReferencePointFrequency" 
-                               type="FLOAT" value="4.8E7">
+                               type="FLOAT" value="1.6E7">
                           <a:a name="IMPORTER_INFO">
                             <a:v>@CALC</a:v>
                             <a:v>@DEF</a:v>
                           </a:a>
                         </d:var>
                         <d:var name="McuClockFrequencySelect" 
-                               type="ENUMERATION" value="CUSTOM"/>
+                               type="ENUMERATION" value="SOSC_CLK"/>
                       </d:ctr>
                       <d:ctr name="McuClockReferencePoint_LPUART0_CLK" 
                              type="IDENTIFIABLE">
                         <d:var name="McuClockReferencePointFrequency" 
-                               type="FLOAT" value="4000000.0"/>
+                               type="FLOAT" value="1.6E7"/>
                         <d:var name="McuClockFrequencySelect" 
                                type="ENUMERATION" value="LPUART0_CLK"/>
                       </d:ctr>
                       <d:ctr name="McuClockReferencePoint_LPUART1_CLK" 
                              type="IDENTIFIABLE">
                         <d:var name="McuClockReferencePointFrequency" 
-                               type="FLOAT" value="4000000.0"/>
+                               type="FLOAT" value="1.6E7"/>
                         <d:var name="McuClockFrequencySelect" 
                                type="ENUMERATION" value="LPUART1_CLK"/>
                       </d:ctr>
                       <d:ctr name="McuClockReferencePoint_LPUART2_CLK" 
                              type="IDENTIFIABLE">
                         <d:var name="McuClockReferencePointFrequency" 
-                               type="FLOAT" value="4000000.0"/>
+                               type="FLOAT" value="1.6E7"/>
                         <d:var name="McuClockFrequencySelect" 
                                type="ENUMERATION" value="LPUART2_CLK"/>
                       </d:ctr>
@@ -2071,7 +2017,7 @@
                   </d:ref>
                 </d:ctr>
                 <d:lst name="McuModeSettingConf" type="MAP">
-                  <d:ctr name="McuModeSettingConf_0" type="IDENTIFIABLE">
+                  <d:ctr name="McuModeSettingConf_Run" type="IDENTIFIABLE">
                     <d:var name="McuMode" type="INTEGER" value="0">
                       <a:a name="IMPORTER_INFO">
                         <a:v>@DEF</a:v>
@@ -2086,6 +2032,70 @@
                       <a:a name="IMPORTER_INFO" value="@DEF"/>
                     </d:var>
                   </d:ctr>
+                  <d:ctr name="McuModeSettingConf_HSRun" type="IDENTIFIABLE">
+                    <d:var name="McuMode" type="INTEGER" value="1">
+                      <a:a name="IMPORTER_INFO">
+                        <a:v>@DEF</a:v>
+                        <a:v>@CALC</a:v>
+                      </a:a>
+                    </d:var>
+                    <d:var name="McuPowerMode" type="ENUMERATION" value="HSRUN">
+                      <a:a name="VARIANTS" type="Variant">
+                        <variant:pbvcond>
+                          <variant:criterion 
+                                             value="ASPath:/EB/PostBuildSelectable/Criterions/PostBuildSelectableCriterion"/>
+                          <variant:cond>
+                            <variant:tst expr="0"/>
+                          </variant:cond>
+                        </variant:pbvcond>
+                      </a:a>
+                    </d:var>
+                    <d:var name="McuEnableSleepOnExit" type="BOOLEAN" 
+                           value="false">
+                      <a:a name="IMPORTER_INFO" value="@DEF"/>
+                      <a:a name="VARIANTS" type="Variant">
+                        <variant:pbvcond>
+                          <variant:criterion 
+                                             value="ASPath:/EB/PostBuildSelectable/Criterions/PostBuildSelectableCriterion"/>
+                          <variant:cond>
+                            <variant:tst expr="0"/>
+                          </variant:cond>
+                        </variant:pbvcond>
+                      </a:a>
+                    </d:var>
+                  </d:ctr>
+                  <d:ctr name="McuModeSettingConf_VLPR" type="IDENTIFIABLE">
+                    <d:var name="McuMode" type="INTEGER" value="2">
+                      <a:a name="IMPORTER_INFO">
+                        <a:v>@DEF</a:v>
+                        <a:v>@CALC</a:v>
+                      </a:a>
+                    </d:var>
+                    <d:var name="McuPowerMode" type="ENUMERATION" value="VLPR">
+                      <a:a name="VARIANTS" type="Variant">
+                        <variant:pbvcond>
+                          <variant:criterion 
+                                             value="ASPath:/EB/PostBuildSelectable/Criterions/PostBuildSelectableCriterion"/>
+                          <variant:cond>
+                            <variant:tst expr="0"/>
+                          </variant:cond>
+                        </variant:pbvcond>
+                      </a:a>
+                    </d:var>
+                    <d:var name="McuEnableSleepOnExit" type="BOOLEAN" 
+                           value="false">
+                      <a:a name="IMPORTER_INFO" value="@DEF"/>
+                      <a:a name="VARIANTS" type="Variant">
+                        <variant:pbvcond>
+                          <variant:criterion 
+                                             value="ASPath:/EB/PostBuildSelectable/Criterions/PostBuildSelectableCriterion"/>
+                          <variant:cond>
+                            <variant:tst expr="0"/>
+                          </variant:cond>
+                        </variant:pbvcond>
+                      </a:a>
+                    </d:var>
+                  </d:ctr>
                 </d:lst>
                 <d:lst name="McuRamSectorSettingConf" type="MAP"/>
                 <d:ctr name="McuInterruptEvents" type="IDENTIFIABLE">
@@ -2164,17 +2174,11 @@
                 </d:ctr>
                 <d:ctr name="McuPowerControl" type="IDENTIFIABLE">
                   <d:var name="McuLowVoltageDetectInterruptEnable" 
-                         type="BOOLEAN" value="false">
-                    <a:a name="IMPORTER_INFO" value="@DEF"/>
-                  </d:var>
+                         type="BOOLEAN" value="true"/>
                   <d:var name="McuLowVoltageDetectResetEnable" type="BOOLEAN" 
-                         value="false">
-                    <a:a name="IMPORTER_INFO" value="@DEF"/>
-                  </d:var>
+                         value="true"/>
                   <d:var name="McuLowVoltageWarningInterruptEnable" 
-                         type="BOOLEAN" value="false">
-                    <a:a name="IMPORTER_INFO" value="@DEF"/>
-                  </d:var>
+                         type="BOOLEAN" value="true"/>
                   <d:var name="McuLPODisable" type="BOOLEAN" value="false">
                     <a:a name="IMPORTER_INFO" value="@DEF"/>
                   </d:var>