Skip to main content
Visitor II
October 18, 2022
Question

Bug STM32F429ZI ETH PTP Receive Timestamp

  • October 18, 2022
  • 2 replies
  • 1372 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

    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

    Graduate II
    October 18, 2022

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

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

    vekliAuthor
    Visitor II
    October 18, 2022

    :thumbs_up: Thanks.