[nRF 9160DK, nRF7002DK] Wifi scan in nRF9160DK

To everyone who is interested in this ticket.

I'm using the nRF9160DK and nRF7002DK. I'm currently trying to scan Wifi using the nRF9160DK.

I'm referring to another ticket for that question, but it hasn't been successful.

Connecting nRF9160DK and nRF7002DK

I've linked the pin to be the same as that ticket.

Board nRF9160-DK(P3 & P4) nRF7002-DK (P24)
SPI CLK P0.13 P0.17
SPI CS P0.10 P0.18
SPI MOSI P0.11 P0.13
SPI MISO P0.12 P0.14
HOST-IRQ  P0.07 P0.23
IOVDD-CTR  P0.00 P0.31
BUCKEN P0.01 P0.12

 I used  sample on nordic. "nrf/samples/wifi/shell"

and i used

west build -b nrf9160dk_nrf9160_ns -- -DSHIELD=nrf7002ek

This is the result of checking through the console.  

this .7z is my file for this function.

shell.7z

Any help is appreciated. Thank you!

  • Hi,

     

    DDYD1 said:

    1. Is UMAC's role related to the MAC address I think is needed for the Wifi connection?

    No, it is the universal medium access control, which is also mentioned in the product specification.

    It is basically the firmware running on the nRF7002 that the host controller is trying to interface. The errors are printed because the nRF9160 is unable to communicate with the 7002 device.

     

    DDYD1 said:
    2. Is UMAC stored in the same place as the flash memory of nRF7002DK?

    It is running on the nRF700x device, but it is interfaced from the host controller, as shown here (picture from the PS):

    DDYD1 said:
    I do likte this but still can't work 

    You need both kits powered when doing this, and you need to erase the firmware running on the nRF5340 host controller, located on the nRF7002-DK.

    This is done by using nrfjprog:

    nrfjprog -e -f nrf53

     

    Kind regards,

    Håkon

  • I supplied the power as shown in the picture above.

    After that, the command was used to clear the nrf53 inside and proceed.

    it failed, but I got a different result.

    Now I think both boards are powered on. But I still get a Timeout error related to UMAC init. Is there anything else I can do?

  • I found the problem.

    The connection between the two boards was faulty with the line corresponding to the IRQ. When I replaced the wire, I was able to get the Wifi signal normally.


    And I have additional questions.

    Wifi connection on nrf9160dk with nrf7002ek

    In the ticket above, I saw that the connections between the nRF9160DK and the nRF7002EK said that they could detect Wifi, but could not send data. Is that still the case?

    My goal is to eventually use LTE and WiFi to transmit data. LTE and WiFi are not used at the same time, and WiFi is disabled when LTE is connected.

  • I am glad to hear that you found the root cause.

    DDYD1 said:
    In the ticket above, I saw that the connections between the nRF9160DK and the nRF7002EK said that they could detect Wifi, but could not send data. Is that still the case?

    Yes, there is not enough RAM available to run other Wi-Fi operations than scanning on the nRF9160.

     

    Kind regards,

    Håkon 

Related