This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM62P: Two MAC ports used by MCAL in parallel

Part Number: AM62P
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hello

We new to configured two MAC ports from MCAL in parallel, which is supported as mentioned in the user mannual. For use any one of them sperately it works . But how to configure the DMA channels? Some DMA channels cannot be used, because it is assigned to A53 by default by board RM configuration, do we need to change board configurations or it can be done via system config? How the resoure id is defined?

Thanks!.

B.R. Changxing Du

  • Hi Changxing, 

    The AM62Px platform supports the use of two MAC ports in parallel. Please follow the steps below to configure the system accordingly:

    Step 1: Share CPSW DMA Resources from WKUP Core to MCU R5 Core
    - This step requires the use of SysConfig tools and k3-resource-partitioning. Kindly contact Texas Instruments (TI) to obtain the k3-resource-partitioning package for AM62Px.
    - For reference and detailed instructions, please refer to the following section in the TI documentation: Multiple Controller and QoS Resource CPSW3G – AM62xx MCAL User Guide

    Step 2: Copy SysConfig Output and Rebuild MCU+ SDK Bootloader
    - After configuring CPSW resources using the SysConfig tool, copy the generated configuration files to the MCU+ SDK directory.
    - Rebuild the SBL/bootloader with the updated files.
    - For more detailed instructions, refer to: Board Configuration Generation – AM62Px Tools Guide

    Step 3: Regenerate Eth/EthTrcv Configuration for Two Controllers
    - Add EthTrcv (Ethernet Transceiver) configuration for the second MAC port.
    - Add Eth (Ethernet) configuration for the second controller.
    - For guidance, please refer again to the following section: Multiple Controller and QoS Resource CPSW3G – AM62xx MCAL User Guide

  • Hi Quan,Nihar,

    I don't know how to get the k3-resource-partitioning as well, can you help share the request link as well?

    BR,

    Biao

  • Hello Biao

    It turns out that k3-resource-partitioning is already included with the MCU+ SDK.
    You can find it inside mcu plus sdk i.e: mcu_plus_sdk_am62px_11_01_00_04/tools/sysfw/boardcfg/k3-resource-partitioning

    To import it into SysConfig, follow these steps:

    1.Open SysConfig.

    2.Go to the Software Product menu and click Import Software Product (magnifying glass icon).

    3.Click Browse, then navigate to the k3-resource-partitioning folder.

    4.Select the file named am62p-evm.syscfg and import it.