Skip to main content
Visitor II
May 30, 2018
Question

STM32F427 PTP Implementation

  • May 30, 2018
  • 11 replies
  • 9968 views
Posted on May 30, 2018 at 12:08

Hi everyone,

We are using the STM32F427.We have devices that need to work synchronously.So we decided to use PTP but we have no experience in this matter.

I have reviewed the AN3411 document to learn how to use PTP.But I do not fully understand and I can't implement it.

I could not find the project mentioned in this file.I also could not find the PTP libraries.(ptpd-1.0.0 & ptpd-2.0.0).

We are currently using our devices as a tcp server.

We don't use RTOS.

Any help would be great.

#an3411 #ieee-1588 #ptp #stm32f427
    This topic has been closed for replies.

    11 replies

    Graduate II
    May 21, 2023

    Another bug in this broken bloatware:

    https://github.com/STMicroelectronics/STM32CubeF4/blob/964d63294cab82f77c5a568ab3b4a9ea6c6d5a2a/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_eth.c#L1469

    The code in function HAL_ETH_ReleaseTxPacket() below this line reads PTP timestamp and calls PTP callback for every descriptor, but the timestamp is only valid for a descriptor of the last segment with LS (last segment) and TTSS (transmit time stamp status) bits set in TDES0.

    This bug is present in the reworked drivers for F4, F7 and H7.