Does the M core support GMAC?

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

Does the M core support GMAC?

757 Views
xiaoshumiao
Contributor III

In the GoldVIP-S32G3-1.11.0\realtime\s32g399ardb3\can-gw project, add the Eth module, and communicate through GMAC in S32G-VNP-RDB3.

But there is always a problem when running to this function:

Base   = Gmac_apxBases[Instance];      // in Gmac_Ip_Init
 
Is gmac of eb cp not supported on the S32G-VNP-RDB3?

 

stack.jpgdump.pnggmac_apxBases.png

Labels (1)
0 Kudos
Reply
3 Replies

741 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

We might be misunderstanding the overall request. Are you modifying the GoldVIP project itself?

Also, for the following question:

Is gmac of eb cp not supported on the S32G-VNP-RDB3?

Can you help us elaborate more on regards of the "gmac of eb cp"? We understand that there is an example under the RTD which uses GMAC driver, but this is related to the RTD package, not to EB.

Please, let us know.

 

0 Kudos
Reply

713 Views
xiaoshumiao
Contributor III

I want to use gmac of M-core to communicate with the outside..

Open goldvip with eb tresos, add the Eth module to the project, configure the GMAC pin in the Port module, configure the GMAC transceiver interrupt in the Os module, etc., then compile and generate goldvip-gateway.bin. But Eth_Init initialization failed when the M core starts.

The phy connected to gmac is industrial grade. I don’t know if the mcal provides driver support.

Something went wrong here, the gmac base address is not accessible. More details in the three pictures above

5.png

0 Kudos
Reply

684 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your feedback. To confirm that you are able to use GMAC, we can recommend first using the NXP examples, to confirm that there is no problem with the NXP packages. For GMAC, you should be able to use any of the following examples:

  • Eth_InternalLoopback_S32G274A_M7
  • lwip_s32g274a

As for PHY support, the driver itself will not provide any PHY support. The support provided by the driver is the Management Interface (MDIO/MDC), the PHY support seems to be required to be added by the developer.

Please, let us know.

0 Kudos
Reply