How do you connect ENET_QOS_1588 / TSN / Synchronous Ethernet to an external PHY?
I already have RGMII connected but don't know what to do with the 1588 pins, and 1588 is a feature we'd like to implement.
Sorry about the spam. To add to my questions, what does it mean to have event0_in (or event0_aux_in) and event0_out on separate pins? Since both are labelled event0, does that mean only 1 of these signals can be used? Or that they are tied together somehow?
I tried to edit my last comment to add these notes, but I ran out of time to edit the post.
Thanks Zhiming,
Sorry, I'm still confused by the schematic architecture.
Does my block diagram below represent what I need to do?
We need to support PTP and TSN, just not necessarily at the same time. So I'm trying to make the hardware flexible so that the software team have the connections they need for either solution.
Kind regards,
Dan
Thanks Zhiming_Liu,
I don't think my PHY has enough pins for that, which is where I'm confused. It only has 4 GPIO that can be assigned to 1588/TSN/SyncE.
Do we need to connect both IN and AUX_IN for each event? Or just Out and either IN or AUX_IN?
Each of the PHY's GPIO has the following configuration options. Is it P2P_E* or the SyncE options I need for 1588 ?
Kind regards,
Dan
Hi @Dan1111
There are two general applications of IEEE1588.
1.To synchronize the CPU and IO cards, you can use the MAC to MAC RGMII connection for 1588 PTP synchronization. NXP has supported IEEE1588 PTP function in BSP.
2.For periodic events from the CPU card to the IO card, you can use one of the 1588_EVENTx_OUT signals. For this case, you need connect one or two 1588_EVENT signals between PHY and SOC, this is decided by your application. You don't have to connect all of these signals in RM.
Best Regards
Zhiming
Hi
You need connect event gpios between i.MX and external PHY to sync events.
Then set pinctrl function in devicetree, for example, add pinctrl node using
Best Regards
Zhiming