This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

External Flash and QSPI Settings

I have tried to study the behavior of the QSPI and the external flash. I noticed that the QSPI_CONFIG_READOC and QSPI_CONFIG_WRITEOC settings in sdk_config.h cannot be set to use a higher data lines.

More specifically, the QSPI_CONFIG_READOC can only be set to Read2IO and QSPI_CONFIG_WRITEOC to PP. Anything above would cause the FATFS module to throw an error and the USB MSC to not recognize the drive (For some reasons, PP2O works on USB MSC but not FATFS).

I have set QSPI_CONFIG_SCK_DELAY to 255 and QSPI_CONFIG_FREQUENCY to 32MHz/16, so it might not be a clock issue.

Anyone succesfully use more data lines?

Related