ENET statistics counters on FRDM-K64F

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

ENET statistics counters on FRDM-K64F

Jump to solution
920 Views
embeddeddavid
Contributor IV

Hi everyone,

I am running some of the lwIP examples included within the KSDK on a freedom development board (FRDM-K64F). While the examples run ok, all the statistics counters keep holding a zero value. By statistics counters I refer to MIB and Remote Network Monitoring (RFC 2819) registers located at addresses 0x400C0204-0x400C03FF (such as ENET_IEEE_T_OCTETS_OK, ENET_RMON_R_OCTETS, etc.).

Is there anything I am missing? Do these registers have to be explicitly enabled by writing into a specific configuration register?

Any help would be appreciated. Thanks in advance.

Regards,

Tags (3)
1 Solution
715 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,

Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
Please assure enable the MIB logic.

pastedImage_2.png
Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

3 Replies
715 Views
mjbcswitzerland
Specialist V

Hi

    MIBC = (MIB_DISABLE | MIB_CLEAR);                                    // ensure MIB is disabled while resetting and command clear to reset all counters in the maintenance block RAM
    MIBC = 0;

Regards

Mark

716 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,

Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
Please assure enable the MIB logic.

pastedImage_2.png
Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

715 Views
embeddeddavid
Contributor IV

Thanks a lot, Jeremy! That totally worked.

0 Kudos