Questions about PFE_MAC of S32G-VNP-RDB3

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

Questions about PFE_MAC of S32G-VNP-RDB3

Jump to solution
310 Views
Boniface
Contributor II

Hello,

I'm testing the PFE_MAC module by using a S32G-VNP-RDB3 board.

I referred to some examples and documents to configure.

And I checked the board received the ping message from the PC connected to the board.

But I failed to send the respond message to it.

It seems that the module sends the message but the phy module doesn't receive it.

(Because the tx callback function works and tx counters of PFE module increases.)

 

I set the PFE_MAC2 rx/tx clock to 125MHz to use 1Gbps and also set the pins

What did I miss?

The development enviroment is as follows.

 - S32 Design Studio v3.5.14

 - S32G RTD v5.0.0 (ETH_PFE v1.5.0 in EB tresos)

 - TCP/IP stack v1.0.4

 - FreeRTOS v4.0.2

And, could you also explain meaning of the EMAC2 in EthCtrlPort - EthCtrlConfig?

Should I set it to EMAC2 to use PFE_MAC2 module?

 

Best regards,

Boniface

Tags (1)
0 Kudos
Reply
1 Solution
289 Views
Joey_z
NXP Employee
NXP Employee

hi,Boniface

Thank you for your contacting us.

You should set EMAC2 in EthCtrlPort - EthCtrlConfig to use PFE_MAC2 module.In addition, you can try to configure the pfe thought refer to the LLCE demo.

BR

Joey

View solution in original post

0 Kudos
Reply
2 Replies
290 Views
Joey_z
NXP Employee
NXP Employee

hi,Boniface

Thank you for your contacting us.

You should set EMAC2 in EthCtrlPort - EthCtrlConfig to use PFE_MAC2 module.In addition, you can try to configure the pfe thought refer to the LLCE demo.

BR

Joey

0 Kudos
Reply
148 Views
Boniface
Contributor II

Hi, Joey

 

Thank you for your advice.

The main reason was MCU peripheral (peripheral clock enable) setting.

Now it works, thanks.

 

And also can I get the detailed information about ETH_PFE modules?

I read the S32G3 reference manual and AUTOSAR_MCAL_ETH_43_PFE_IM/UM also,

but documents like a RMS32G3GMACSUBSYS would be more helpful for understanding.

 

Best regards,

Boniface

Tags (1)
0 Kudos
Reply