Electronic – How to connect CPU with RGMII pins to an LTE module that takes only SGMII signals

ethernetltephyrgmiisgmii

The Hi3519 Hisilicon CPU has RGMII pins. We are trying to connect it to the EC21 LTE Module from Quectel which contains SGMII pins. Would using two Realtek RTL8201F-VB-GG PHY chips with magnetics between them work as shown below?

EC21 (SGMII pins) <–> RTL8211DN PHY <–> MAGNETIC <–> RTL8211DN PHY <–> MAC Hi3559A (RGMII pins)

Can the PMD pins be connected directly without the magnetics? We are very limited in space so we not sure if a transformer can fit with in the design. Are there any other ways to convert between SGMII and RGMII? Thank you in advance for the help.

Edit: I just read up on the Reaktek app note and it suggest ideas on capacitive coupling to go magnetic-less: Youtronics App Note

RTL8208B supports SMII, can I use two of those PHY and connect them as shown below with capacitive coupling instead of using a transformer to save space? The new connections would be:

EC21 (SGMII pins) <–> RTL8208B PHY <–> capacitive coupling <–> RTL8208B PHY <–> MAC Hi3559A (RGMII pins)

enter image description here

Best Answer

Serial requires transceivers and restructuring of the serial data to slower parallel data streams, which means you need logic.

An Marvell Alaska 88E1512 might work, it claims you can go from SGMII to RGMII.

EC21 (SGMII pins)<--> 88E1512 <--> Hi3559A (RGMII pins)

Which is a lot simpler than using two phys to translate.

enter image description here

Source: https://www.marvell.com/transceivers/assets/Alaska_88E1512-001_product_brief.pdf