DP83822H: Bit error counting

Part Number: DP83822H


What I want to do is counting up total error frames (CRC, fragment, undersize, etc).
I thought the following registers have something to do with the implementation. 
  Table 8-101. 0x04A1 Receive Status Register (RXFS)   : bit6
  Table 8-34. 0x0015 Receive Error Count Register (RECR)

My DP83822 setting is like below.
  100base-tx
  rgmii

Could you give me advice? (if it's correct or not)

  • Hi Koike-san,

    Unfortunately, DP838222 only has error counters for symbol errors (register 15h). For other errors, you will have to utilize MAC’s error counters.

    Best,

    J

  • Hi J,

    Thank you for replying. Let me confirm.

    DP83822 cannot count up CRC errors.

    DP83822 can detect at least one bad CRC frame received by using 0x04A1:6 register.

    Am I correct?

  • Hi Koike-san, 

    DP83822 cannot count up CRC errors. 
    I just checked on the EVM if the bit you mentioned goes high. However, I do not see the bit going high when packets with CRC error is sent. 
    So, DP83822 cannot detect CRC errors coming in from the RJ45 side. 

    Best,
    J