52840+7002ek udp demo problem

hi support team,

our ncs2.6.0 demo /samples/net/udp is supporting 7002dk, the demo works for 7002dk.

however it doesn't support 52840dk with 7002ek shield,i have modified demo according to 7002dk(copy nrf7002dk_nrf5340_cpuapp_ns.conf to  nrf52840dk_nrf52840.conf)

the build process is ok and it runs normal, but findout device can't attached to router.

below is difference bwtween 52840dk and 7002dk:

the attached are the logs for 52840dk with 7002ek shield and 7002dk:

52840dk_7002ek.txt

7002dk_nrf5340_cpuapp_ns.txt

and here is the code:

udp.zip

please help to see what's the problem. really appreciated.

Regards,

William.

  • Hi William,

    Based on the logs, the nRF52840 DK does not receive the AP's third message (EAPOL-Key 3) in the 4-way handshake. Instead, the AP resends the first message (EAPOL-Key 1). It could be that the Message Integrity Check (MIC) value that the nRF52840 DK sends in EAPOL-Key 2 is incorrect, causing the AP to restart the handshake. I do not see why this should be an issue only with the nRF52840 DK, but I will look into it and get back to you.

    Best regards,
    Marte

  • Hi William,

    I did some tests on my side and I was able to reproduce the issue when the network password was incorrect. Can you please verify that CONFIG_WIFI_CREDENTIALS_STATIC_PASSWORD is correct?

    When the password was correct, I could successfully connect to the network with the nRF52840 DK just as with the nRF7002 DK.

    Best regards,
    Marte

  • Hi Marte,

    it confuse me as i can run it correctly when building as 7002dk, however the same project is not working when building as 52840dk+7002ek.

    i am quite sure the password is correct and i can see them same in those two logs.

    however, i tried different routers:

    CONFIG_WIFI_CREDENTIALS_STATIC_SSID="Nordic_ASUS_5G"
    CONFIG_WIFI_CREDENTIALS_STATIC_SSID="HONOR_50_Pro"
    52840 can work normally with both router except:"Nordicsh" in my prj.conf in the attachment
    and i am suspect 7002ek version, my 7002ek version is 0.9.3&& 2023.20, is thre any problem with this version? 
     

    Regards,

    William.

  • Hi William,

    Can you provide some information about the router that it does not work with?
    Do you have a nRF5340 DK you can test the nRF7002 EK with?

    William.wei said:
    and i am suspect 7002ek version, my 7002ek version is 0.9.3&& 2023.20, is thre any problem with this version? 

    I am not sure if this is an issue, but I will investigate it and get back to you.

    Best regards,
    Marte

  • Hi Marte,

    i have tried 5340dk + 7002ek, with router"Nordicsh", it works.

    bad news for me.

    Regards,

    William.

Related