S32K3 tcpip stack without MCAL configuration components

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

S32K3 tcpip stack without MCAL configuration components

Jump to solution
1,215 Views
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 Kudos
Reply
1 Solution
1,151 Views
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

View solution in original post

0 Kudos
Reply
3 Replies
1,198 Views
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 Kudos
Reply
1,194 Views
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 Kudos
Reply
1,152 Views
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 Kudos
Reply