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.

AM2634: CPSW handling multiple streams of data

Part Number: AM2634


Tool/software:

Can the switch fabric in AM263x handle two data streams simultaneously?

E.g. External port 1 receives information forwards to external port 2 and send information on the same external port 1 from the internal port (controller). There are seperate receive and transmit FIFOs so up to that point it looks feasible, the Question is related to the MAC. Is the switch full duplex during sending and receiving process or there is a wait delay?

Thanks.

  • Hi Chris,

    As per my understanding,

    Yes, the switch fabric in the AM263x CPSW can handle two data streams simultaneously. The CPSW is designed to support full-duplex communication, which allows concurrent data transfers between ports without blocking, provided there are sufficient resources and the paths do not overlap.

    • Separate FIFOs: Each CPSW port (external and host) has separate Tx FIFOs and Rx FIFOs, enabling independent handling of incoming and outgoing data streams. This separation ensures that transmitting data does not block or interfere with receiving data.
    • MAC Capability: The MACs in CPSW are designed for full-duplex operation, meaning they can simultaneously send and receive frames on the same port without a wait delay, as long as the internal switch fabric and buffers are not congested.

    Potential Bottlenecks
    While the CPSW switch fabric supports full-duplex communication, there are scenarios where contention might occur:
    • FIFO Overflow: If the FIFOs fill up due to high traffic rates, the switch may drop packets or introduce delays.
    • Fabric Congestion: Excessive traffic through the switch fabric may temporarily increase latency.

    I will also once confirm with the design experts and update the thread if required.

    Regards,
    Shaunak