LS1043A MAC-TO-MAC Connection internal RGMII delay

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1043A MAC-TO-MAC Connection internal RGMII delay

735 Views
timsalabim
Contributor II

Dear NXP Support Team, 

I have a custumer which is using a LS1043A on a custom baseboard on one of the RGMII interfaces a FPGA is connected via a MAC-to-MAC connection.

Since I cannot find any information how to activate the RGMII delay in the LS1043A MAC,
I like to know if it is possible to set an internal RGMII delay if a MAC-to-MAC connection is used, or the delay has to done by a proper routing on the PCB. 

best regards 

Labels (1)
0 Kudos
Reply
3 Replies

685 Views
Hector_Villarruel
NXP TechSupport
NXP TechSupport

Hello @timsalabim 

Hope this email finds you well,

You said on your last reply:

"Since I cannot find any information how to activate the RGMII delay in the LS1043A MAC,
I like to know if it is possible to set an internal RGMII delay if a MAC-to-MAC connection is used,".

"Proper operation of the RGMII bus requires careful control of the timing relationship between clock and data signals.

The LS1043A Data to clock input skew (at receiver) implies that PC board design will require clocks to be routed such that an additional trace delay of greater than 1.5 ns is added to the associated clock signal. Many PHY vendors already incorporate the necessary delay inside their device. If so, additional PCB delay is probably not needed.

Try to use via as less as possible on RGMII interface traces to minimize the timing skew. Keep RGMII interface traces less than 6 inches long, minimizing the interface timing skew.

It’s advised to keep the difference of the traces lengths less than 400 mils among the TX and the RX part. ".

I would also like to recommend you to check the  section "7.6.1.5.3 Time-Stamp Delays for Supported Mode" from the QorIQ LS1043A Data Path Acceleration Architecture (DPAA) Reference Manual, Rev. 0".

Have a great day.

BR,

Hector V

0 Kudos
Reply

677 Views
timsalabim
Contributor II

Hello Hector, 

thank you for the detailed reply it is very helpful in term of the hardware design, I'm interested in a software base solution since our customer missed to implement the RGMII delay on his PCB. 

Our customer has a MAC-to-MAC connection, on the remote device it is not possible to activate the RGMII delay so I'm wondering if this is possible in the LS10143A MAC.

In Linux device tree it is possible to add a the RGMII delay on the MAC with the "phy-mode" device tree properties "rx-internal-delay-ps" and "tx-internal-delay-ps". 

I need to know if these properties are supported by the LS1043A MAC.

https://www.kernel.org/doc/Documentation/devicetree/bindings/net/ethernet-controller.yaml

rx-internal-delay-ps:
          description:
            RGMII Receive Clock Delay defined in pico seconds. This is used for
            controllers that have configurable RX internal delays. If this
            property is present then the MAC applies the RX delay.
        tx-internal-delay-ps:
          description:
            RGMII Transmit Clock Delay defined in pico seconds. This is used for
            controllers that have configurable TX internal delays. If this
            property is present then the MAC applies the TX delay.

 

 

 

0 Kudos
Reply

622 Views
Hector_Villarruel
NXP TechSupport
NXP TechSupport

Hello @timsalabim 

Hope this post finds you well,

Unfortunately, from the sotfware side, it is not possible.

Thank you so much for your understading.

Have a great day!

BR,

Hector V

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2160663%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ELS1043A%20MAC-TO-MAC%20Connection%20internal%20RGMII%20delay%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2160663%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%20NXP%20Support%20Team%2C%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20a%20custumer%20which%20is%20using%20a%20LS1043A%20on%20a%20custom%20baseboard%20on%20one%20of%20the%20RGMII%20interfaces%20a%20FPGA%20is%20connected%20via%20a%20MAC-to-MAC%20connection.%3CBR%20%2F%3E%3CBR%20%2F%3ESince%20I%20cannot%20find%20any%20information%20how%20to%20activate%20the%20RGMII%20delay%20in%20the%20LS1043A%20MAC%2C%3CBR%20%2F%3EI%20like%20to%20know%20if%20it%20is%20possible%20to%20set%20an%20internal%20RGMII%20delay%20if%20a%20MAC-to-MAC%20connection%20is%20used%2C%20or%20the%20delay%20has%20to%20done%20by%20a%20proper%20routing%20on%20the%20PCB.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3Ebest%20regards%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2160663%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EQorIQ%20LS1%20Devices%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2165369%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LS1043A%20MAC-TO-MAC%20Connection%20internal%20RGMII%20delay%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2165369%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F180431%22%20target%3D%22_blank%22%3E%40timsalabim%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHope%20this%20post%20finds%20you%20well%2C%3C%2FP%3E%0A%3CP%3EUnfortunately%2C%20from%20the%20sotfware%20side%2C%20it%20is%20not%20possible.%3C%2FP%3E%0A%3CP%3EThank%20you%20so%20much%20for%20your%20understading.%3C%2FP%3E%0A%3CP%3EHave%20a%20great%20day!%3C%2FP%3E%0A%3CP%3EBR%2C%3C%2FP%3E%0A%3CP%3EHector%20V%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2162857%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LS1043A%20MAC-TO-MAC%20Connection%20internal%20RGMII%20delay%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2162857%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20Hector%2C%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3Ethank%20you%20for%20the%20detailed%20reply%20it%20is%20very%20helpful%20in%20term%20of%20the%20hardware%20design%2C%20I'm%20interested%20in%20a%20software%20base%20solution%20since%20our%20customer%20missed%20to%20implement%20the%20RGMII%20delay%20on%20his%20PCB.%26nbsp%3B%3C%2FP%3E%3CP%3EOur%20customer%20has%20a%20MAC-to-MAC%20connection%2C%20on%20the%20remote%20device%20it%20is%20not%20possible%20to%20activate%20the%20RGMII%20delay%20so%20I'm%20wondering%20if%20this%20is%20possible%20in%20the%20LS10143A%20MAC.%3CBR%20%2F%3E%3CBR%20%2F%3EIn%20Linux%20device%20tree%20it%20is%20possible%20to%20add%20a%20the%20RGMII%20delay%20on%20the%20MAC%20with%20the%20%22phy-mode%22%20device%20tree%20properties%20%22rx-internal-delay-ps%22%20and%20%22tx-internal-delay-ps%22.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EI%20need%20to%20know%20if%20these%20properties%20are%20supported%20by%20the%20LS1043A%20MAC.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fwww.kernel.org%2Fdoc%2FDocumentation%2Fdevicetree%2Fbindings%2Fnet%2Fethernet-controller.yaml%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.kernel.org%2Fdoc%2FDocumentation%2Fdevicetree%2Fbindings%2Fnet%2Fethernet-controller.yaml%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CPRE%3Erx-internal-delay-ps%3A%0A%20%20%20%20%20%20%20%20%20%20description%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20RGMII%20Receive%20Clock%20Delay%20defined%20in%20pico%20seconds.%20This%20is%20used%20for%0A%20%20%20%20%20%20%20%20%20%20%20%20controllers%20that%20have%20configurable%20RX%20internal%20delays.%20If%20this%0A%20%20%20%20%20%20%20%20%20%20%20%20property%20is%20present%20then%20the%20MAC%20applies%20the%20RX%20delay.%0A%20%20%20%20%20%20%20%20tx-internal-delay-ps%3A%0A%20%20%20%20%20%20%20%20%20%20description%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20RGMII%20Transmit%20Clock%20Delay%20defined%20in%20pico%20seconds.%20This%20is%20used%20for%0A%20%20%20%20%20%20%20%20%20%20%20%20controllers%20that%20have%20configurable%20TX%20internal%20delays.%20If%20this%0A%20%20%20%20%20%20%20%20%20%20%20%20property%20is%20present%20then%20the%20MAC%20applies%20the%20TX%20delay.%3C%2FPRE%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2162409%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LS1043A%20MAC-TO-MAC%20Connection%20internal%20RGMII%20delay%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2162409%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F180431%22%20target%3D%22_blank%22%3E%40timsalabim%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHope%20this%20email%20finds%20you%20well%2C%3C%2FP%3E%0A%3CP%3EYou%20said%20on%20your%20last%20reply%3A%3C%2FP%3E%0A%3CP%3E%22Since%20I%20cannot%20find%20any%20information%20how%20to%20activate%20the%20RGMII%20delay%20in%20the%20LS1043A%20MAC%2C%3CBR%20%2F%3EI%20like%20to%20know%20if%20it%20is%20possible%20to%20set%20an%20internal%20RGMII%20delay%20if%20a%20MAC-to-MAC%20connection%20is%20used%2C%22.%3C%2FP%3E%0A%3CP%3E%22Proper%20operation%20of%20the%20RGMII%20bus%20requires%20careful%20control%20of%20the%20timing%20relationship%20between%20clock%20and%20data%20signals.%3C%2FP%3E%0A%3CDIV%20id%3D%22bodyDisplay_0%22%20class%3D%22lia-message-body%20lia-component-message-view-widget-body%20lia-component-body-signature-highlight-escalation%20lia-component-message-view-widget-body-signature-highlight-escalation%22%3E%0A%3CDIV%20class%3D%22lia-message-body-content%22%3E%0A%3CP%3EThe%20LS1043A%20Data%20to%20clock%20input%20skew%20(at%20receiver)%20implies%20that%20PC%20board%20design%20will%20require%20clocks%20to%20be%20routed%20such%20that%20an%20additional%20trace%20delay%20of%20greater%20than%201.5%20ns%20is%20added%20to%20the%20associated%20clock%20signal.%20Many%20PHY%20vendors%20already%20incorporate%20the%20necessary%20delay%20inside%20their%20device.%20If%20so%2C%20additional%20PCB%20delay%20is%20probably%20not%20needed.%3C%2FP%3E%0A%3CP%3ETry%20to%20use%20via%20as%20less%20as%20possible%20on%20RGMII%20interface%20traces%20to%20minimize%20the%20timing%20skew.%20Keep%20RGMII%20interface%20traces%20less%20than%206%20inches%20long%2C%20minimizing%20the%20interface%20timing%20skew.%3C%2FP%3E%0A%3CP%3EIt%E2%80%99s%20advised%20to%20keep%20the%20difference%20of%20the%20traces%20lengths%20less%20than%20400%20mils%20among%20the%20TX%20and%20the%20RX%20part.%20%22.%3C%2FP%3E%0A%3CP%3EI%20would%20also%20like%20to%20recommend%20you%20to%20check%20the%26nbsp%3B%20section%20%227.6.1.5.3%20Time-Stamp%20Delays%20for%20Supported%20Mode%22%20from%20the%26nbsp%3BQorIQ%20LS1043A%20Data%20Path%20Acceleration%20Architecture%20(DPAA)%20Reference%20Manual%2C%20Rev.%200%22.%3C%2FP%3E%0A%3CP%3EHave%20a%20great%20day.%3C%2FP%3E%0A%3CP%3EBR%2C%3C%2FP%3E%0A%3CP%3EHector%20V%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E