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.

AM2632: CPSW SDK example issue

Part Number: AM2632

Tool/software:

Hi,

1. CPSW Phy loopback example is execution is not consistent in mcu_plus_sdk_am263x_10_00_00_35 SDK (software-dl.ti.com/.../EXAMPLES_ENET_CPSW_LOOPBACK.html). It works sometimes and I am not able to receive the data back in Rx buffer sometimes. Does it have any timing dependency or any specific test setup is required ? (E.g., Always keep LAN cable connected)

2. CPSW layer 2 switch example is having the runtime error in mcu_plus_sdk_am263x_10_00_00_35 SDK  (https://software-dl.ti.com/mcu-plus-sdk/esd/AM263X/10_00_00_35/exports/docs/api_guide_am263x/EXAMPLES_ENET_LAYER2_CPSW_SWITCH.html). Please check the log below.

Init all configs
----------------------------------------------
cpsw-3g: init config
cpsw-3g: Open port 1
Cpsw_openPortLinkNoPhy:553
Cpsw_handleLinkDown:1652
EnetMod_ioctl:1556
Cpsw_handleLinkDown:1657
Cpsw_internalIoctl_handler_ENET_PER_IOCTL_OPEN_PORT_LINK:199
EnetPer_ioctl:1342
Enet_ioctl:1005
EnetApp_enablePorts() failed to open MAC port: -3
cpsw-3g: Open port 2
cpsw-3g: No PHY configuration found
Assertion @ Line: 547 in C:/ti/mcu_plus_sdk_am263x_09_02_00_56/examples/networking/enet_layer2_cpsw_switch/V1/l2_cpsw_cfg.c: : failed !!!

Thank you,

Shitanshu Desai