How to do Ethernet internal loop back test in IMX6dl?

cancel
Showing results for 
Search instead for 
Did you mean: 

How to do Ethernet internal loop back test in IMX6dl?

Jump to solution
1,726 Views
Contributor I

My ethernet is working properly from uboot in normal mode of operation on iMx6dl. but when I carried out an  internel MAC loop back  it doesn't generate a receive event and i donot get a value in the receive buffer.

Following is the procedure i have done ,

1. Send an ethernet ping packet in normal mode, polled for receive event ,got reply and verified my transmit and receive procedures are perfect.

2. Enabled Loop back mode by setting up  loop back bit in the receive control register.

3. send a packet (verified packet is not transmitted to the network).

4. poll for receive event .

....

but i neither get a receive event nor any values in receive buffer .

Is there something else i have to do rather than setting loopback bit.

Please help.

ismail

Labels (1)
Tags (2)
0 Kudos
1 Solution
22 Views
NXP Employee
NXP Employee

Try setting this register to RCR | 0xD i.e set bits 3,2 and 0.

Best regards,

-Mahesh

View solution in original post

0 Kudos
2 Replies
23 Views
NXP Employee
NXP Employee

Try setting this register to RCR | 0xD i.e set bits 3,2 and 0.

Best regards,

-Mahesh

View solution in original post

0 Kudos
22 Views
Contributor I

Bit 3 promiscuous mode was my key....i was doing everything but the bit 3..thanks a lot for you answer Mahesh Mahadevan.

0 Kudos