Facing issues with wifi samples

I have been trying to implement the wifi scan or wifi provisioning code on a module (MS12SF1) which is a combine wifi + ble module

The setup looks like the image shown below

I am giving power to the module through Arduino as it can give 3v3, the module currently is receiving 3.48V and the SWDIO and SWDCLK pins are connected with the nrf5340DK through the JLink cable. 

So currently after configuring everything, I am constantly getting the below error that network is not getting initialised.

[00:00:00.003,204] <inf> wifi_nrf: spim_init: SPIM spi@a000: freq = 8 MHz

--- 2 messages dropped ---
[00:00:00.026,214] <err> wifi_nrf: zep_shim_pr_err: hal_rpu_irq_enable: Reading from Root interrupt register failed

[00:00:00.026,275] <err> wifi_nrf: zep_shim_pr_err: nrf_wifi_hal_dev_add: hal_rpu_irq_enable failed

[00:00:00.026,428] <err> wifi_nrf: zep_shim_pr_err: nrf_wifi_fmac_dev_add: nrf_wifi_hal_dev_add failed

[00:00:00.026,458] <err> wifi_nrf: nrf_wifi_fmac_dev_add_zep: nrf_wifi_fmac_dev_add_zep: nrf_wifi_fmac_dev_add failed

[00:00:00.026,458] <err> wifi_nrf: nrf_wifi_if_init_zep: nrf_wifi_if_init_zep: nrf_wifi_fmac_dev_add_zep failed

[00:00:00.028,900] <inf> wifi_nrf: spim_init: SPIM spi@a000: freq = 8 MHz

[00:00:00.028,900] <inf> wifi_nrf: spim_init: SPIM spi@a000: latency = 0

[00:00:00.029,357] <err> wifi_nrf: zep_shim_pr_err: hal_rpu_reg_read: Error !! Value read at addr_offset

0m
[00:00:31.131,195] <inf> net_config: setup_ipv4: IPv4 address: 192.165.100.150
[00:00:31.131,256] <inf> net_config: setup_dhcpv4: Running dhcpv4 client...
[00:00:31.131,439] <err> net_config: net_config_init_by_iface: Timeout while waiting network interface
[00:00:31.131,439] <err> net_config: net_config_init_app: Network initialization failed (-115)
[00:00:32.135,406] <inf> fs_nvs: nvs_mount: 2 Sectors of 4096 bytes
[00:00:32.135,406] <inf> fs_nvs: nvs_mount: alloc wra: 0, fe8
[00:00:32.135,406] <inf> fs_nvs: nvs_mount: data wra: 0, 0
[00:00:32.135,437] <wrn> wifi_prov: wifi_config_read: Error! Cannot read config.
[00:00:32.146,881] <inf> bt_hci_core: hci_vs_init: HW Platform: Nordic Semiconductor (0x0002)
[00:00:32.146,911] <inf> bt_hci_core: hci_vs_init: HW Variant: nRF53x (0x0003)
[00:00:32.146,942] <inf> bt_hci_core: hci_vs_init: Firmware: Standard Bluetooth controller (0x00) Version 141.732 Build 3324398027
[00:00:32.148,834] <inf> bt_hci_core: bt_dev_show_info: Identity: E2:61:4E:44:C7:45 (random)
[00:00:32.148,864] <inf> bt_hci_core: bt_dev_show_info: HCI: version 5.4 (0x0d) revision 0x2168, manufacturer 0x0059
[00:00:32.148,895] <inf> bt_hci_core: bt_dev_show_info: LMP: version 5.4 (0x0d) subver 0x2168
[00:00:32.148,895] <inf> wifi_prov: wifi_prov_transport_layer_init: Bluetooth initialized.
[00:00:32.150,817] <inf> wifi_prov: wifi_prov_transport_layer_init: BT Advertising successfully started.
[00:00:32.150,848] <inf> provisioning: main: Wi-Fi provisioning service starts successfully.

For reference, I am attaching my code as well as the datasheet of the module

https://en.minewsemi.com/file/MS12SF1-WiFi+BLE-Combo-Specification-MinewSemi.pdf

provisioning_module.zip

The pin configurations present in the overlay file, I have done as per the datasheet only.

In the image attached above the Vdd and Vbat of the module is shorted as per the datasheet.

I am struggling with this issue for very long, don't know what to do next

Related