hi,everyone:
I want to use the SJA1105 Ethernet switching chip to realize the time synchronization function based on the 1588 protocol, how should I proceed in the design stage, can give the implementation method from both hardware design and software design; if I need to configure the software, I will choose the SPI interface, the current reference data sheet is the SJA1105PQRS, but it is not enough to support me to complete the configuration of the The current reference data sheet is SJA1105PQRS, but it is not enough to support me to complete the understanding of how to realize the above function, please give help Please guide me on how to proceed with this design , thank you very much!
Hello @Jack22 ,
SJA1105 doesn't not have internal uC. So, you need a host controller to run gPTP stack.
Running an AVB bridge stack on the SoC (host controller) and the needed trapping of PTP frames is described in AH 1704, e.g. 7.3 Timestamping and AVB and 7.6.6 PTP.
You may also check out chapter 5.5 in Open Industrial Linux User Guide v1.10 .
Best regards,
Pavel