Raytac has advanced the dev kit of bundle offer – WIFI+BLE:
AN7002Q-DB-5340-M with an on-board flash memory(MX25R64) to create easy evaluation for Wi-Fi project developments.
Table of Content———————————————————————————————
- Hardware Set Up
A. Project WITHOUT External Flash MX25R64 needed
B. Project WITH External Flash MX25R64 needed - Software Resources & Preparations
- Firmware Build & Compile
A. Project WITHOUT External Flash MX25R64 needed
B. Project WITH External Flash MX25R64 needed - Validate DFU Process & WIFI SCAN
——————————————————————————————————————
1. Hardware Set Up
Hardware Kit on hand:
- 1 x Nordic nRF5340-DK: PCA10095(2.0.2)
- 1 x AN7002Q-DB-5340-M
- 1 x IDC Ribbon Wire(J-Link Cable)
- 1 x USB Wire –Type C USB
- 1 x USB Wire-Micro USB
Note: Pease make sure to have both “Nordic nRF5340-DK” and “AN7002Q-DB-5340-M” connected and running during the WIFI+BLE (nRF7002+nRF5340) project development.
Hardware Network:
IDC Ribbon Wire(J-Link Cable): Connect nRF5340-DK to AN7002Q-DB-5340-M
USB Wire –Type C USB: Power supply to AN7002Q-DB-5340-M through USB TYPE-C
USB Wire-Micro USB: Power supply to nRF5340-DK through Micro USB

A. Project WITHOUT External Flash MX25R64 needed
– Allocate QSPI for communication between MDBT53 (BLE) and AN7002Q (WIFI)
– External flash MX25R64 flash memory is not activated
– NO additional resistor swapping needed, keep it as it is on board now. The Resistors on board align with the Nordic board definition (same as nRF7002-DK).
– Please closely follow the definition chart printed on back side of board AN7002Q-DB-5340-M.
“Component Options Table” > “AN7002Q active with QSPI (Typ)”

– Photo showing the resistor allocation:

– Schematic of the AN7002Q-DB-5340-M(Click on the image to zoom in):

B. Project WITH External Flash MX25R64 needed
– Allocate SPI for communication between MDBT53 (BLE) and AN7002Q (WIFI)
– Allocate QSPI for XIP: External flash MX25R64 is activated
– It is REQUIRED to reallocate resistors to swap the QSPI and SPI on the AN7002Q-DB-5340-M in order to activate the circuit for MX25R64.
– Do necessary resistors swapping manually (closely follow the definition chart printed on back side of board AN7002Q-DB-5340-M.)
“Component Options Table” > “External flash and AN7002Q active with SPI enable”

– Photo showing the resistor allocation:
Detach the resistor -R27
“Component Options Table” > “External flash and AN7002Q active with SPI enable”
<<< Necessary resistors swapping manually needed ↓ >>>

– Schematic of the AN7002Q-DB-5340-M(Click on the image to zoom in):
Modify the above resistors swapped and necessary component based on the chart:
“Component Options Table” > “External flash and AN7002Q active with SPI enable”

!! Important Note:!!
The circuit of SW1(p1.08)/SW2(p1.09)/LED1(p1.06) on AN7002Q-DB-5340-M is NOT COMPATIBLE to Nordic WI-FI Control Pin of swctrl1(p1.08)/host_irq(p1.09)/grant(p1.06).
In this case, if you’re working with external flash MX25R64 for the WIFI project, Please avoid pin SW1/SW2/LED1 usage while LED2(p1.07) remains available as normal usage.
For the design perspective of mother board/carrier board /target board (mounted with AN7002Q & MDBT53 modules), it is required to design the circuit align to SW1(p0.23)/SW2(p0.24)/LED1(p0.28).