Open Andy041292 opened 3 years ago
Hi Andy,
On Mon, Sep 14, 2020 at 3:16 AM Andy041292 notifications@github.com wrote:
Hi. I have a several questions regarding the project, please, guide me a little if you have time.
- Is this project fully operational? (I mean at least at some extent, so it can adjust to the master with pretty nice accuracy)
This project is several years old, but at one point was fully functional on STM32F4 hardware. It would synchronize the clock with the master to within a few microseconds.
- What transport does this project support? Only UDP or Raw Ethernet too?
I can't recall the details.
- Can this project be used without RTOS only with HAL lib?
This project was written just as the STM32 HAL library was being introduced and uses the older STM32 Standard Peripheral Library. I don't think it would be very easy to separate from the CMSIS RTOS API, but could be possible.
- Does this project support PTPv2 and hardware timestamping?
Hardware timestamping is used exclusively and it should support the PTPv2 protocol (90% sure it was based on older PTPv2 client code).
- Is there something for PPS generation there?
Not specifically. However, the STM32 precision clock that is being used does seem to have the capability to produce a PPS signal which could be enabled.
- Can it be ported on STM32f746?
The issue for the STM32F7 devices is the lack of support for the older STM32 Standard Peripheral Library on the devices (they only support the new HAL libraries). This will make porting the code a bit difficult.
I have a much new version of the code that supports STM32F4 and STM32F7 devices, STM32 Nucleo hardware to make testing easier, supports both PTPD slave and master mode (synchronized against a GPS device) and supports the STM32 HAL libraries. This code is active use at my day job and should be much more refined and robust. Unfortunately, I don't yet have this code released and posted to Github. This is probably something I can do fairly soon, but I can't make promises as I'm very busy with work projects at this time.
Mike Thompson
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mpthompson/stm32_f4_ptpd/issues/5, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANLN5GIJFQQX7Z2YKCNEYLSFXUPNANCNFSM4RLNI46A .
Thank you a lot for the answers!
Hi. I have a several questions regarding the project, please, guide me a little if you have time.