cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 PTP NETXDUO

FB__1
Associate III

Hello,

 

I would like to know if this PTP client example from Netxduo can be used on an STM32H723 MCU: 

https://github.com/eclipse-threadx/rtos-docs/blob/main/rtos-docs/netx-duo/netx-duo-ptp-client/chapter1.md

 

Another MCU, the STM32N6 has this implementation here: https://github.com/STMicroelectronics/STM32CubeN6/tree/main/Projects/NUCLEO-N657X0-Q/Applications/NetXDuo/Nx_PTP_Client

 

I wanted to confirm if the STM32H723 does support that example because i am looking at https://github.com/STMicroelectronics/x-cube-azrtos-h7/tree/main/Projects and I cannot find any ...

 

Thank you.

12 REPLIES 12

Yes, some time ago.

But since my own experiments with PTP offload (sync quality decreasing with ethernet traffic, compared to stable PTPd) I skipped it.

WTieg.1
Associate II

I read the code of STM32N6,netxduo ptpclient.c and found the ptp implentmation is base on software clock.

Not base on ethernet ptp registers.

FB__1
Associate III

I am satisfied with the NETXDUO PTP performance. I got very good precision below 1usec with the NETXDUO PTP client on the STM32N6 and ptp4l.

I used :

//PPS control register:
TRGTMODSEL[1:0] = 00b -> Interrupt-only mode
PPSEN0 = 1 to enable PPS channel 0