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.

TDA4VH-Q1: Main domain CPSW2G

Part Number: TDA4VH-Q1
Other Parts Discussed in Thread: TDA4VH

Hi Expert,

In TDA4VH datasheet, I can see we support the Main domain CPSW2G and it support RGMII interface, my customer Hirain want to connect main domain ethernet(cpsw9g) with mcu domain (mcu_cpsw2g) ethernet via mac to mac, but we don't support RGMII in cpsw9g, so customer want use main domain CPSW2G mac to mac connect with MCU_CPSW2G and connect CPSW9G with Main domain via interconnect. 

my question is:

1. do we have test the Main domain CPSW2G? can it connect with CPSW9G? 

2. if we can support this dataflow, do you think there is some better dataflow? customer don't want use IPC because it will cost some CPU loading.

BR,

Biao

  • Hi Biao,

    so customer want use main domain CPSW2G mac to mac connect with MCU_CPSW2G and connect CPSW9G with Main domain via interconnect. 

    Each CPSW instance is separate entity in Soc.

    As per your request I understood like you want to connect MCU CPSW2G to Main CPSW9G and and CPSW9G will connect to external work.
    I hope in above MCU CPSW2G running MCAL Eth Driver?

    If so, you have two options.
    1. Use RGMII PHY for MCU CPSW2G and SGMII PHY to CPSW9G and connect them both externally using RJ45 cable.
    2. Use Main CPSW2G and MCU CPSW2G in MAC-to-MAC RGMII connection and run MCAL Application on MCU CPSW2G and Linux Native driver for Main CPSW2G, as you want to communicate the CPSW9G run Native Linux driver for CPSW9G as well and create a bridge interface on top of Main CPSW2G and CPSW9G.

    In above option-2 use bridge forwarding data base rules (S/W forwarding) and forward the packets b/w MCU CPSW2G and CPSW9G. In this case Hardware forwarding is not possible as MCU CPSW2G is not directly connected to CPSW9G.

    Please refer to FAQ [How to move to Native Linux driver].
    For bridge interface creation and adding forwarding rules, please refer to Linux documentation.

    Best Regards,
    Sudheer