-
Notifications
You must be signed in to change notification settings - Fork 15
[Bug]: NetX Ethernet PTP Transmit Timestamps not Captured #32
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingethEthernet MAC (Media Access Controller)Ethernet MAC (Media Access Controller)halHAL-LL driver-related issue or pull-request.HAL-LL driver-related issue or pull-request.internal bug trackerIssue confirmed and logged into the internal bug tracking systemIssue confirmed and logged into the internal bug tracking system
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingethEthernet MAC (Media Access Controller)Ethernet MAC (Media Access Controller)halHAL-LL driver-related issue or pull-request.HAL-LL driver-related issue or pull-request.internal bug trackerIssue confirmed and logged into the internal bug tracking systemIssue confirmed and logged into the internal bug tracking system
Type
Fields
Give feedbackNo fields configured for Bug.
Projects
StatusShow more project fields
Analyzed
Bug Summary
When _nx_driver_hardware_packet_send() is called with a packet setting NX_INTERFACE_CAPABILITY_PTP_TIMESTAMP, a transmit timestamp isn't captured.
Detailed Description
Packets setting NX_INTERFACE_CAPABILITY_PTP_TIMESTAMP should capture a timestamp on transmit. For STM32H5 variants with MULTI_QUEUE_FEATURE there is the following code:
However, no such code exists for variants without MULTI_QUEUE_FEATURE. This means that transmit timestamps aren't captured and
HAL_ETH_TxPtpCallbackandnx_ptp_client_packet_timestamp_notifyare never called, breaking PTP.To fix this the above code snippet needs to be added here.
Expected Behavior
A timestamp is captured on a packet setting NX_INTERFACE_CAPABILITY_PTP_TIMESTAMP
Actual Behavior
No timestamp is captured
Environment
NetXduo
Severity
Normal