I am trying to build up a QSPI connection with the STM32H7 Nucleo Board (H743zi2). I generated the keil project(setup with CubeMX). Am measuring the CS and CLK with my oscilliscope & I cant see anything for QSPI clk more than 30MHz.
I am trying to build up a QSPI connection with the STM32H7 Nucleo Board (H743zi2). I generated the keil project(setup with CubeMX). Am measuring the CS and CLK with my oscilliscope & I cant see anything for QSPI clk more than 30MHz.
I am using nucleo 144 board and have setup the stm32 core for 480MHz(max), so max QSPI clock allowed is 240M/2=120MHz. But am not able to generate clock pulses if I set QSPI clock prescalar less than 8 (30MHz). I have tried for different qspi clock source selection.
Please help me to fix it. Is there anything am missing?
What is the maximum allowable qspi clock frequency in nucleo h743?
Pretty sure I've run the interface close to 100 MHz, tends to depend on the flash IC, and the dummy cycles required at different rates. Also H7 supports DDR/DTR
Make sure to enable the IO compensation block, and back off slew rate setting on short wiring.
Your wiring/interfacing into the NUCLEO might be a limiting factor also, signal integrity becomes a big issue as clock rates go higher.
Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
I have connected PCB of flash IC which supports upto 108MHz.
Now I am testing only with nucleo board by removing flash IC interface and measuring the wave forms in logic analyzer. Still am not able to see any clock pulses/chip select lines.
Yeah, I think I'd be using a high speed scope and 10X probe
If integer dividers on the STM32's are inflexible you can change the clocks via the PLL, and say run the H7 at 300 MHz to generate 150 and 75 MHz sources, or 266 MHz for 133 and 66 MHz.
Some of the H7 DISCO and EVAL board has QSPI examples as part of the BSP, you should review the HAL examples.
Nah just as I understand OP is struggling within possible issues: QSPI desired config, talking to flash ic, capturing waveform theory, signal integrity carnage. By setting clock to 1 MHz last two issues are removed. If the first two issues are resolved, then just bump up frequency and deal with latter comfortably. Q/SPI is nice that fitting timings alterations are possible in contrast to eg. USB.