Jelajahi Sumber

1、使能DIO flip API
2、优化PLL配置,scg_clk_out 配置为SLOW_CLK

BJQX-ZHENGCHAO\Zhengchao 2 tahun lalu
induk
melakukan
5d9c3a47d9
2 mengubah file dengan 5 tambahan dan 7 penghapusan
  1. 1 3
      config/Dio.xdm
  2. 4 4
      config/Mcu.xdm

+ 1 - 3
config/Dio.xdm

@@ -183,9 +183,7 @@
                 <d:var name="DioReversePortBits" type="BOOLEAN" value="false">
                   <a:a name="IMPORTER_INFO" value="@DEF"/>
                 </d:var>
-                <d:var name="DioFlipChannelApi" type="BOOLEAN" value="false">
-                  <a:a name="IMPORTER_INFO" value="@DEF"/>
-                </d:var>
+                <d:var name="DioFlipChannelApi" type="BOOLEAN" value="true"/>
                 <d:var name="DioReadZeroForUndefinedPortPins" type="BOOLEAN" 
                        value="false">
                   <a:a name="IMPORTER_INFO" value="@DEF"/>

+ 4 - 4
config/Mcu.xdm

@@ -325,7 +325,7 @@
                       <a:a name="IMPORTER_INFO" value="@DEF"/>
                     </d:var>
                     <d:var name="McuScgClkOutSelect" type="ENUMERATION" 
-                           value="SPLL_CLK"/>
+                           value="SLOW_CLK"/>
                     <d:ctr name="McuRunClockConfig" type="IDENTIFIABLE">
                       <d:var name="McuPreDivSystemClockFrequency" type="FLOAT" 
                              value="4.8E7">
@@ -368,7 +368,7 @@
                       <d:var name="McuBusClockDivider" type="INTEGER" value="2"/>
                       <d:var name="McuSlowClockDivider" type="INTEGER" value="4"/>
                       <d:var name="McuScgClkOutFrequency" type="FLOAT" 
-                             value="1.6E8">
+                             value="2.0E7">
                         <a:a name="IMPORTER_INFO">
                           <a:v>@CALC</a:v>
                           <a:v>@DEF</a:v>
@@ -422,7 +422,7 @@
                       <d:var name="McuBusClockDivider" type="INTEGER" value="4"/>
                       <d:var name="McuSlowClockDivider" type="INTEGER" value="2"/>
                       <d:var name="McuScgClkOutFrequency" type="FLOAT" 
-                             value="0.0">
+                             value="1000000.0">
                         <a:a name="IMPORTER_INFO">
                           <a:v>@CALC</a:v>
                           <a:v>@DEF</a:v>
@@ -471,7 +471,7 @@
                       <d:var name="McuBusClockDivider" type="INTEGER" value="2"/>
                       <d:var name="McuSlowClockDivider" type="INTEGER" value="4"/>
                       <d:var name="McuScgClkOutFrequency" type="FLOAT" 
-                             value="1.6E8">
+                             value="2.0E7">
                         <a:a name="IMPORTER_INFO">
                           <a:v>@CALC</a:v>
                           <a:v>@DEF</a:v>