Other Parts Discussed in Thread: AM2434
Hi,
We design our new hardware board with AM2434 ALX, now we are debugging CPSW 3G with dp83822, but some thing goes wrong, there are two questions.
question1: dp83822 can link up, but my computer can't ping to the board after got the IP. of course, the IP is not from DHCP server but from autoip_create_addr() of LWIP.
question2: when pull out the ethernet cable, the code will loop all the time in the CpswMacPort_reset(), the “do” is always 0.
my environments are as follows:
Environments:
- IDE: CCS 10.3.1
- SDK: mcu_plus_sdk_am64x_08_01_00_36
- PHY: DP83822
- ethernet interface: RMII2
- test case source: mcu_plus_sdk_am243x_08_01_00_36\examples\networking\lwip\enet_lwip_cpsw\am243x-lp
I use mcu_plus_sdk_am243x_08_01_00_36\examples\networking\lwip\enet_lwip_cpsw\am243x-lp as the source example, and changed the pin config, phy address, add dp83822 configuration to gEnetCpbBoard_am64xEthPort structure in Enet_board_cfg.c, and add some configure code to Dp83822_config() in dp83822.c.
it seems some configuration was not correct.