cancel
Showing results for 
Search instead for 
Did you mean: 

NUCLEO-U5A5ZJ-Q and nRF7002 interface using vanillas Zephyr

ElectrifyServices
Associate II

Hello STM team,

 

We are working to interface the  NUCLEO-U5A5ZJ-Q and nRF7002-DK using QSPI. We are using vanillas zephyr. We are able to built the code for SPI. But can not be able to built for QSPI. It will be very helpful if you provide a proper support to interface this.

17 REPLIES 17

Problem statement: How to port the SPI code to work on QSPI.

Before you get the suitable nRF7002 board - if I had this task, I'd start from looking at the Zephyr driver for "nordic,nrf7002-spi" and making a minimal stripped-off module that connects to the host QSPI interface and other needed pins, and does some dummy writes that can be observed with a logic or scope. When you see the bits going on the wire properly, you're ready to proceed with the full driver.

 

ElectrifyServices
Associate II

I have a update in this project.

I received the nRF7002-EK board. I make the all necessary connection between NucleoU5A5ZJ-Q and nRF7002-EK. 

I test the shell code working on SPI interface and that get worked.

So now, I am able to operate the nRF7002 using STM32 board using SPI protocol. I am able to scan the available wifi and also get connected to one of it. This is working fine.

So now coming to a same page, My hardware setup is tested and working fine for SPI interface.

Now, I just need to figure out how to port the shell example code to work on QSPI.

image.pngimage.png 

nRF7002-EK: https://www.nordicsemi.com/Products/Development-hardware/nRF7002-EK
NucleoU5A5ZJ-Q: https://www.st.com/en/evaluation-tools/nucleo-u5a5zj-q.html

 

Is there a Nordic/Zephyr example which demonstrates using the nRF7002 over QSPI ?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

So to get this straight - does your working SPI setup run on zephyr? Are the sources for the zephyr wi-fi driver available, where you can see that it supports QSPI interface?

 

ElectrifyServices
Associate II

no there is no example code that demonstrate using the nRF7002 over QSPI.

 


@ElectrifyServices wrote:

no there is no example code that demonstrate using the nRF7002 over QSPI.


Might be worth asking Nordic to provide it, then - or, at least, to give guidance.

 

Do you really need QSPI - is SPI not sufficient ?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

I have already ask with Nordic team. But they are taking time to reply back. And also not helping me to solve the problem. I don't know if they support the other host MCU to get work with nRF7002 via QSPI ?image.png

 

Yes, I require to work on QSPI instead of SPI protocol. As QSPI is more faster compared to SPI. Our application requires speed.

Please post a link to that Nordic thread.

EDIT: I guess it's this ?

 


@ElectrifyServices wrote:

 I don't know if they support the other host MCU


Obviously, they're not going to be able to help you with the STM32 parts.

But the whole point of standard interfaces like QSPI is that they are independent of what manufacturer's parts you use - the comms on the line remains the same.

I would expect them to be able to provide an example using a Nordic Host - you would then take that as reference, and port to STM32.

 


@ElectrifyServices wrote:

 I require to work on QSPI instead of SPI protocol. As QSPI is more faster compared to SPI. Our application requires speed.


Have you actually tested to see if SPI gives you sufficient speed ?

The nRF7002 Product Page says its PHY throughput is 86 Mbps - which should be doable on SPI ?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.