2025-12-09
1:17 AM
- last edited on
2025-12-23
6:34 AM
by
Lina_DABASINSKA
Hello there,
I'm playing with the NUCLEO-H743ZI2 board and having difficultis with PTP.
When TSIE (MACIER is set the interrupt is getting retriggered endlessly.
I've tried to clear TSIS by reading both MACISR as well as MACTSSR (TXTSSIS bit set).
The manual states this is a way to achieve this, but neither register is cleared.
BTW, the alternate way (MACCSRSWCR) semes not being supported altho I've tried that as well.
Just at the interrupt entry:
macisr = ETH->MACISR; // 0x1000
mactssr = ETH->MACTSSR; // 0x8000
macisr2 = ETH->MACISR; // 0x1000
mactssr2 = ETH->MACTSSR; // 0x8000
macisr3 = ETH->MACISR; // 0x1000
Where am I doing the wrong thing?
Thank you for any input.
The ST Community moderator has edited the post to comply with the code sharing guidelines. In the future, use the </> button to paste code and linker script content. For more information, see: How to insert source code.
Solved! Go to Solution.
2025-12-10 2:18 AM
I'd guess turning off PTP in the switch would yield that.
To ensure priorities you might have to do traffic shaping as well, that's our plan.
2025-12-10 3:32 AM
At least on the STM32 side, traffic shaping will be almost impossible with PTP offload.
Not enough info about this feature running completely in the background. My tests showed me that the offload packets cannot be given / have no priority.
This is possible with the "manual" PTPd stuff and its timers via UDP.
2025-12-10 9:18 PM
I might be wrong but don't see traffic shaping making any sense at end points.
In our case the switch will handle the profile.