Part Number: DP83867IR
Other Parts Discussed in Thread: DP83869
Hello Experts,
I am working on AM64x EVM with mcu_plus_sdk_am64x_08_00_00_21 FreeRTOS.
EVM is sending/receiving Multicast packets to/from Linux PC and realizes that TX and RX CRC error occurs.
It is confirmed by CPSW3G MAC statistics:
rxGoodFrames :83
rxMcastFrames :83
rxCrcErrors :1
rxAlignCodeErrors :23
txGoodFrames :740
txMcastFrames :735
portMaskDrop :24
aleUnknownMcast :9
aleUnknownMcastBcnt :802
At the PC side, by checking $ethtool -S the CRC error I can see TX CRC error occur (~50% CRC error)..
I tried to set txDelayInPs = 1250U, instead of 1500U like in the gEnetCpbBoard_dp83867PhyCfg and TX CRC problem solved.
However, I tried all value of rxDelayInPs from 0.25 to 4.00 nsec, but RX CRC and rxAlignCodeErrors are still there.
I paste the dp83867IR PHY registesr here for your reference:
PHY 0: BMCR = 0x1140
PHY 0: BMSR = 0x796d
PHY 0: PHYIDR1 = 0x2000
PHY 0: PHYIDR2 = 0xa231
PHY 0: ANAR = 0x01e1
PHY 0: ANLPAR = 0xcde1
PHY 0: ANER = 0x006d
PHY 0: ANNPTR = 0x2001
PHY 0: ANNPRR = 0x4006
PHY 0: CFG1 = 0x0200
PHY 0: STS1 = 0x3800
PHY 0: 1KSCR = 0x3000
PHY 0: PHYCR = 0x5048
PHY 0: PHYSTS = 0xac02
PHY 0: MICR = 0x0000
PHY 0: ISR = 0x0000
PHY 0: CFG2 = 0x29c7
PHY 0: RECR = 0x0019
PHY 0: BISCR = 0x0000
PHY 0: STS2 = 0x0040
PHY 0: LEDCR1 = 0x5160
PHY 0: LEDCR2 = 0x4444
PHY 0: LEDCR3 = 0x0002
PHY 0: CFG3 = 0x0202
PHY 0: CTRL = 0x0000
PHY 0: RGMIICTL = 0x00d3
PHY 0: FLDTHRCFG = 0x0221
PHY 0: VTMCFG = 0x2050
PHY 0: STRAPSTS2 = 0x0100
PHY 0: RGMIIDCTL = 0x0057 //txDelayInPs=1500, rxDelayInPs=2000
PHY 0: LOOPCR = 0xe721
PHY 0: DSPFFECFG = 0x0e81
PHY 0: IOMUXCFG = 0x0c1f
PHY 0: GPIOMUXCTRL = 0x0006
Could you please support me?
Best regards,
Nam