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.

TDA4VM: Open questions for the Enet driver (PDK)

Part Number: TDA4VM

Hi TI,

I need an explanation of the directories and the hierarchy levels in the Enet driver (pdk).

include and src directory consists of:

  1. common
  2. core
  3. dma
  4. mod
  5. per
  6. phy

src/core contains

Questions:

  1. What is enet_rm responsible for ? Are the files related to udma? How it is connected with with ethernet?
  2. How RM is connected with UDMA ?
  3. What is enet_queue responsible for ? Are the files related to udma? How it is connected with with ethernet?
  4. Can you please explain the hierarchy levels of enet driver with respect to what is connected to udma and what is connected to cpsw?

Looking forward to hearing back from you.

Best regards,
Hasan

  • Hi,

    I am looking into this and will get back to you soon.

    Best Regards,
    Sudheer

  • Hi,

    • What is enet_rm responsible for ? Are the files related to udma? How it is connected with with ethernet?
    • How RM is connected with UDMA ?

    enet_rm is responsible for allocation of resources (like MAC Address, UDMA Tx channel number, Rx Flow number to be requested for allocation) to the cores i.e. self ethfw and remote client cores.

    • What is enet_queue responsible for ? Are the files related to udma? How it is connected with with ethernet?

    This is kind of support APIs for the handling of UDMA Descriptors and Data Buffers/Queues for Transfer of Data and other.. 

    Can you please explain the hierarchy levels of enet driver with respect to what is connected to udma and what is connected to cpsw?

    Please refer to User Guide and API Guide of ent module in PDK for more details.

    If you need baremental driver example for Ethernet CPSW2G, please refer to Eth Driver and MCUSW (which is MCAL driver for Ethernet Module).
    Sample data transfer application will be "EthExampleApp.c" from "ti-processor-sdk-rtos-j721e-evm-xx-xx-xx/mcusw/mcal_drv/mcal/examples/Eth/eth_example_app/target/EthExampleApp.c"

    Best Regards,
    Sudheer