RMII configuration in P1013

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RMII configuration in P1013

754 Views
somyaaggarwal08
Contributor II

Hi,

I have a board based on p1013 processor. I have a phy device connected to etsec2 through rmii interface.I want to configure etsec2 in rmii mode from uboot. I have set ETSEC CNTRL as 0x1004 and MACCFG2 as 0x7105 . When i ping host pc from board i get ping failed , host is not alive. The MIB registers like Transmit bye counters and Receive byte counters remain zero during ping. However the physical link shows up at speed 100mbps and full duplex mode. Is there any other rmii configuration  which i may be missing upon?

0 Kudos
5 Replies

628 Views
somyaaggarwal08
Contributor II

Hi,

The problem got resolved. Thank you for the useful information

0 Kudos

628 Views
somyaaggarwal08
Contributor II

Hi,

 eTSEC2_MACCFG1 is 0x5.

In RMII mode  we are using shared reference clock between transmit and receive. We have also  probed the tx clk as 50Mhz

0 Kudos

628 Views
ufedor
NXP Employee
NXP Employee

What is eTSEC2_ECNTRL value?

What is GUTs_PORDEVSR value?

Ensure that cfg_tsec2_prtc is pulled low and cfg_serdes_ports[0:4] does not select SGMII2.

0 Kudos

628 Views
somyaaggarwal08
Contributor II

Hi ufedor

eTSEC2_ECNTRL is 0x100c

GUTs_PORDEVSR is 0x1b5c0040

I am getting error "eSEC2: tsec: tx error"

We have ensured that cfg_tsec2_prtc is pulled low and cfg_serdes_ports[0:4] does not select SGMII2 (10111)

0 Kudos

628 Views
ufedor
NXP Employee
NXP Employee

What is the eTSEC2_MACCFG1 value?

Ensure that TX_CLK and RX_CLK are applied to the processor.

0 Kudos