GMAC of S32K344 Callbackfun

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

GMAC of S32K344 Callbackfun

跳至解决方案
2,233 次查看
Wan
Contributor II

Hi NXP Engineers:

I had some problems using the Gmac_Ip_InternalLoopback example project. I tested the GMAC demo on the sample project without problems, but I wanted to change it to an interrupt for sending and receiving. I configured "EhtCtrlEnable RxInterrupt" and filled in the callback function. But no interrupt input

I think "IntCtrl_Ip"should configer some arguments,but i do'nt know!  

I use the SKD:PlatformSDK_S32K3_2022_03

标记 (1)
0 项奖励
回复
1 解答
2,175 次查看
Nhi_Nguyen
NXP Employee
NXP Employee

Hi Wan,

To configure interrupt for sending and receiving of GMAC, please follow the following steps:

Nhi_Nguyen_0-1694490391835.pngNhi_Nguyen_1-1694490437180.png

Nhi_Nguyen_2-1694490458430.png

 

In main.c:

Nhi_Nguyen_3-1694490551190.png

Best regards,

Nhi

 

 

 

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,035 次查看
Wan
Contributor II

Hi, NXP Employee

     I had slove the prombles, you are right! thanks.

0 项奖励
回复
2,176 次查看
Nhi_Nguyen
NXP Employee
NXP Employee

Hi Wan,

To configure interrupt for sending and receiving of GMAC, please follow the following steps:

Nhi_Nguyen_0-1694490391835.pngNhi_Nguyen_1-1694490437180.png

Nhi_Nguyen_2-1694490458430.png

 

In main.c:

Nhi_Nguyen_3-1694490551190.png

Best regards,

Nhi

 

 

 

 

0 项奖励
回复