cancel
Showing results for 
Search instead for 
Did you mean: 

Bug STM32F429ZI ETH PTP Receive Timestamp

vekli
Associate II

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;

3 REPLIES 3
KDJEM.1
ST Employee

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 Accept as Solution on the reply which solved your issue or answered your question.

vekli
Associate II

:thumbs_up: Thanks.

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

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