Ethernet can receive packets ,but can't send out packets on imx6ul

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

Ethernet can receive packets ,but can't send out packets on imx6ul

633 Views
geliting
Contributor I

The enet1 interface connect to a broadcom switch directly,there is no phy. 

I set the port which on broadcom switch mode to RVMII ,and the enet1's configuration on imx6ul is :

&fec1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet1>;
bcm0-pwr-gpio = <&gpio1 7 1>;
bcm0-resetb-gpio = <&gpio5 2 0>;
phy-mode = "rev-mii";
status = "okay";
fixed-link {
speed = <100>;
full-duplex;
};

};

But now ,the imx6ul only can receive the packets,can't send out any packets.

Labels (1)
0 Kudos
3 Replies

425 Views
geliting
Contributor I

pinctrl_enet1: enet1grp {
fsl,pins = <
MX6UL_PAD_ENET1_RX_EN__ENET1_RX_EN 0x1b0a9
MX6UL_PAD_ENET1_RX_ER__ENET1_RX_ER 0x1b0a9
MX6UL_PAD_ENET1_RX_DATA0__ENET1_RDATA00 0x1b0a9
MX6UL_PAD_ENET1_RX_DATA1__ENET1_RDATA01 0x1b0a9
MX6UL_PAD_ENET1_TX_EN__ENET1_TX_EN 0x1b0a9
MX6UL_PAD_UART1_RTS_B__ENET1_TX_ER 0x1b0a9
MX6UL_PAD_ENET1_TX_DATA0__ENET1_TDATA00 0x000a9
MX6UL_PAD_ENET1_TX_DATA1__ENET1_TDATA01 0x000a9
MX6UL_PAD_ENET1_TX_CLK__ENET1_TX_CLK 0x1b0b0
MX6UL_PAD_UART1_TX_DATA__ENET1_RDATA02 0x1b0a9
MX6UL_PAD_UART1_RX_DATA__ENET1_RDATA03 0x1b0a9
MX6UL_PAD_UART1_CTS_B__ENET1_RX_CLK 0x1b0b0
MX6UL_PAD_UART2_TX_DATA__ENET1_TDATA02 0x000a9
MX6UL_PAD_UART2_RX_DATA__ENET1_TDATA03 0x000a9
MX6UL_PAD_UART2_RTS_B__ENET1_COL 0x1b0b0
MX6UL_PAD_UART2_CTS_B__ENET1_CRS 0x1b0b0
MX6UL_PAD_ENET1_TX_CLK__ENET1_REF_CLK1 0x4001b0a8
MX6UL_PAD_GPIO1_IO07__GPIO1_IO07 0xb0
MX6UL_PAD_SNVS_TAMPER2__GPIO5_IO02 0xb0
>;
};

0 Kudos

426 Views
Carlos_Musich
NXP Employee
NXP Employee

You may try without the last 2 lines:

MX6UL_PAD_GPIO1_IO07__GPIO1_IO07 0xb0
MX6UL_PAD_SNVS_TAMPER2__GPIO5_IO02 0xb0

Probably the tamper pins are being configured for other usage.

0 Kudos

426 Views
geliting
Contributor I

hi carlos,

Thanks for your reply,this issue is not caused by these 2 lines.

I set the phy mode to MII mode,but the tx clock always 50Mhz output, but other side(switch) is RVMII mode,switch is provide the two clock(rxc,txc) to imx6. 

This caused the imx6 can't send out data.But I don't know how to fix this issue ?  Imx6 should not output 50Mhz clock signal.

0 Kudos