Dear Champs,
My customer is developing AM4372 board to communicate with 2 other boards, e.g. total 3 AM4372 boards will communicate each other using Ethernet, and wants to test both ports of CPSW using EMAC_BasicExample_skAM437x_armBiosExampleProject for it.They will not use UDP or RTP, but will use their own custom protocol.
They changed 'port num' to '1' as below to test port1 in the EMAC_BasicExample_skAM437x_armBiosExample Project, but found system hang at emac_open(1, ...) call.
My questions are
1. Should they set CPSW as Dual MAC mode to test port1? if so, how they can set CPSW as Dual MAC mode?
2. or what should be modified to run port1 loopback test?
3. For their usecase - 3 boards communication each other - 1st and 2nd, 2nd and 3rd, 3rd and 1st boards, should they use dual mac mode? or switch mode can be used? they used UART before and they will use same scenario in the ethernet connection.
4. what is the meaning of 'port_num' in the EMAC API of TI-RTOS LLD?
5. what is the meaning of channels in the EMAC_CHAN_MAC_ADDR_tag Struct of LLD?
Their test environments are
AM4372 SK EVM and pdk_am437x_1_0_16.
Thanks and Best Regards,
SI.