nRF7002 interface with STM32 using vanilla Zephyr via QSPI protocol

Subject: Support Request for nRF7002 Integration with ThreadX on STM32

Hello Nordic Team,

We are currently using the nRF7002 with our STM32-based device. We have completed Phase 1 of development using an STM32 MCU, with firmware developed on ThreadX.

For Phase 2, we need to integrate Wi-Fi support using the nRF7002. We would appreciate your support in enabling nRF7002 integration with ThreadX.

Specifically, we would like to know if you can provide drivers or support for the nRF7002 that can be integrated into an existing STM32 project based on ThreadX. This would significantly help us accelerate our development.

Looking forward to your guidance and support.

Best regards,
Sunny Kalyani

  • Hi Runar,

    I’m working on interfacing the nRF7002EK with an STM32U5 series MCU. The STM32U5 features an OCTOSPI interface that can also be configured to operate in QSPI mode.

    Could you please provide guidance or point me to relevant documentation on:

    • Configuring the OCTOSPI interface in QSPI mode on the STM32U5, and
    • Using the nRF7002 as a node in this setup?

    Any reference designs, examples, or best practices would be greatly appreciated.

  • My suggestion would be to search through the nRF Connect SDK v3.3.0 and in specific search for "nRF7002-qspi" in .overlay files.

    Here are key documentation resources for using the nRF7002 with QSPI:

    Hardware & Connection

    • QSPI vs SPI interface: The nRF7002 can connect to a host MCU (e.g., nRF5340) via either QSPI or SPI. 
      [QSPI/SPI connections]

    QSPI Commands

    • QSPI command reference: Describes all supported QSPI commands (RDSR, FAST READ, READ4, PP, PP4, CIPHER INIT, etc.) including byte sequences and timing diagrams. [QSPI commands]

    Development Kit Setup

    • nRF7002 EK (Arduino shield): Describes how to strap the EK to an nRF5340 DK for QSPI operation, including which solder bridges to cut/solder and cable connections. [Strapping QSPI on nRF5340 DK]

    • nRF7002 EBII: Describes hardware modifications (cutting SB1–SB4, soldering SB5–SB8) needed to configure the board for QSPI instead of the default SPI. [Configure QSPI on EBII]

    Zephyr/NCS Device Tree

    • Board target support: The nrf7002dk/nrf5340/cpuapp target uses the nordic,nrf7002-qspi compatible binding for the QSPI interface. [nRF7002 DK targets]

    Additional Note

    If you plan to share the QSPI bus between the nRF7002 and external flash, note that the nRF7002 must be on its own dedicated SPI/QSPI instance — it cannot share the bus with other devices. [DevZone Q&A]

    Kenneth

Related