2022-10-18 05:00 AM
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;
2022-10-18 06:17 AM
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.
2022-10-18 07:21 AM
:thumbs_up: Thanks.
2022-10-18 12:44 PM
This topic has several more flaws for the PTP API reported:
https://community.st.com/s/question/0D50X00009XkYXsSAN/stm32f427-ptp-implementation