DHCPv4 client + Ethernet (W5500) Fails to work in SDK 2.4

Hello everyone,

I am working on an application based on dhcpv4_client from the zephyr SDK samples https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.99-dev2/zephyr/samples/net/dhcpv4_client/README.html#dhcpv4-client-sample.

I am using wiz550io v3 ethernet controller which uses W5500 driver.
I made the same implementation on nrf 2.3 SDK and it works, however the same implementation dose not work with 2.4 SDK. I can build the app and flash it. however no data is received, I am not sure it seems that the callback function dose not receive any interpret signal.

The serial monitor print initializing the dhcp_client and then remains stuck.

Note: I am using nrf 2.4 SDK with the nrf52833dk 

# Networking General
CONFIG_NETWORKING=y
CONFIG_NET_IPV4=y
CONFIG_NET_ARP=y
CONFIG_NET_UDP=y
CONFIG_NET_DHCPV4=y
CONFIG_NET_MGMT=y
CONFIG_NET_MGMT_EVENT=y
CONFIG_NET_LOG=y
CONFIG_LOG=y
CONFIG_NET_STATISTICS=y
CONFIG_NET_L2_ETHERNET=y

# Networking Protocols and Extensions
CONFIG_NET_IPV6=n
CONFIG_NET_TCP=y
CONFIG_DNS_RESOLVER=y
CONFIG_DNS_SERVER_IP_ADDRESSES=y
CONFIG_DNS_SERVER1="8.8.8.8"
CONFIG_NET_SOCKETS=y

# Testing and Debugging
CONFIG_TEST_RANDOM_GENERATOR=y
CONFIG_NET_SHELL=y

# System and Library Configurations
CONFIG_NEWLIB_LIBC=y
CONFIG_MAIN_STACK_SIZE=1200
CONFIG_GPIO=y
CONFIG_ENTROPY_GENERATOR=y
CONFIG_INIT_STACKS=y



Networking Hardware Suppor
CONFIG_NETWORKING = y
CONFIG_ETH_DRIVER=y
CONFIG_ETH_W5500=y
CONFIG_ETH_W5500_TIMEOUT=1000
 

Prj.conf file

 

&spi1 {
        compatible = "nordic,nrf-spi";
        status = "okay";
        cs-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
        w5500: w5500@0 {
                compatible = "wiznet,w5500";
                label = "w5500";
                reg = <0>;
                spi-max-frequency = <1000000>;
                int-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
                reset-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
        };
};

nrf52833dk overlay file 

Related