Skip to content
Commit 90b32276 authored by Chen Caidy's avatar Chen Caidy Committed by Anas Nashif
Browse files

drivers: ethernet: mcux: improve receive timestamp accuracy



When ENET_ENHANCEDBUFFERDESCRIPTOR_MODE enabled,
MAC will automatic capture receive nanosecond from 1588TMR
and return back to ENET_ReadFrame. It is a highest accuracy
recv timestamp_ns, we do not need manually read from 1588TMR.

By this change, receive timestamp accuracy increase
from 20us to 200ns above.

Signed-off-by: default avatarChen Caidy <chen@caidy.cc>
parent 5f9e698d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment