Recently, some customers have requested that PFE be used together with SerDes and SJA1110 Switch on S32G2 M7. However, the existing PFE driver routines do not have the implementation for this function. Therefore, this article mainly aims to achieve this function, mainly completing the configuration and application of SerDes, as well as joint use with SJA1110 Switch application for the S32G2 M7 on the RDB2 board. This document can serve as a reference for customers and developers who intend to apply PFE + SerDes + SJA1110, especially for applications requiring SGMII connectivity between the processor and an external automotive Ethernet switch.
This article is based on the PFE driver demo of MasterProject_RDB2 and has made some corresponding application modifications and explanations to achieve it. It is expected that this document will be useful for developers working on similar applications.