I have the ADTJA1101-RMII board, attached to the S32K148EVB-Q176. I'm trying to see how well this ethernet board performs, and to do that, I need to discover what errors are being discovered by the chip.
I see in the SDK that there is a list of statistics being gathered, but I have no clue what they are - is there documentation about the 'enet_counter_t' enums? This set is found in enet_driver.h.
Many thanks in advance.
There is this
uint32_t ENET_DRV_GetCounter(uint8_t instance, enet_counter_t counter)
function defined in enet_drive.c.
It takes an enet_counter_t number as an argument.
The enum is basically a list of numbers that represents ENET registers.
The function then returns the requested number from the corresponding ENET register.
For example, ENET_CTR_RMON_T_PACKETS which is 1 in the enum.
S32K1xx RM rev.12.1, Section 57.5.34 Tx Packet Count Statistic Register (ENET_RMON_T_PACKETS).
As you can see below, it is a list of ENET statistics counters.
S32K1xx RM, Section 57.5 Memory map/register definition