Questions about PFE_MAC of S32G-VNP-RDB3

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Questions about PFE_MAC of S32G-VNP-RDB3

ソリューションへジャンプ
328件の閲覧回数
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

タグ(1)
0 件の賞賛
返信
1 解決策
307件の閲覧回数
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 件の賞賛
返信
2 返答(返信)
308件の閲覧回数
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 件の賞賛
返信
166件の閲覧回数
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

タグ(1)
0 件の賞賛
返信