2020-10-20 11:38 PM
Hello!
I am trying to read data by QSPI (MCU STM32F722VC). But QSPI always reads out the last value written to DR register by previous operation and does not read data from data lines. For exapmle, DR value is 0xAA from previous write operation. Then the next read results to all read values 0xAA. If DR register is cleaerd berfore read, all read values are 0x00.
I tried different schemes: only data phase, with address phase, with instruction phase, with cache enabled, with cache disabled, 1/2/4 data lines. I tried exapmles provided by ST, tried my own bare metal code. QSPI behaves the same strange way.
GPIOs are initialized correctly, as it can be seen via debugger.
What could cause such a strange QSPI behaviour?
Thanks.