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.

6657 网络问题



调试6657的网口,sgmii与phy link不通,在emc_open函数的

/* wait for the Link to Come Up */
do
{
stat = SGMII_REGS->STATUS;
stat = stat & 0x1;
} while( stat != 0x1 );

SGMII_REGS->TX_CFG = config->txConfig;

/* Toggle ENFTP bit */
//SGMII_REGS->TX_CFG = config->txConfig | 0x1000;

for(val = 0; val < 10; val++) asm(" NOP 5 ");

//SGMII_REGS->TX_CFG = config->txConfig & (~(1 << 12));

SGMII_REGS->RX_CFG = config->rxConfig;

这是在设置什么,看手册6657没有TX_CFG ,RX_CFG 寄存器

这是什么原因呢?另外