ethernet with ksz8061

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

ethernet with ksz8061

2,093 次查看
Azezur_Rehman
Contributor III

hi..does we have  any  example code to print dyanmic ip address and mac address with mpc5775b bord with ksz8061 ethernet ic

标记 (1)
8 回复数

2,081 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @Azezur_Rehman 

currently we have only following SW examples in the SDK 3.0.3:

c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.3\examples\MPC5777C\driver_examples\communication\enet_ping\
c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.3\examples\MPC5777C\demo_apps\lwip\

MPC5775B is compatible with MPC5777C.

Regards,

Lukas

2,014 次查看
Azezur_Rehman
Contributor III


hello @lukaszadrapa 

Thankyou for your replay .. But 

 

in lwip example ((c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.3\examples\MPC5777C\demo_apps\lwip\))
they have uesd    tcpip     Component  in Component Library 

 

when i select new project with mpc5775b processor

in component libreary i don't see     tcpip      component  in Component Library without these how i can i get dynamic ip address ?? 

1,989 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @Azezur_Rehman 
That's a good point, I didn't notice it until now. The component was obviously not ported to MPC5775B. If you select 'all' in the component inspector like this:

lukaszadrapa_0-1707894196624.png

... you will see the tcpip component and you will be able to add it to your project. However, it will throw some errors because it's not ported. You can either try to fix it or another option is to use project for MPC5777C. These two devices are 100% compatible but you should respect the differences: 4MH flash, no external bus, no PSI5 and Zipwire, no eTPU, fewer ADC features.
You can check "Table 2-1. Family comparison" in the reference manual.
Sorry for inconvenience but currently there's no plan to fix this.

Regards,
Lukas

1,982 次查看
Azezur_Rehman
Contributor III

Screenshot 2024-02-14 131846.pnghello @lukaszadrapa  

once again thankyou for your replay 

As you said "but currently there's no plan to fix this." 

but in component library for mpc5775b processor i can see enet and phy component libreary with that libreary  can i get dynamaic ip address ?

or

atleast tell which libreary i have to download to work mpc5775b processor ?

 

Regards 

peter

1,952 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

DHCP is a feature of tcpip component (lwip). As mentioned above, easiest option is to use project for MPC5777C while respecting differences against MPC5775B.

lwip is an open source, so please follow documentation available on the web.

Regards,

Lukas

0 项奖励
回复

1,834 次查看
Azezur_Rehman
Contributor III

 

@lukaszadrapa 

thankyou i have undestand that..

i just  want to know is that possible to add extenal sdk to support tcpip coponenet with mpc5775b

 

Regards 

peter

 

0 项奖励
回复

1,809 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

lwip stack is open source which can be added/ported to any project. You just won't have possibility to use graphical configuration tool in S32DS. All the configuration needs to be done directly in the configuration files.

Regards,

Lukas

0 项奖励
回复

1,364 次查看
Azezur_Rehman
Contributor III

thank you for your replay 

i have done all configuration in gui and some other configuration in  configuration files.too but i don't get dynamic ip from libreary itself .in the definition of dhcp_start(&netif); which is  "SDK/middleware/tcpip/lwip/src/core/ipv4/dhcp.c"  . but i can see light indication in the ksz8041 phy device which is connect to custom board of mpc5775b .Please replay if you know solution for these .i have added my main.c file below.

regards,

peter

0 项奖励
回复