I have been able to use external flash with Octal SPI mode on an nRF54H40-DK:
❯ west build --pristine --board nrf54h20dk/nrf54h20/cpuapp zephyr/samples/drivers/flash_shell/ && west flash --erase && nrfutil device x-boot-status-get
The above works. I want to verify that this peripheral can also do single SPI and QSPI too when I connect other sensors to this EXMIF peripheral. For that, I was hoping that the external flash would work in single SPI and QSPI mode too since it works in Octal SPI mode.
But when I make these changes to mspi-io-mode property in EXMIF's mx25uw63: mx25uw6345g@0 nodes :
MSPI_IO_MODE_OCTAL
: worksMSPI_IO_MODE_QUAD
:static assertion failed: "Only 1x, 1-4-4 and 8x I/O modes are supported for now". That's OK.
-
MSPI_IO_MODE_QUAD_1_4_4
:Failed to switch to single line mode: -134. Expecting this to work.
MSPI_IO_MODE_SINGLE
:Failed to switch to single line mode: -134. Expecting this to work.
Can you tell me:
- After this PR: https://github.com/zephyrproject-rtos/zephyr/pull/85520, is QSPI and Single SPI expected to work on NCS v3.0.0?
- Is the above problem also seen on nRF54H40-DK on your end?