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: What is the CPPI?

Part Number: TDA4VM
Other Parts Discussed in Thread: TDA4VH

Hi,

experts.

I want to communicate mcu domain and main domain with ethernet.

I confirmed TDA4VH has two ethernet switchs which have each 2 / 9 ports.

Q1. What is the CPPI? ethernet switch has one internal port and that is connected to DMA.

Q2. Can I intercommunicate main and mcu with ethernet CPPI?

Q3. On MCU domain, How does MCU get some ethernet data? Does MCU need to read DMA that gets data from ethernet port 1?

Thank you.

  • Hi,

    What is the CPPI? ethernet switch has one internal port and that is connected to DMA.

    The internal port is called a CPPI host port. Its a streaming interface to provide data from dma to cpsw and vice-versa.

    Can I intercommunicate main and mcu with ethernet CPPI?

    No. There are 3 CPSW in TDA4VH : MCU_CPSW2G, MAIN_CPSW2G, and MAIN_CPSW9G. All of them will have there own independent CPPI ports.

    On MCU domain, How does MCU get some ethernet data? Does MCU need to read DMA that gets data from ethernet port 1?

    On both the domains, Main and MCU, the CPSW IP is the same and hence the data path is also the same. When we receive some data on ethernet ports, that goes through ALE is forwarded to the host port. The host port then puts the packet on the PSIL thread which the software has to map to some dma channels. Depending on this mapping, the dma can then send the data to the core.

    Hope this helps. You can refer to the CPSW section (12.2.2) in the TRM for more details on this.

    Regards,
    Tanmay