ENET statistics counters on FRDM-K64F

cancel
Showing results for 
Search instead for 
Did you mean: 

ENET statistics counters on FRDM-K64F

Jump to solution
247 Views
Contributor III

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
42 Views
NXP TechSupport
NXP TechSupport

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
42 Views
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

43 Views
NXP TechSupport
NXP TechSupport

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

42 Views
Contributor III

Thanks a lot, Jeremy! That totally worked.

0 Kudos