Skip to main content
vekli
Associate II
October 18, 2022
Question

Bug STM32F429ZI ETH PTP Receive Timestamp

  • October 18, 2022
  • 2 replies
  • 1389 views

STM32Cube FW_F4 V1.27.1

HAL ETH PTP

file

stm32f4xx_hal_eth.c

function HAL_StatusTypeDef HAL_ETH_ReadData(ETH_HandleTypeDef *heth, void **pAppBuff)

line 1115, 1117

   /* Get timestamp high */

   heth->RxDescList.TimeStamp.TimeStampHigh = dmarxdesc->DESC6;

   /* Get timestamp low */

   heth->RxDescList.TimeStamp.TimeStampLow = dmarxdesc->DESC7;

fix:

   /* Get timestamp high */

   heth->RxDescList.TimeStamp.TimeStampHigh = dmarxdesc->DESC7;

   /* Get timestamp low */

   heth->RxDescList.TimeStamp.TimeStampLow = dmarxdesc->DESC6;

This topic has been closed for replies.

2 replies

KDJEM.1
ST Technical Moderator
October 18, 2022

Hello @vekli​,

Thank you for bringing this issue to our attention.

I confirm the issue and I reported internally.

Internal ticket number: 137009 (This is an internal tracking number and is not accessible or usable by customers).

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Thank you

Kaouthar

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.
Piranha
Principal III
October 18, 2022

This topic has several more flaws for the PTP API reported:

https://community.st.com/s/question/0D50X00009XkYXsSAN/stm32f427-ptp-implementation

vekli
vekliAuthor
Associate II
October 18, 2022

:thumbs_up: Thanks.