Steps to take care before flashing nRF7002 DK with wifi samples

Hi Nordic Team,

Recently I purchased a nRF7002 DK and wanted to try with provided sample. Before I start really using the target with given samples I have some doubts on the new device. My doubts are as follows. 

  • By flashing any image for nrf7002dk_nrf5340_cpuapp, does it means we just flash on the nRF5340 SOC not on the nRF70 IC? Is my understanding correct? 
  • Should I have to take care or do anything to setup for nRF70 IC in order to properly use the wifi companion chip? 
  • Do I have to provision the nRF70 IC as a first step of the process? 
  • While provisioning, is it good to store the router credential in the persistent memory? Later if I want to provision the nrf70 with another wifi router, is it possible? 

Thanks 

Vipin Das

  • Hi,

    By flashing any image for nrf7002dk_nrf5340_cpuapp, does it means we just flash on the nRF5340 SOC not on the nRF70 IC? Is my understanding correct? 

    The firmware on both the nRF5340 SoC and nRF7002 IC is updated. The application and the Wi-Fi host stack run on the nRF5340, while the Wi-Fi baseband (MAC and physical layer) runs on the nRF7002 IC.

    Should I have to take care or do anything to setup for nRF70 IC in order to properly use the wifi companion chip? 

    If you are using the nRF7002DK (with the nRF5340 host processor), no additional setup is required. All you need to do is to build and program the Wi-Fi samples to your board.

    Do I have to provision the nRF70 IC as a first step of the process? 

    This depends on your application and is done differently in the samples in nRF Connect SDK. In the Wi-Fi: Provisioning Service sample, you use the nRF Wi-Fi Provisioner mobile app to provision the device, while in Wi-Fi: Shell, you connect to the network with shell commands. The Wi-Fi: Station samples require configuring the Wi-Fi credentials in prj.conf.

    While provisioning, is it good to store the router credential in the persistent memory? Later if I want to provision the nrf70 with another wifi router, is it possible? 

    If you want the device to remember the network credentials and be able to reconnect after a power cycle, the network credentials must be stored in persistent memory.

    I recommend taking a look at the Provisioning Service sample for this. During provisioning, there is an option you can select/deselect to make the Wi-Fi device store the credentials in persistent storage or not:

    You can find more on the implementation in the wifi_provisioning.h and wifi_prov_handler.c files.

    The device can be provisioned to another network later. In the provisioning sample, you can unprovision the device, which lets you provision it to a new network.

    Best regards,
    Marte

  • Hi Marte, 

    Thanks for answering all my questions. I was able to flash the wifi sta sample and wifi connection is established. 

    Regards

    Vipin Das  

Related