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

QSPI 32bit addressing mode

We are using a flash part that is 64 MB in size. It is S25FS512. We are trying to use 32 bit addressing mode by setting sdk config flags. However this does not seem to work.
Has this been tested? Is there something else that needs to be done?

There is an API nrf_qspi_addrconfig_set which seems to be unused in the sdk. 

Parents Reply
  • , I have finally got an answer. 

    The SDK configuration for 32-bit addressing modem only changes the addressing mode in our peripheral.

    "The external Flash also needs to be told what mode it is expected to work in. This command can be different for different Flash vendors, hence difficult to include in the driver. To do that for this specific Flash part, you need to issue the 4BAM command (section 9.3.12 of the flash datasheet) using a custom instruction (described in the QSPI section of the nRF52840 PS). When both the external Flash and the QSPI peripheral are in 4-byte addressing mode, our peripheral uses the commands from the table on page 72 of the Flash part's datasheet with a 4-byte address."

    Hope this helps! Let me know how it works.

Children
Related