2024-10-01 07:41 PM
I had some issues configuring H573 with CubeMX.
When I configure TIM2 or TIM3 according to the instructions of RMII_PTP_Synchro in CubeMX I cannot enable the RMII PTP functionality.
And when looking at RM0481 it seems that the description of the relationship between these two timers and ETH MAC is a bit vague.
What configuration is required to enable RMII_PTP_Synchro on H573?
2024-10-02 01:43 AM
Spoiler: even enabling "RMII_PTP_Synchro" in CubeMX won't give you PTP.
Unless there was some big change in HAL_ETH recently, you have to implement PTP on your own. HAL_ETH only gives you some basic register IO functions for PTP.