S32K3 tcpip stack without MCAL configuration components

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

S32K3 tcpip stack without MCAL configuration components

跳至解决方案
1,866 次查看
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,802 次查看
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,849 次查看
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,845 次查看
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,803 次查看
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 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2023331%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E4%B8%8D%E5%B8%A6%20MCAL%20%E9%85%8D%E7%BD%AE%E7%BB%84%E4%BB%B6%E7%9A%84%20S32K3%20tcpip%20%E5%A0%86%E6%A0%88%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2023331%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E6%83%B3%E5%9C%A8%E4%BD%BF%E7%94%A8%20S32K344%20MCU%20%E7%9A%84%E9%A1%B9%E7%9B%AE%E4%B8%AD%E5%8C%85%E5%90%AB%20TCP%2FIP%20%E9%80%9A%E4%BF%A1%E5%A0%86%E6%A0%88%E3%80%82%E6%88%91%E5%B7%B2%E7%BB%8F%E5%9C%A8%20S32DS%203.6%20%E4%B8%8A%E5%AE%89%E8%A3%85%E4%BA%86%20S32K3XX%20%E7%89%88%E6%9C%AC%202.0.0%20%E7%9A%84%20TCPIP_STACK%20%E6%89%A9%E5%B1%95%E3%80%82%3C%2FP%3E%3CP%3E%E6%98%AF%E5%90%A6%E5%8F%AF%E4%BB%A5%E4%BD%BF%E7%94%A8%E6%B2%A1%E6%9C%89%20Eth_43_GMAC%20%E7%BB%84%E4%BB%B6%E7%9A%84%20TCP%2FIP%20%E5%A0%86%E6%A0%88%EF%BC%88%E8%BF%99%E9%9C%80%E8%A6%81%E9%A2%9D%E5%A4%96%E7%9A%84%20MCAL%20%E7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