hi..does we have any example code to print dyanmic ip address and mac address with mpc5775b bord with ksz8061 ethernet ic
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
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 ??
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:
... 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
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
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
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
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
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