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.

DP83848Q-Q1: very low speed of transfering rate using DP83848QSQE and RMII

Part Number: DP83848Q-Q1

I have a problem with DP83848QSQE circuit that is the low speed transfer of connection

I have checked the circuit and it seems that its fine, but for instance the scp command has the average speed of 60kb/s

following is the output of ethtool -S eth1:

NIC statistics:
Good Rx Frames: 1848
Broadcast Rx Frames: 15
Multicast Rx Frames: 116
Pause Rx Frames: 0
Rx CRC Errors: 8
Rx Align/Code Errors: 39
Oversize Rx Frames: 0
Rx Jabbers: 18
Undersize (Short) Rx Frames: 0
Rx Fragments: 0
Rx Octets: 2482973
Good Tx Frames: 1524
Broadcast Tx Frames: 96
Multicast Tx Frames: 52
Pause Tx Frames: 0
Deferred Tx Frames: 0
Collisions: 0
Single Collision Tx Frames: 0
Multiple Collision Tx Frames: 0
Excessive Collisions: 0
Late Collisions: 0
Tx Underrun: 0
Carrier Sense Errors: 0
Tx Octets: 131284
Rx + Tx 64 Octet Frames: 40
Rx + Tx 65-127 Octet Frames: 1506
Rx + Tx 128-255 Octet Frames: 147
Rx + Tx 256-511 Octet Frames: 28
Rx + Tx 512-1023 Octet Frames: 109
Rx + Tx 1024-Up Octet Frames: 1589
Net Octets: 2832168
Rx Start of Frame Overruns: 0
Rx Middle of Frame Overruns: 0
Rx DMA Overruns: 0
Rx DMA chan 0: head_enqueue: 1
Rx DMA chan 0: tail_enqueue: 1859
Rx DMA chan 0: pad_enqueue: 0
Rx DMA chan 0: misqueued: 0
Rx DMA chan 0: desc_alloc_fail: 0
Rx DMA chan 0: pad_alloc_fail: 0
Rx DMA chan 0: runt_receive_buf: 0
Rx DMA chan 0: runt_transmit_bu: 0
Rx DMA chan 0: empty_dequeue: 0
Rx DMA chan 0: busy_dequeue: 1650
Rx DMA chan 0: good_dequeue: 1732
Rx DMA chan 0: requeue: 0
Rx DMA chan 0: teardown_dequeue: 0
Tx DMA chan 0: head_enqueue: 1480
Tx DMA chan 0: tail_enqueue: 44
Tx DMA chan 0: pad_enqueue: 0
Tx DMA chan 0: misqueued: 44
Tx DMA chan 0: desc_alloc_fail: 0
Tx DMA chan 0: pad_alloc_fail: 0
Tx DMA chan 0: runt_receive_buf: 0
Tx DMA chan 0: runt_transmit_bu: 551
Tx DMA chan 0: empty_dequeue: 1480
Tx DMA chan 0: busy_dequeue: 0
Tx DMA chan 0: good_dequeue: 1524
Tx DMA chan 0: requeue: 0
Tx DMA chan 0: teardown_dequeue: 0

  • Hi,

    How are you performing throughput testing ?

    What is the link partner connected to DP83848 ?

    Can you please provide a register dump from 00 to 1E for DP83848 when connected to link partner ?

    Thanks,
    Rahul

  • I was trying to transfer a file using scp command.

    I have connected this to amx335 and used the HX2326FNL as the magnetics.

    sure the dump is as follows:

    Offset Values
    ------ ------
    0x0000: 00 00 00 00 00 00 02 20 05 00 05 05 04 00 00 00
    0x0010: ff ff 02 30 ff ff ff ff 01 00 00 00 7e b0 02 30
    0x0020: 25 b5 c0 11 00 00 00 00 00 00 00 20 07 00 00 07
    0x0030: 04 00 00 00 33 33 02 30 01 00 00 00 04 00 00 00
    0x0040: 00 01 02 30 01 00 00 5e 04 00 00 00 80 01 02 30
    0x0050: 00 00 00 c2 04 00 00 00 80 01 02 30 03 00 00 c2
    0x0060: 04 00 00 00 80 01 02 30 0e 00 00 c2 00 00 00 00
    0x0070: 00 00 01 20 03 00 03 03 04 00 00 00 ff ff 01 30
    0x0080: ff ff ff ff 01 00 00 00 7e b0 01 30 23 b5 c0 11
    0x0090: 04 00 00 00 33 33 01 30 01 00 00 00 04 00 00 00
    0x00a0: 00 01 01 30 01 00 00 5e 04 00 00 00 80 01 01 30
    0x00b0: 00 00 00 c2 04 00 00 00 80 01 01 30 03 00 00 c2
    0x00c0: 04 00 00 00 80 01 01 30 0e 00 00 c2 04 00 00 00
    0x00d0: 33 33 02 30 25 b5 c0 ff 04 00 00 00 00 01 02 30
    0x00e0: fb 00 00 5e 04 00 00 00 00 01 02 30 fc 00 00 5e
    0x00f0: 04 00 00 00 33 33 02 30 fb 00 00 00 04 00 00 00
    0x0100: 33 33 02 30 03 00 01 00 00 00 00 00 00 00 00 00
    0x0110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0180: 08 00 00 00 14 38 02 40 4f 29 89 28 00 00 00 00
    0x0190: 7e b0 00 f0 25 b5 c0 11 08 00 00 00 14 38 02 40
    0x01a0: 4f 29 89 28 08 00 00 00 14 38 02 40 4f 29 89 28
    0x01b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x01c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x01d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x01e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

  • Hi,

    Can you please let me know, how I can read this register dump ?

    For example Register 2h (PHYIDR1) and Reg 3h (PHY IDR2) should be fixed valued for DP83848.

    For throughput testing I would recommend using Iperf. SCP command bandwidth limitation can be caused because of the processor as well.

    Regards,
    Rahul

  • Can you please explain the way you recommended(Iperf.scp)

  • Hi Amir,

    Those are two words iperf and SCP.

    SCP is for file transfer.

    For checking throughput, I would recommend to use Iperf3 tool if available.

    Regards,
    Rahul