How to increase the rate of sQSPI to 32MHz

SDK: nRF Connect SDK v3.0.2

DK: nRF54L15-DK

Sample: spi_flash

3513.nrf54l15dk_nrf54l15_cpuapp_sqspi.overlay
8304.nrf54l15dk_nrf54l15_cpuapp.overlay

default: 

mspi-max-frequency = <DT_FREQ_M(8)>;

If I change it to 32, it will printf these log:

[00:00:00.003,384] <err> flash_mspi_nor: Failed to change IO mode: -5

[00:00:00.010,584] <err> flash_mspi_nor: Failed to switch to default io mode: -5

Parents
  • Hello,

    Based on the error messages you're seeing, there appears to be an issue with the IO mode configuration when trying to use the higher frequency with your MX25R64 flash.

    Does the MX25R64 flash chip actually supports 32 MHz operation in the IO mode you've configured. Some flash chips have different maximum frequencies for different IO modes. You can check this.

    I will try to reproduce the issue on my side with the overlay file you uploaded here. I will get back to you soon.

Reply
  • Hello,

    Based on the error messages you're seeing, there appears to be an issue with the IO mode configuration when trying to use the higher frequency with your MX25R64 flash.

    Does the MX25R64 flash chip actually supports 32 MHz operation in the IO mode you've configured. Some flash chips have different maximum frequencies for different IO modes. You can check this.

    I will try to reproduce the issue on my side with the overlay file you uploaded here. I will get back to you soon.

Children
No Data
Related