STM32H7 Quad SPI broken bit when output is switching to input with NOR flash
Hi there!
I have a problem when using QSPI with NOR flash. Some read commands return data with first 4 bits corrupted.
After investigation, I have found that the issue only appears if there is switch from output to input without dummy cycles.
For example (see picture): I send a 4-line, 1 byte instruction (2 cycles) and read 4-line 3 bytes (6 cycles). I expect IO2 (blue) to switch from output to input prior to clock's (yellow) third falling edge. Instead, it seems to be held at some grey level, that is sometimes sampled as 1 at the third rising edge.
Same issue was observed on STM32H7 with 2 different flash chips, using quad-spi and dual-spi.
Yellow is clock, blue is IO2
I can’t find something similar in errata.
Are some ideas, guys?
