Other Parts Discussed in Thread: LP-AM243, DP83869, TMDS64EVM
Tool/software:
Hi TI-Team,
I am struggling with enet_lwip_cpsw_am243x-lp_r5fss0-0_freertos_ti-arm-clang example on LP-AM243
We have problems with 1 GBit on our custom board with AM243x ALV and DP83869. Because of the same PHY I switched to LP AM243x and I have the same behavior as on our custom board, when executing enet_lwip_cpsw_am243x-lp_r5fss0-0_freertos_ti-arm-clang:
1 GBps connections are not working
- I do not get an IP-Adress from DHCP server
- I see no corresponding traffic in wireshark
==========================
ENET LWIP App
==========================
Enabling clocks!
EnetAppUtils_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:1 From 4 To 2
Mdio_open: MDIO Manual_Mode enabled
PHY 3 is alive
PHY 15 is alive
Cpsw_handleExternalPhyLinkUp: Port 2: Link up: 1-Gbps Full-Duplex
Starting lwIP, local interface IP is dhcp-enabled
[LWIPIF_LWIP] NETIF INIT SUCCESS
Host MAC address-0 : 1c:63:49:25:19:fb
Host MAC address-0 : 70:ff:76:1f:57:20
[LWIPIF_LWIP] NETIF INIT SUCCESS
[LWIPIF_LWIP] Enet has been started successfully
[0]status_callback==UP, local interface IP is 0.0.0.0
[1]status_callback==UP, local interface IP is 0.0.0.0
UDP server listening on port 5001
link_callback==UP
link_callback==UP
10. 69s : CPU load = 6.69 %
15. 69s : CPU load = 2.70 %
20. 69s : CPU load = 2.68 %
25. 69s : CPU load = 2.68 %
30. 69s : CPU load = 2.67 %
35. 69s : CPU load = 2.68 %
40. 69s : CPU load = 2.69 %
45. 69s : CPU load = 2.68 %
50. 69s : CPU load = 2.68 %
55. 69s : CPU load = 2.68 %
60. 69s : CPU load = 2.68 %
100 MBps connections work fine
- I changed driver settings of network adapter to be fixed to 100 MBps instead of auto-negotiation
- Board sets up link with 100 MBps
- I see traffic, get IP address, everything works
==========================
ENET LWIP App
==========================
Enabling clocks!
EnetAppUtils_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:1 From 4 To 2
Mdio_open: MDIO Manual_Mode enabled
PHY 3 is alive
PHY 15 is alive
Cpsw_handleExternalPhyLinkUp: Port 2: Link up: 100-Mbps Half-Duplex
Starting lwIP, local interface IP is dhcp-enabled
[LWIPIF_LWIP] NETIF INIT SUCCESS
Host MAC address-0 : 1c:63:49:25:19:fb
Host MAC address-0 : 70:ff:76:1f:57:20
[LWIPIF_LWIP] NETIF INIT SUCCESS
[LWIPIF_LWIP] Enet has been started successfully
[0]status_callback==UP, local interface IP is 0.0.0.0
[1]status_callback==UP, local interface IP is 0.0.0.0
UDP server listening on port 5001
link_callback==UP
link_callback==UP
10. 69s : CPU load = 6.69 %
[1]status_callback==UP, local interface IP is 192.168.1.2
15. 69s : CPU load = 2.71 %
20. 69s : CPU load = 2.68 %
25. 69s : CPU load = 2.68 %
Unsure about exact version of LP-AM243, there is a label "PROC109A(001)"
MCU+ SDK AM243x 10.00
I also stumbled accross various different threads having similar problems, but they all seemed to use a older version of SDK but newer boards. Any ideas on this topic what could be the problem in my case?
e2e.ti.com/.../mcu-plus-sdk-am243x-lwip-examples-no-ip-assigned-to-lp
e2e.ti.com/.../lp-am243-lwip-cpsw-no-ip-address-wrong-link-led
e2e.ti.com/.../mcu-plus-sdk-am243x-am243x-launchpad-cpsw-example-does-not-work-but-pru-icss-works-fine






