BJQX-ZHENGCHAO\Zhengchao 2 лет назад
Родитель
Сommit
539ced0843
2 измененных файлов с 255 добавлено и 320 удалено
  1. 253 318
      config/Mcl.xdm
  2. 2 2
      config/Uart.xdm

+ 253 - 318
config/Mcl.xdm

@@ -114,237 +114,6 @@
                   </d:ctr>
                 </d:lst>
                 <d:lst name="dmaLogicChannel_Type" type="MAP">
-                  <d:ctr name="UART0_TX" type="IDENTIFIABLE">
-                    <d:var name="dmaLogicChannel_LogicName" type="STRING" 
-                           value="DMA_LOGIC_CH_UART0_TX"/>
-                    <d:var name="dmaLogicChannel_HwInstId" type="ENUMERATION" 
-                           value="DMA_IP_HW_INST_0">
-                      <a:a name="IMPORTER_INFO">
-                        <a:v>@DEF</a:v>
-                        <a:v>@CALC</a:v>
-                      </a:a>
-                    </d:var>
-                    <d:var name="dmaLogicChannel_HwChId" type="ENUMERATION" 
-                           value="DMA_IP_HW_CH_0">
-                      <a:a name="IMPORTER_INFO">
-                        <a:v>@DEF</a:v>
-                        <a:v>@CALC</a:v>
-                      </a:a>
-                    </d:var>
-                    <d:var name="dmaLogicChannel_InterruptCallback" 
-                           type="FUNCTION-NAME" 
-                           value="Lpuart_0_Uart_Ip_DmaTxCompleteCallback"/>
-                    <d:var name="dmaLogicChannel_ErrorInterruptCallback" 
-                           type="FUNCTION-NAME" value="NULL_PTR">
-                      <a:a name="IMPORTER_INFO" value="@DEF"/>
-                    </d:var>
-                    <d:var name="dmaLogicChannel_EnableGlobalConfig" 
-                           type="BOOLEAN" value="true"/>
-                    <d:var name="dmaLogicChannel_EnableTransferConfig" 
-                           type="BOOLEAN" value="false"/>
-                    <d:var name="dmaLogicChannel_EnableScatterGather" 
-                           type="BOOLEAN" value="false"/>
-                    <d:ctr name="dmaLogicChannel_ConfigType" 
-                           type="IDENTIFIABLE">
-                      <d:ctr name="dmaLogicChannel_GlobalConfigType" 
-                             type="IDENTIFIABLE">
-                        <d:ctr name="dmaLogicChannelConfig_GlobalRequestType" 
-                               type="IDENTIFIABLE">
-                          <d:var name="dmaGlobalRequest_enDmamuxTrigger" 
-                                 type="BOOLEAN" value="false">
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:var>
-                          <d:var name="dmaGlobalRequest_enDmamuxSource" 
-                                 type="BOOLEAN" value="true"/>
-                          <d:var name="dmaGlobalRequest_Dmamux0HwRequest" 
-                                 type="ENUMERATION" 
-                                 value="DMA_IP_REQ_MUX0_LPUART0_TX"/>
-                          <d:var name="dmaGlobalRequest_enDmaRequest" 
-                                 type="BOOLEAN" value="true"/>
-                        </d:ctr>
-                        <d:ctr name="dmaLogicChannelConfig_GlobalInterruptType" 
-                               type="IDENTIFIABLE">
-                          <d:var name="dmaGlobalInterrupt_enDmaErrorInterrupt" 
-                                 type="BOOLEAN" value="false"/>
-                        </d:ctr>
-                        <d:ctr name="dmaLogicChannelConfig_GlobalPriorityType" 
-                               type="IDENTIFIABLE">
-                          <d:var name="dmaGlobalPriority_LevelPriority" 
-                                 type="ENUMERATION" value="DMA_IP_LEVEL_PRIO0">
-                            <a:a name="IMPORTER_INFO">
-                              <a:v>@DEF</a:v>
-                              <a:v>@CALC</a:v>
-                            </a:a>
-                          </d:var>
-                          <d:var name="dmaGlobalPriority_enPreemption" 
-                                 type="BOOLEAN" value="false">
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:var>
-                          <d:var name="dmaGlobalPriority_disPreempt" 
-                                 type="BOOLEAN" value="false">
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:var>
-                        </d:ctr>
-                      </d:ctr>
-                      <d:ctr name="dmaLogicChannel_TransferConfigType" 
-                             type="IDENTIFIABLE">
-                        <d:ctr name="dmaLogicChannelConfig_TransferControlType" 
-                               type="IDENTIFIABLE">
-                          <d:var name="dmaLogicChannelConfig_enStart" 
-                                 type="BOOLEAN" value="false"/>
-                          <d:var 
-                                 name="dmaLogicChannelConfig_enDmaMajorInterrupt" 
-                                 type="BOOLEAN" value="false">
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:var>
-                          <d:var 
-                                 name="dmaLogicChannelConfig_enDmaHalfMajorInterrupt" 
-                                 type="BOOLEAN" value="false">
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:var>
-                          <d:var name="dmaLogicChannelConfig_disDmaAutoHwReq" 
-                                 type="BOOLEAN" value="false">
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:var>
-                          <d:var name="dmaLogicChannelConfig_bandwidthControl" 
-                                 type="ENUMERATION" 
-                                 value="DMA_IP_BWC_ENGINE_NO_STALL">
-                            <a:a name="IMPORTER_INFO">
-                              <a:v>@DEF</a:v>
-                              <a:v>@CALC</a:v>
-                            </a:a>
-                          </d:var>
-                          <d:var 
-                                 name="dmaLogicChannelConfig_ScatterGatherAddressType" 
-                                 type="STRING" value="0U">
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:var>
-                          <d:var 
-                                 name="dmaLogicChannelConfig_DestinationStoreAddressType" 
-                                 type="STRING" value="0U">
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:var>
-                        </d:ctr>
-                        <d:ctr name="dmaLogicChannelConfig_TransferSourceType" 
-                               type="IDENTIFIABLE">
-                          <d:var name="dmaLogicChannelConfig_SourceAddressType" 
-                                 type="STRING" value="0">
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:var>
-                          <d:var 
-                                 name="dmaLogicChannelConfig_SourceSignedOffsetType" 
-                                 type="INTEGER" value="0">
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:var>
-                          <d:var 
-                                 name="dmaLogicChannelConfig_SourceLastAddressAdjustmentType" 
-                                 type="INTEGER" value="0">
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:var>
-                          <d:var name="dmaTransferConfig_TransferSizeType" 
-                                 type="ENUMERATION" 
-                                 value="DMA_IP_TRANSFER_SIZE_1_BYTE">
-                            <a:a name="IMPORTER_INFO">
-                              <a:v>@DEF</a:v>
-                              <a:v>@CALC</a:v>
-                            </a:a>
-                          </d:var>
-                          <d:var name="dmaLogicChannelConfig_SourceModuloType" 
-                                 type="INTEGER" value="0">
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:var>
-                        </d:ctr>
-                        <d:ctr 
-                               name="dmaLogicChannelConfig_TransferDestinationType" 
-                               type="IDENTIFIABLE">
-                          <d:var 
-                                 name="dmaLogicChannelConfig_DestinationAddressType" 
-                                 type="STRING" value="0">
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:var>
-                          <d:var 
-                                 name="dmaLogicChannelConfig_DestinationSignedOffsetType" 
-                                 type="INTEGER" value="0">
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:var>
-                          <d:var 
-                                 name="dmaLogicChannelConfig_DestinationLastAddressAdjustmentType" 
-                                 type="INTEGER" value="0">
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:var>
-                          <d:var name="dmaTransferConfig_TransferSizeType" 
-                                 type="ENUMERATION" 
-                                 value="DMA_IP_TRANSFER_SIZE_1_BYTE">
-                            <a:a name="IMPORTER_INFO">
-                              <a:v>@DEF</a:v>
-                              <a:v>@CALC</a:v>
-                            </a:a>
-                          </d:var>
-                          <d:var 
-                                 name="dmaLogicChannelConfig_DestinationModuloType" 
-                                 type="INTEGER" value="0">
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:var>
-                        </d:ctr>
-                        <d:ctr 
-                               name="dmaLogicChannelConfig_TransferMinorLoopType" 
-                               type="IDENTIFIABLE">
-                          <d:var name="dmaLogicChannelConfig_enSourceOffset" 
-                                 type="BOOLEAN" value="false">
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:var>
-                          <d:var 
-                                 name="dmaLogicChannelConfig_enDestinationOffset" 
-                                 type="BOOLEAN" value="false">
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:var>
-                          <d:var name="dmaLogicChannelConfig_OffsetValueType" 
-                                 type="INTEGER" value="0">
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:var>
-                          <d:var name="dmaLogicChannelConfig_enMinorLoopLinkCh" 
-                                 type="BOOLEAN" value="false">
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:var>
-                          <d:ref 
-                                 name="dynamic_dmaLogicChannelConfig_MinorLoopLinkChValueType" 
-                                 type="REFERENCE" >
-                            <a:a name="ENABLE" value="false"/>
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:ref>
-                          <d:var name="dmaLogicChannelConfig_MinorLoopSizeType" 
-                                 type="INTEGER" value="0">
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:var>
-                        </d:ctr>
-                        <d:ctr 
-                               name="dmaLogicChannelConfig_TransferMajorLoopType" 
-                               type="IDENTIFIABLE">
-                          <d:var name="dmaLogicChannelConfig_enMajorLoopLinkCh" 
-                                 type="BOOLEAN" value="false">
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:var>
-                          <d:ref 
-                                 name="dynamic_dmaLogicChannelConfig_MajorLoopLinkChValueType" 
-                                 type="REFERENCE" >
-                            <a:a name="ENABLE" value="false"/>
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:ref>
-                          <d:var 
-                                 name="dmaLogicChannelConfig_MajorLoopCountType" 
-                                 type="INTEGER" value="1">
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:var>
-                        </d:ctr>
-                      </d:ctr>
-                      <d:ctr name="dmaLogicChannel_ScatterGatherConfigType" 
-                             type="IDENTIFIABLE">
-                        <d:lst 
-                               name="dmaLogicChannelConfig_ScatterGatherArrayType" 
-                               type="MAP"/>
-                      </d:ctr>
-                    </d:ctr>
-                  </d:ctr>
                   <d:ctr name="UART0_RX" type="IDENTIFIABLE">
                     <d:var name="dmaLogicChannel_LogicName" type="STRING" 
                            value="DMA_LOGIC_CH_UART0_RX"/>
@@ -356,12 +125,7 @@
                       </a:a>
                     </d:var>
                     <d:var name="dmaLogicChannel_HwChId" type="ENUMERATION" 
-                           value="DMA_IP_HW_CH_1">
-                      <a:a name="IMPORTER_INFO">
-                        <a:v>@DEF</a:v>
-                        <a:v>@CALC</a:v>
-                      </a:a>
-                    </d:var>
+                           value="DMA_IP_HW_CH_0"/>
                     <d:var name="dmaLogicChannel_InterruptCallback" 
                            type="FUNCTION-NAME" 
                            value="Lpuart_0_Uart_Ip_DmaRxCompleteCallback"/>
@@ -372,11 +136,9 @@
                     <d:var name="dmaLogicChannel_EnableGlobalConfig" 
                            type="BOOLEAN" value="true"/>
                     <d:var name="dmaLogicChannel_EnableTransferConfig" 
-                           type="BOOLEAN" value="false">
-                      <a:a name="IMPORTER_INFO" value="@DEF"/>
-                    </d:var>
-                    <d:var name="dmaLogicChannel_EnableScatterGather" 
                            type="BOOLEAN" value="true"/>
+                    <d:var name="dmaLogicChannel_EnableScatterGather" 
+                           type="BOOLEAN" value="false"/>
                     <d:ctr name="dmaLogicChannel_ConfigType" 
                            type="IDENTIFIABLE">
                       <d:ctr name="dmaLogicChannel_GlobalConfigType" 
@@ -403,7 +165,7 @@
                         <d:ctr name="dmaLogicChannelConfig_GlobalPriorityType" 
                                type="IDENTIFIABLE">
                           <d:var name="dmaGlobalPriority_LevelPriority" 
-                                 type="ENUMERATION" value="DMA_IP_LEVEL_PRIO1"/>
+                                 type="ENUMERATION" value="DMA_IP_LEVEL_PRIO0"/>
                           <d:var name="dmaGlobalPriority_enPreemption" 
                                  type="BOOLEAN" value="false"/>
                           <d:var name="dmaGlobalPriority_disPreempt" 
@@ -2514,9 +2276,9 @@
                       </d:ctr>
                     </d:ctr>
                   </d:ctr>
-                  <d:ctr name="UART1_TX" type="IDENTIFIABLE">
+                  <d:ctr name="UART1_RX" type="IDENTIFIABLE">
                     <d:var name="dmaLogicChannel_LogicName" type="STRING" 
-                           value="DMA_LOGIC_CH_UART1_TX"/>
+                           value="DMA_LOGIC_CH_UART1_RX"/>
                     <d:var name="dmaLogicChannel_HwInstId" type="ENUMERATION" 
                            value="DMA_IP_HW_INST_0">
                       <a:a name="IMPORTER_INFO">
@@ -2525,15 +2287,10 @@
                       </a:a>
                     </d:var>
                     <d:var name="dmaLogicChannel_HwChId" type="ENUMERATION" 
-                           value="DMA_IP_HW_CH_2">
-                      <a:a name="IMPORTER_INFO">
-                        <a:v>@DEF</a:v>
-                        <a:v>@CALC</a:v>
-                      </a:a>
-                    </d:var>
+                           value="DMA_IP_HW_CH_1"/>
                     <d:var name="dmaLogicChannel_InterruptCallback" 
                            type="FUNCTION-NAME" 
-                           value="Lpuart_1_Uart_Ip_DmaTxCompleteCallback"/>
+                           value="Lpuart_1_Uart_Ip_DmaRxCompleteCallback"/>
                     <d:var name="dmaLogicChannel_ErrorInterruptCallback" 
                            type="FUNCTION-NAME" value="NULL_PTR">
                       <a:a name="IMPORTER_INFO" value="@DEF"/>
@@ -2541,9 +2298,7 @@
                     <d:var name="dmaLogicChannel_EnableGlobalConfig" 
                            type="BOOLEAN" value="true"/>
                     <d:var name="dmaLogicChannel_EnableTransferConfig" 
-                           type="BOOLEAN" value="false">
-                      <a:a name="IMPORTER_INFO" value="@DEF"/>
-                    </d:var>
+                           type="BOOLEAN" value="true"/>
                     <d:var name="dmaLogicChannel_EnableScatterGather" 
                            type="BOOLEAN" value="false">
                       <a:a name="IMPORTER_INFO" value="@DEF"/>
@@ -2562,7 +2317,7 @@
                                  type="BOOLEAN" value="true"/>
                           <d:var name="dmaGlobalRequest_Dmamux0HwRequest" 
                                  type="ENUMERATION" 
-                                 value="DMA_IP_REQ_MUX0_LPUART1_TX"/>
+                                 value="DMA_IP_REQ_MUX0_LPUART1_RX"/>
                           <d:var name="dmaGlobalRequest_enDmaRequest" 
                                  type="BOOLEAN" value="true"/>
                         </d:ctr>
@@ -2576,16 +2331,9 @@
                         <d:ctr name="dmaLogicChannelConfig_GlobalPriorityType" 
                                type="IDENTIFIABLE">
                           <d:var name="dmaGlobalPriority_LevelPriority" 
-                                 type="ENUMERATION" value="DMA_IP_LEVEL_PRIO2">
-                            <a:a name="IMPORTER_INFO">
-                              <a:v>@DEF</a:v>
-                              <a:v>@CALC</a:v>
-                            </a:a>
-                          </d:var>
+                                 type="ENUMERATION" value="DMA_IP_LEVEL_PRIO1"/>
                           <d:var name="dmaGlobalPriority_enPreemption" 
-                                 type="BOOLEAN" value="false">
-                            <a:a name="IMPORTER_INFO" value="@DEF"/>
-                          </d:var>
+                                 type="BOOLEAN" value="false"/>
                           <d:var name="dmaGlobalPriority_disPreempt" 
                                  type="BOOLEAN" value="false">
                             <a:a name="IMPORTER_INFO" value="@DEF"/>
@@ -2753,9 +2501,9 @@
                       </d:ctr>
                     </d:ctr>
                   </d:ctr>
-                  <d:ctr name="UART1_RX" type="IDENTIFIABLE">
+                  <d:ctr name="UART2_RX" type="IDENTIFIABLE">
                     <d:var name="dmaLogicChannel_LogicName" type="STRING" 
-                           value="DMA_LOGIC_CH_UART1_RX"/>
+                           value="DMA_LOGIC_CH_UART2_RX"/>
                     <d:var name="dmaLogicChannel_HwInstId" type="ENUMERATION" 
                            value="DMA_IP_HW_INST_0">
                       <a:a name="IMPORTER_INFO">
@@ -2764,15 +2512,10 @@
                       </a:a>
                     </d:var>
                     <d:var name="dmaLogicChannel_HwChId" type="ENUMERATION" 
-                           value="DMA_IP_HW_CH_3">
-                      <a:a name="IMPORTER_INFO">
-                        <a:v>@DEF</a:v>
-                        <a:v>@CALC</a:v>
-                      </a:a>
-                    </d:var>
+                           value="DMA_IP_HW_CH_2"/>
                     <d:var name="dmaLogicChannel_InterruptCallback" 
                            type="FUNCTION-NAME" 
-                           value="Lpuart_1_Uart_Ip_DmaRxCompleteCallback"/>
+                           value="Lpuart_2_Uart_Ip_DmaRxCompleteCallback"/>
                     <d:var name="dmaLogicChannel_ErrorInterruptCallback" 
                            type="FUNCTION-NAME" value="NULL_PTR">
                       <a:a name="IMPORTER_INFO" value="@DEF"/>
@@ -2780,9 +2523,7 @@
                     <d:var name="dmaLogicChannel_EnableGlobalConfig" 
                            type="BOOLEAN" value="true"/>
                     <d:var name="dmaLogicChannel_EnableTransferConfig" 
-                           type="BOOLEAN" value="false">
-                      <a:a name="IMPORTER_INFO" value="@DEF"/>
-                    </d:var>
+                           type="BOOLEAN" value="true"/>
                     <d:var name="dmaLogicChannel_EnableScatterGather" 
                            type="BOOLEAN" value="false">
                       <a:a name="IMPORTER_INFO" value="@DEF"/>
@@ -2801,7 +2542,7 @@
                                  type="BOOLEAN" value="true"/>
                           <d:var name="dmaGlobalRequest_Dmamux0HwRequest" 
                                  type="ENUMERATION" 
-                                 value="DMA_IP_REQ_MUX0_LPUART1_RX"/>
+                                 value="DMA_IP_REQ_MUX0_LPUART2_RX"/>
                           <d:var name="dmaGlobalRequest_enDmaRequest" 
                                  type="BOOLEAN" value="true"/>
                         </d:ctr>
@@ -2815,14 +2556,9 @@
                         <d:ctr name="dmaLogicChannelConfig_GlobalPriorityType" 
                                type="IDENTIFIABLE">
                           <d:var name="dmaGlobalPriority_LevelPriority" 
-                                 type="ENUMERATION" value="DMA_IP_LEVEL_PRIO3">
-                            <a:a name="IMPORTER_INFO">
-                              <a:v>@DEF</a:v>
-                              <a:v>@CALC</a:v>
-                            </a:a>
-                          </d:var>
+                                 type="ENUMERATION" value="DMA_IP_LEVEL_PRIO2"/>
                           <d:var name="dmaGlobalPriority_enPreemption" 
-                                 type="BOOLEAN" value="true"/>
+                                 type="BOOLEAN" value="false"/>
                           <d:var name="dmaGlobalPriority_disPreempt" 
                                  type="BOOLEAN" value="false">
                             <a:a name="IMPORTER_INFO" value="@DEF"/>
@@ -2990,9 +2726,9 @@
                       </d:ctr>
                     </d:ctr>
                   </d:ctr>
-                  <d:ctr name="UART2_TX" type="IDENTIFIABLE">
+                  <d:ctr name="UART0_TX" type="IDENTIFIABLE">
                     <d:var name="dmaLogicChannel_LogicName" type="STRING" 
-                           value="DMA_LOGIC_CH_UART2_TX"/>
+                           value="DMA_LOGIC_CH_UART0_TX"/>
                     <d:var name="dmaLogicChannel_HwInstId" type="ENUMERATION" 
                            value="DMA_IP_HW_INST_0">
                       <a:a name="IMPORTER_INFO">
@@ -3001,15 +2737,231 @@
                       </a:a>
                     </d:var>
                     <d:var name="dmaLogicChannel_HwChId" type="ENUMERATION" 
-                           value="DMA_IP_HW_CH_4">
+                           value="DMA_IP_HW_CH_3"/>
+                    <d:var name="dmaLogicChannel_InterruptCallback" 
+                           type="FUNCTION-NAME" 
+                           value="Lpuart_0_Uart_Ip_DmaTxCompleteCallback"/>
+                    <d:var name="dmaLogicChannel_ErrorInterruptCallback" 
+                           type="FUNCTION-NAME" value="NULL_PTR">
+                      <a:a name="IMPORTER_INFO" value="@DEF"/>
+                    </d:var>
+                    <d:var name="dmaLogicChannel_EnableGlobalConfig" 
+                           type="BOOLEAN" value="true"/>
+                    <d:var name="dmaLogicChannel_EnableTransferConfig" 
+                           type="BOOLEAN" value="true"/>
+                    <d:var name="dmaLogicChannel_EnableScatterGather" 
+                           type="BOOLEAN" value="false"/>
+                    <d:ctr name="dmaLogicChannel_ConfigType" 
+                           type="IDENTIFIABLE">
+                      <d:ctr name="dmaLogicChannel_GlobalConfigType" 
+                             type="IDENTIFIABLE">
+                        <d:ctr name="dmaLogicChannelConfig_GlobalRequestType" 
+                               type="IDENTIFIABLE">
+                          <d:var name="dmaGlobalRequest_enDmamuxTrigger" 
+                                 type="BOOLEAN" value="false">
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:var>
+                          <d:var name="dmaGlobalRequest_enDmamuxSource" 
+                                 type="BOOLEAN" value="true"/>
+                          <d:var name="dmaGlobalRequest_Dmamux0HwRequest" 
+                                 type="ENUMERATION" 
+                                 value="DMA_IP_REQ_MUX0_LPUART0_TX"/>
+                          <d:var name="dmaGlobalRequest_enDmaRequest" 
+                                 type="BOOLEAN" value="true"/>
+                        </d:ctr>
+                        <d:ctr name="dmaLogicChannelConfig_GlobalInterruptType" 
+                               type="IDENTIFIABLE">
+                          <d:var name="dmaGlobalInterrupt_enDmaErrorInterrupt" 
+                                 type="BOOLEAN" value="false"/>
+                        </d:ctr>
+                        <d:ctr name="dmaLogicChannelConfig_GlobalPriorityType" 
+                               type="IDENTIFIABLE">
+                          <d:var name="dmaGlobalPriority_LevelPriority" 
+                                 type="ENUMERATION" value="DMA_IP_LEVEL_PRIO3"/>
+                          <d:var name="dmaGlobalPriority_enPreemption" 
+                                 type="BOOLEAN" value="false">
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:var>
+                          <d:var name="dmaGlobalPriority_disPreempt" 
+                                 type="BOOLEAN" value="false">
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:var>
+                        </d:ctr>
+                      </d:ctr>
+                      <d:ctr name="dmaLogicChannel_TransferConfigType" 
+                             type="IDENTIFIABLE">
+                        <d:ctr name="dmaLogicChannelConfig_TransferControlType" 
+                               type="IDENTIFIABLE">
+                          <d:var name="dmaLogicChannelConfig_enStart" 
+                                 type="BOOLEAN" value="false"/>
+                          <d:var 
+                                 name="dmaLogicChannelConfig_enDmaMajorInterrupt" 
+                                 type="BOOLEAN" value="false">
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:var>
+                          <d:var 
+                                 name="dmaLogicChannelConfig_enDmaHalfMajorInterrupt" 
+                                 type="BOOLEAN" value="false">
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:var>
+                          <d:var name="dmaLogicChannelConfig_disDmaAutoHwReq" 
+                                 type="BOOLEAN" value="false">
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:var>
+                          <d:var name="dmaLogicChannelConfig_bandwidthControl" 
+                                 type="ENUMERATION" 
+                                 value="DMA_IP_BWC_ENGINE_NO_STALL">
+                            <a:a name="IMPORTER_INFO">
+                              <a:v>@DEF</a:v>
+                              <a:v>@CALC</a:v>
+                            </a:a>
+                          </d:var>
+                          <d:var 
+                                 name="dmaLogicChannelConfig_ScatterGatherAddressType" 
+                                 type="STRING" value="0U">
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:var>
+                          <d:var 
+                                 name="dmaLogicChannelConfig_DestinationStoreAddressType" 
+                                 type="STRING" value="0U">
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:var>
+                        </d:ctr>
+                        <d:ctr name="dmaLogicChannelConfig_TransferSourceType" 
+                               type="IDENTIFIABLE">
+                          <d:var name="dmaLogicChannelConfig_SourceAddressType" 
+                                 type="STRING" value="0">
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:var>
+                          <d:var 
+                                 name="dmaLogicChannelConfig_SourceSignedOffsetType" 
+                                 type="INTEGER" value="0">
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:var>
+                          <d:var 
+                                 name="dmaLogicChannelConfig_SourceLastAddressAdjustmentType" 
+                                 type="INTEGER" value="0">
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:var>
+                          <d:var name="dmaTransferConfig_TransferSizeType" 
+                                 type="ENUMERATION" 
+                                 value="DMA_IP_TRANSFER_SIZE_1_BYTE">
+                            <a:a name="IMPORTER_INFO">
+                              <a:v>@DEF</a:v>
+                              <a:v>@CALC</a:v>
+                            </a:a>
+                          </d:var>
+                          <d:var name="dmaLogicChannelConfig_SourceModuloType" 
+                                 type="INTEGER" value="0">
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:var>
+                        </d:ctr>
+                        <d:ctr 
+                               name="dmaLogicChannelConfig_TransferDestinationType" 
+                               type="IDENTIFIABLE">
+                          <d:var 
+                                 name="dmaLogicChannelConfig_DestinationAddressType" 
+                                 type="STRING" value="0">
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:var>
+                          <d:var 
+                                 name="dmaLogicChannelConfig_DestinationSignedOffsetType" 
+                                 type="INTEGER" value="0">
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:var>
+                          <d:var 
+                                 name="dmaLogicChannelConfig_DestinationLastAddressAdjustmentType" 
+                                 type="INTEGER" value="0">
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:var>
+                          <d:var name="dmaTransferConfig_TransferSizeType" 
+                                 type="ENUMERATION" 
+                                 value="DMA_IP_TRANSFER_SIZE_1_BYTE">
+                            <a:a name="IMPORTER_INFO">
+                              <a:v>@DEF</a:v>
+                              <a:v>@CALC</a:v>
+                            </a:a>
+                          </d:var>
+                          <d:var 
+                                 name="dmaLogicChannelConfig_DestinationModuloType" 
+                                 type="INTEGER" value="0">
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:var>
+                        </d:ctr>
+                        <d:ctr 
+                               name="dmaLogicChannelConfig_TransferMinorLoopType" 
+                               type="IDENTIFIABLE">
+                          <d:var name="dmaLogicChannelConfig_enSourceOffset" 
+                                 type="BOOLEAN" value="false">
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:var>
+                          <d:var 
+                                 name="dmaLogicChannelConfig_enDestinationOffset" 
+                                 type="BOOLEAN" value="false">
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:var>
+                          <d:var name="dmaLogicChannelConfig_OffsetValueType" 
+                                 type="INTEGER" value="0">
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:var>
+                          <d:var name="dmaLogicChannelConfig_enMinorLoopLinkCh" 
+                                 type="BOOLEAN" value="false">
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:var>
+                          <d:ref 
+                                 name="dynamic_dmaLogicChannelConfig_MinorLoopLinkChValueType" 
+                                 type="REFERENCE" >
+                            <a:a name="ENABLE" value="false"/>
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:ref>
+                          <d:var name="dmaLogicChannelConfig_MinorLoopSizeType" 
+                                 type="INTEGER" value="0">
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:var>
+                        </d:ctr>
+                        <d:ctr 
+                               name="dmaLogicChannelConfig_TransferMajorLoopType" 
+                               type="IDENTIFIABLE">
+                          <d:var name="dmaLogicChannelConfig_enMajorLoopLinkCh" 
+                                 type="BOOLEAN" value="false">
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:var>
+                          <d:ref 
+                                 name="dynamic_dmaLogicChannelConfig_MajorLoopLinkChValueType" 
+                                 type="REFERENCE" >
+                            <a:a name="ENABLE" value="false"/>
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:ref>
+                          <d:var 
+                                 name="dmaLogicChannelConfig_MajorLoopCountType" 
+                                 type="INTEGER" value="1">
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:var>
+                        </d:ctr>
+                      </d:ctr>
+                      <d:ctr name="dmaLogicChannel_ScatterGatherConfigType" 
+                             type="IDENTIFIABLE">
+                        <d:lst 
+                               name="dmaLogicChannelConfig_ScatterGatherArrayType" 
+                               type="MAP"/>
+                      </d:ctr>
+                    </d:ctr>
+                  </d:ctr>
+                  <d:ctr name="UART1_TX" type="IDENTIFIABLE">
+                    <d:var name="dmaLogicChannel_LogicName" type="STRING" 
+                           value="DMA_LOGIC_CH_UART1_TX"/>
+                    <d:var name="dmaLogicChannel_HwInstId" type="ENUMERATION" 
+                           value="DMA_IP_HW_INST_0">
                       <a:a name="IMPORTER_INFO">
                         <a:v>@DEF</a:v>
                         <a:v>@CALC</a:v>
                       </a:a>
                     </d:var>
+                    <d:var name="dmaLogicChannel_HwChId" type="ENUMERATION" 
+                           value="DMA_IP_HW_CH_4"/>
                     <d:var name="dmaLogicChannel_InterruptCallback" 
                            type="FUNCTION-NAME" 
-                           value="Lpuart_2_Uart_Ip_DmaTxCompleteCallback"/>
+                           value="Lpuart_1_Uart_Ip_DmaTxCompleteCallback"/>
                     <d:var name="dmaLogicChannel_ErrorInterruptCallback" 
                            type="FUNCTION-NAME" value="NULL_PTR">
                       <a:a name="IMPORTER_INFO" value="@DEF"/>
@@ -3017,9 +2969,7 @@
                     <d:var name="dmaLogicChannel_EnableGlobalConfig" 
                            type="BOOLEAN" value="true"/>
                     <d:var name="dmaLogicChannel_EnableTransferConfig" 
-                           type="BOOLEAN" value="false">
-                      <a:a name="IMPORTER_INFO" value="@DEF"/>
-                    </d:var>
+                           type="BOOLEAN" value="true"/>
                     <d:var name="dmaLogicChannel_EnableScatterGather" 
                            type="BOOLEAN" value="false">
                       <a:a name="IMPORTER_INFO" value="@DEF"/>
@@ -3038,7 +2988,7 @@
                                  type="BOOLEAN" value="true"/>
                           <d:var name="dmaGlobalRequest_Dmamux0HwRequest" 
                                  type="ENUMERATION" 
-                                 value="DMA_IP_REQ_MUX0_LPUART2_TX"/>
+                                 value="DMA_IP_REQ_MUX0_LPUART1_TX"/>
                           <d:var name="dmaGlobalRequest_enDmaRequest" 
                                  type="BOOLEAN" value="true"/>
                         </d:ctr>
@@ -3052,12 +3002,7 @@
                         <d:ctr name="dmaLogicChannelConfig_GlobalPriorityType" 
                                type="IDENTIFIABLE">
                           <d:var name="dmaGlobalPriority_LevelPriority" 
-                                 type="ENUMERATION" value="DMA_IP_LEVEL_PRIO4">
-                            <a:a name="IMPORTER_INFO">
-                              <a:v>@DEF</a:v>
-                              <a:v>@CALC</a:v>
-                            </a:a>
-                          </d:var>
+                                 type="ENUMERATION" value="DMA_IP_LEVEL_PRIO4"/>
                           <d:var name="dmaGlobalPriority_enPreemption" 
                                  type="BOOLEAN" value="false">
                             <a:a name="IMPORTER_INFO" value="@DEF"/>
@@ -3229,9 +3174,9 @@
                       </d:ctr>
                     </d:ctr>
                   </d:ctr>
-                  <d:ctr name="UART2_RX" type="IDENTIFIABLE">
+                  <d:ctr name="UART2_TX" type="IDENTIFIABLE">
                     <d:var name="dmaLogicChannel_LogicName" type="STRING" 
-                           value="DMA_LOGIC_CH_UART2_RX"/>
+                           value="DMA_LOGIC_CH_UART2_TX"/>
                     <d:var name="dmaLogicChannel_HwInstId" type="ENUMERATION" 
                            value="DMA_IP_HW_INST_0">
                       <a:a name="IMPORTER_INFO">
@@ -3240,15 +3185,10 @@
                       </a:a>
                     </d:var>
                     <d:var name="dmaLogicChannel_HwChId" type="ENUMERATION" 
-                           value="DMA_IP_HW_CH_5">
-                      <a:a name="IMPORTER_INFO">
-                        <a:v>@DEF</a:v>
-                        <a:v>@CALC</a:v>
-                      </a:a>
-                    </d:var>
+                           value="DMA_IP_HW_CH_5"/>
                     <d:var name="dmaLogicChannel_InterruptCallback" 
                            type="FUNCTION-NAME" 
-                           value="Lpuart_2_Uart_Ip_DmaRxCompleteCallback"/>
+                           value="Lpuart_2_Uart_Ip_DmaTxCompleteCallback"/>
                     <d:var name="dmaLogicChannel_ErrorInterruptCallback" 
                            type="FUNCTION-NAME" value="NULL_PTR">
                       <a:a name="IMPORTER_INFO" value="@DEF"/>
@@ -3256,9 +3196,7 @@
                     <d:var name="dmaLogicChannel_EnableGlobalConfig" 
                            type="BOOLEAN" value="true"/>
                     <d:var name="dmaLogicChannel_EnableTransferConfig" 
-                           type="BOOLEAN" value="false">
-                      <a:a name="IMPORTER_INFO" value="@DEF"/>
-                    </d:var>
+                           type="BOOLEAN" value="true"/>
                     <d:var name="dmaLogicChannel_EnableScatterGather" 
                            type="BOOLEAN" value="false">
                       <a:a name="IMPORTER_INFO" value="@DEF"/>
@@ -3277,7 +3215,7 @@
                                  type="BOOLEAN" value="true"/>
                           <d:var name="dmaGlobalRequest_Dmamux0HwRequest" 
                                  type="ENUMERATION" 
-                                 value="DMA_IP_REQ_MUX0_LPUART2_RX"/>
+                                 value="DMA_IP_REQ_MUX0_LPUART2_TX"/>
                           <d:var name="dmaGlobalRequest_enDmaRequest" 
                                  type="BOOLEAN" value="true"/>
                         </d:ctr>
@@ -3291,14 +3229,11 @@
                         <d:ctr name="dmaLogicChannelConfig_GlobalPriorityType" 
                                type="IDENTIFIABLE">
                           <d:var name="dmaGlobalPriority_LevelPriority" 
-                                 type="ENUMERATION" value="DMA_IP_LEVEL_PRIO5">
-                            <a:a name="IMPORTER_INFO">
-                              <a:v>@DEF</a:v>
-                              <a:v>@CALC</a:v>
-                            </a:a>
-                          </d:var>
+                                 type="ENUMERATION" value="DMA_IP_LEVEL_PRIO5"/>
                           <d:var name="dmaGlobalPriority_enPreemption" 
-                                 type="BOOLEAN" value="true"/>
+                                 type="BOOLEAN" value="false">
+                            <a:a name="IMPORTER_INFO" value="@DEF"/>
+                          </d:var>
                           <d:var name="dmaGlobalPriority_disPreempt" 
                                  type="BOOLEAN" value="false">
                             <a:a name="IMPORTER_INFO" value="@DEF"/>

+ 2 - 2
config/Uart.xdm

@@ -165,11 +165,11 @@
                       <d:var name="UartInteruptDmaMethod" type="ENUMERATION" 
                              value="LPUART_UART_IP_USING_DMA"/>
                       <d:ref name="UartDmaTxChannelRef" type="REFERENCE" 
-                             value="ASPath:/Mcl/Mcl/MclConfig/UART0_TX">
+                             value="ASPath:/Mcl/Mcl/MclConfig/UART1_TX">
                         <a:a name="ENABLE" value="true"/>
                       </d:ref>
                       <d:ref name="UartDmaRxChannelRef" type="REFERENCE" 
-                             value="ASPath:/Mcl/Mcl/MclConfig/UART0_RX">
+                             value="ASPath:/Mcl/Mcl/MclConfig/UART1_RX">
                         <a:a name="ENABLE" value="true"/>
                       </d:ref>
                       <d:var name="UartParityType" type="ENUMERATION"