S32K3 tcpip stack without MCAL configuration components

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

S32K3 tcpip stack without MCAL configuration components

跳至解决方案
1,231 次查看
oscar_abn
Contributor I

I want to include the TCP/IP communication stack in a project using the S32K344 MCU. I have already installed the TCPIP_STACK extension for S32K3XX version 2.0.0 on S32DS 3.6.

Is it possible to use the TCP/IP stack without the Eth_43_GMAC component, which requires additional MCAL components?

I have tried to use the TCP/IP stack with the GMAC driver. In the S32DS peripheral configuration tool, there are no errors. However, when building the code, I get the following unresolved inclusion:

../RTD/include/Eth_43_GMAC.h:45:10: fatal error: Eth_43_GMAC_Cfg.h: No such file or directory

45 | #include "Eth_43_GMAC_Cfg.h"

 

Is there any example using tcpip without OS, and using only the Gmac component?

0 项奖励
回复
1 解答
1,167 次查看
PavelL
NXP Employee
NXP Employee

Hello @oscar_abn ,

you are right.

Example lwip_baremetal_s32k344 in S32DS 3.6 and TCPIP STACK 2.0.0 uses Eth_43_Gmac.

Example lwip_baremetal_s32k344 in S32DS 3.5 and TCPIP STACK 1.0.4 uses Gmac.

I'm afraid that there's no example with tcpip and Gmac in TCPIP STACK 2.0.0.

Best regards,

Pavel

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,214 次查看
PavelL
NXP Employee
NXP Employee

Hello @oscar_abn ,

you should see example lwip_baremetal_s32k344 in TCPIP STACK. It uses GMAC without OS.

Best regards,

Pavel

0 项奖励
回复
1,210 次查看
oscar_abn
Contributor I

I have already seen that example. The issue is that the example uses the Eth_43_Gmac component:

oscar_abn_0-1736262008621.png

On the other hand, i would like to use the Gmac component of the Drivers section:

oscar_abn_2-1736262071963.png

On the TCP/IP configuration i can parse the Gmac component:

oscar_abn_3-1736262162547.png

However when building the project i get the following error, which suggests that Eth_43_Gmac is necessary.

../stacks/tcpip/code/ports/netif/gmacif/rtd/gmacif.c:174:10: fatal error: Eth_43_GMAC.h: No such file or directory

174 | #include "Eth_43_GMAC.h"

 

I would greatly appreciate any information regarding the use of the TCP/IP stack with the component mentioned.

Thanks

0 项奖励
回复
1,168 次查看
PavelL
NXP Employee
NXP Employee

Hello @oscar_abn ,

you are right.

Example lwip_baremetal_s32k344 in S32DS 3.6 and TCPIP STACK 2.0.0 uses Eth_43_Gmac.

Example lwip_baremetal_s32k344 in S32DS 3.5 and TCPIP STACK 1.0.4 uses Gmac.

I'm afraid that there's no example with tcpip and Gmac in TCPIP STACK 2.0.0.

Best regards,

Pavel

0 项奖励
回复