54l15+7002eb problem

hi support team,

i have one problem for 54l15+7002 in ncs2.9.0

I am afraid that I need your help.

 

I was porting MQTT demo and PERIPHERAL_UART demo together and want to provide it to customer Ao-Zheng.

For 7002dk, it runs normal, but for 54l15+7002eb, it fails.  

 

So, I return to MQTT demo, here is the problem:

 mqtt2.zip

Attachment is MQTT demo changed in prj.conf , adding:

CONFIG_WIFI_CREDENTIALS_STATIC=y

#CONFIG_WIFI_CREDENTIALS_STATIC_TYPE_PSK=y

CONFIG_WIFI_CREDENTIALS_STATIC_TYPE_WPA_PSK=y

CONFIG_WIFI_CREDENTIALS_STATIC_SSID="Nordicsh"

CONFIG_WIFI_CREDENTIALS_STATIC_PASSWORD="Nordic20201908"

 

54L15+7002EB stops at somewhere, however, when I test it with shell, it still can work.

Please see log_release1.txt, and log_release2.txt

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[00:00:00.508,177] <inf> wifi_nrf_bus: SPIM spi@c8000: freq = 8 MHz
[00:00:00.516,902] <inf> wifi_nrf_bus: SPIM spi@c8000: latency = 0
[00:00:00.642,884] <inf> wifi_nrf: Management buffer offload enabled
*** Booting nRF Connect SDK v2.9.0-7787b2649840 ***
*** Using Zephyr OS v3.7.99-1f8f3dc29142 ***
[00:00:00.792,898] <inf> wifi_supplicant: wpa_supplicant initialized
[00:00:00.802,325] <inf> network: Bringing network interface up and connecting to the network
uart:~$ wifi disconnect
[00:01:28.158,924] <inf> wpa_supp: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Disconnect requested
uart:~$ wifi connect -s "Nordicsh" -p "Nordic20201908" -k 1
Connection requested
[00:01:48.034,105] <inf> wpa_supp: wlan0: SME: Trying to authenticate with a4:f3:3b:c6:15:60 (SSID='Nordicsh' freq=2417 MHz)
[00:01:48.419,674] <inf> wpa_supp: wlan0: Trying to associate with a4:f3:3b:c6:15:60 (SSID='Nordicsh' freq=2417 MHz)
[00:01:48.465,743] <inf> wpa_supp: wlan0: Associated with a4:f3:3b:c6:15:60
[00:01:48.475,822] <inf> wpa_supp: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
[00:01:51.556,986] <inf> wpa_supp: wlan0: CTRL-EVENT-DISCONNECTED bssid=a4:f3:3b:c6:15:60 reason=15
Connection request failed (1)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[00:00:00.508,337] <inf> wifi_nrf_bus: SPIM spi@c8000: freq = 8 MHz
[00:00:00.517,062] <inf> wifi_nrf_bus: SPIM spi@c8000: latency = 0
[00:00:00.643,076] <inf> wifi_nrf: Management buffer offload enabled
*** Booting nRF Connect SDK v2.9.0-7787b2649840 ***
*** Using Zephyr OS v3.7.99-1f8f3dc29142 ***
[00:00:00.793,841] <inf> wifi_supplicant: wpa_supplicant initialized
[00:00:00.803,523] <inf> network: Bringing network interface up and connecting to the network
uart:~$ wifi disconnect
[00:00:06.810,923] <inf> wpa_supp: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Disconnect requested
uart:~$ wifi connect -s "Nordicsh" -p "Nordic20201908" -k 1
Connection requested
[00:00:29.717,629] <inf> wpa_supp: wlan0: SME: Trying to authenticate with a4:f3:3b:c6:15:60 (SSID='Nordicsh' freq=2417 MHz)
[00:00:30.103,204] <inf> wpa_supp: wlan0: Trying to associate with a4:f3:3b:c6:15:60 (SSID='Nordicsh' freq=2417 MHz)
[00:00:30.149,359] <inf> wpa_supp: wlan0: Associated with a4:f3:3b:c6:15:60
[00:00:30.159,440] <inf> wpa_supp: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
[00:00:33.232,823] <inf> wpa_supp: wlan0: CTRL-EVENT-DISCONNECTED bssid=a4:f3:3b:c6:15:60 reason=15
Connection request failed (1)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

after I add following configs:

CONFIG_WIFI_LOG_LEVEL_DBG=y

CONFIG_WIFI_NRF70_LOG_LEVEL_DBG=y

CONFIG_NET_BUF_LOG_LEVEL_DBG=y

CONFIG_MQTT_SAMPLE_TRIGGER_LOG_LEVEL_DBG=y

CONFIG_MQTT_SAMPLE_NETWORK_LOG_LEVEL_DBG=y

CONFIG_MQTT_SAMPLE_TRANSPORT_LOG_LEVEL_DBG=y

 Please see the logs in log_debug1.txt and log_debug2.txt .

 log_debug1.txt

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[00:00:00.436,336] <inf> wifi_nrf_bus: SPIM spi@c8000: freq = 8 MHz
[00:00:00.445,061] <inf> wifi_nrf_bus: SPIM spi@c8000: latency = 0
[00:00:00.458,889] <dbg> wifi_nrf: zep_shim_pr_dbg: Signature: 0xdead1eaf
[00:00:00.468,138] <dbg> wifi_nrf: zep_shim_pr_dbg: num_images: 4
[00:00:00.476,733] <dbg> wifi_nrf: zep_shim_pr_dbg: version: 0x1020d00
[00:00:00.485,757] <dbg> wifi_nrf: zep_shim_pr_dbg: feature_flags: 1
[00:00:00.494,603] <dbg> wifi_nrf: zep_shim_pr_dbg: ====
[00:00:00.502,433] <dbg> wifi_nrf: zep_shim_pr_dbg: image[0] type: 0
[00:00:00.511,287] <dbg> wifi_nrf: zep_shim_pr_dbg: image[0] len: 1240
[00:00:00.520,301] <dbg> wifi_nrf: zep_shim_pr_dbg: ====
[00:00:00.528,131] <dbg> wifi_nrf: zep_shim_pr_dbg: image[1] type: 1
[00:00:00.536,984] <dbg> wifi_nrf: zep_shim_pr_dbg: image[1] len: 46360
[00:00:00.546,083] <dbg> wifi_nrf: zep_shim_pr_dbg: ====
[00:00:00.553,914] <dbg> wifi_nrf: zep_shim_pr_dbg: image[2] type: 2
[00:00:00.562,767] <dbg> wifi_nrf: zep_shim_pr_dbg: image[2] len: 952
[00:00:00.571,698] <dbg> wifi_nrf: zep_shim_pr_dbg: ====
[00:00:00.579,529] <dbg> wifi_nrf: zep_shim_pr_dbg: image[3] type: 3
[00:00:00.588,385] <dbg> wifi_nrf: zep_shim_pr_dbg: image[3] len: 30920
[00:00:00.597,485] <dbg> wifi_nrf: zep_shim_pr_dbg: ====
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

By the way,  using shell to connect to MQTT server is unstable.

 

Regards,

William.