STM32L431KB can only read four bytes as indirect read mode and only if the address is all zeros
If I configure more than four bytes, the qspi do nothing, it also happens if I set as address any other value than zero.
I carefully read the application note 'AN4760' and it doesn't seem I'm doing anything wrong
s_command.InstructionMode = QSPI_INSTRUCTION_1_LINE;
s_command.Instruction = QUAD_INOUT_FAST_READ_CMD;
s_command.AddressMode = QSPI_ADDRESS_4_LINES;
s_command.AddressSize = QSPI_ADDRESS_24_BITS;
s_command.Address = 0x000000; //address;
s_command.AlternateByteMode = QSPI_ALTERNATE_BYTES_NONE;
s_command.DataMode = QSPI_DATA_4_LINES;
s_command.DummyCycles = 6;
s_command.NbData = 4; //length;
s_command.DdrMode = QSPI_DDR_MODE_DISABLE;
s_command.DdrHoldHalfCycle = QSPI_DDR_HHC_ANALOG_DELAY;
s_command.SIOOMode = QSPI_SIOO_INST_EVERY_CMD;
The flash I'm using is 16 Mbyte 'W25Q128JV', it support all possible reading modes
Thanks in advance for your help
