Skip to main content
WDong.1
Visitor II
February 21, 2020
Question

Can I configure Octo-SPI to QSPI (4: 7) and then communicate with the NAND-FLASH of the QSPI interface?

  • February 21, 2020
  • 1 reply
  • 864 views

Octo-SPI can be configured as QSPI (0: 3) and QSPI (4: 7). Can these two interfaces be connected to QSPI-FLASH interface? For the convenience of PCB, I want to use QSPI (4: 7).

This topic has been closed for replies.

1 reply

Andreas Bolsch
Lead III
February 21, 2020

The OctoSPI does support dual-quad mode as well, so yes, it's possible to connect two flash chips in QPI mode, one of them using IO7-IO4 the other one IO3-IO0. If you have only one, set DQM to zero and select via FSEL whether you want to user the "upper half" or the "lower half". This works exactly in the same way as for the QSPI interfaces.

See e.g. Fig. 136 in RM0455 for H7A/B and the description of OCTOSPI_CR, bit 7, FSEL.