How to avoid the use of OTP memory in the nrf7002

Hi,

I have a custom board with the nrf5340 and the nrf7002. I build it with the same connections between the two chips as the nrf7002 DK.

I try a basic sample with wifi and I have this error:

[00:00:00.422,363] <inf> wifi_nrf: qspi_init: QSPI freq = 24 MHz

[00:00:00.422,729] <inf> wifi_nrf: qspi_init: QSPI latency = 1

[00:00:00.430,755] <inf> wifi_nrf: zep_shim_pr_info: wifi_nrf_fmac_fw_load: LMAC patches loaded

[00:00:00.442,138] <inf> wifi_nrf: zep_shim_pr_info: wifi_nrf_fmac_fw_load: LMAC boot check passed

[00:00:00.445,648] <inf> wifi_nrf: zep_shim_pr_info: wifi_nrf_fmac_fw_load: UMAC patches loaded

[00:00:00.456,970] <inf> wifi_nrf: zep_shim_pr_info: wifi_nrf_fmac_fw_load: UMAC boot check passed

[00:00:00.483,703] <inf> wifi_nrf: zep_shim_pr_info: RPU LPM type: HW

[00:00:00.487,640] <inf> wifi_nrf: zep_shim_pr_info: wifi_nrf_fmac_otp_mac_addr_get:  Invalid OTP MAC addr: 000000000000

[00:00:00.488,433] <err> wifi_nrf: wifi_nrf_if_start_zep: wifi_nrf_if_start_zep: Invalid MAC address: 00:00:00:00:00:00

It seems that the read of the mac address return 0.

Do I have to program the OTP memory before to use the chip ? (and How?? if I must).

Is it possible to by pass this read and use another mac address from the flash memory of the MCU ?

Related