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.

LP-AM243: Connect to two Ethernet subnets

Part Number: LP-AM243

Hi,

I'd like to connect LP-AM243 to two different subnets at the same time, e.g. ETH port 1 to a router with 192.168.0.0/24 subnet and ETH port 2 to another router with 192.168.1.0/24 subnet. What should I have to configure in syscfg to be able to achieve that? Using CPSW or ICCSG interface? Dual-MAC or switch mode for ICCSG? Using one or both ICCSG instances?

Thank you very much,

Cong-Van

  • Hi Cong-Van,

    Please note, our recommendation is using CPSW for any of std. Ethernet requirements. ICSSG is recommended for industrial Ethernet applications.

    Regarding your query, you need to use CPSW Dual MAC with LwIP stack running on each of the port. Currently, it's not supported and planned for SDK8.5 (Nov 2022 release).

    Meanwhile, you can refer to LwIP examples in SDK for single MAC use-cases. They are located at  mcu_plus_sdk_am243x_08_04_00_17\examples\networking\lwip.

    Regards,

    Prasad

  • Thanks Prasad,

    I am looking forward to seeing that in SDK8.5. Dual MAC support is the main reason we consider AM243x for our products.

    Kind regards,

    Cong-Van

  • I looked into AM243x User's Manual about CPSW details but couldn't find anything about dual MAC support in CPSW; that does not seem to be available at all. Does that mean ICSSG is the only option for two IP addresses?

  • Hi Cong-Van,

    The dual MAC feature is called as MAC only mode in CPSW terminology (CPSW switch IP can have more than 2 ports, so it doesn't remain dual MAC anymore!)

    In fact, the concept (removing port from switching port so it becomes independent - MAC only mode) is same in ICSSG as well but as ICSSG always have 2 ports, it's getting called as DUAL MAC mode.

    Please look for MAC Only mode in AM243x user guide and you can see multiple references describing this feature. Copying one such instance below -

    Regards,

    Prasad