Configuring QSPI Flash (W25Q512) on NRF52840 Dongle for USB Mass Storage in Zephyr v2.6.1

Hello,

I am currently working with the NRF52840 Dongle and have integrated a W25Q512 QSPI Flash chip, connected to the following pins:

  • CSN: P0.17
  • SCK: P0.20
  • IO0: P0.24
  • IO1: P0.22
  • IO2: P0.15
  • IO3: P0.13

SDK: Zephyr v2.6.1

I am using the "USB Mass Storage" example from Zephyr SDK and would like to configure the QSPI Flash (W25Q512) as the storage partition. However, I am struggling to find detailed information on how to update the necessary overlay and prj.conf files to achieve this setup.

Could you please provide guidance or an example on how to properly configure these files for this use case?

Thank you for your support.

Best regards,
Bivay

Parents Reply
  • Hello, thanks for response, I got below error when using above conf file:

    1) CONFIG_NRFX_QSPI was assigned the value y, but got the value n. Missing dependencies: n

    2) Symbol CONFIG_FLASH_JESD216 cannot be set (has no prompt)

    3)Unknown symbol CONFIG_FLASH_PARTITION

    4) Unknown symbol CONFIG_STORAGE_PARTITION

    In overlay file:
    1) Property "pinctrl-0" is required
    2) Pin 17 of &gpio0 already assigned to 2 other nodes
    3) Pin 20 of &gpio0 already assigned to 2 other nodes
    4) io-pins Property not mentioned in "nordic,nrf-qspi"
    5) mx25r64 Node should only occur on the spi bus.
Children
Related