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

Macronix MX25R6435F high performance mode - how to activate it?

The nRF52840 DK has a 64 mbit external flash on board. The MX25R6435F.

It's performance is too low, in terms of erase speeds - It takes several minutes to erase the entire flash.

We would like to speed that up.

We understand that this is the register to manipulate, for setting the external-flash in "high performance mode", doubling the erase speed.

We also know that the MX25R6435F registers can be accessed like so, as is apparent in the nordic SDK example projects:
    /* Get 3 byte identification value */
    uint8_t rdid_buf[3] = {0, 0, 0};
    cinstr_cfg.opcode = QSPI_STD_CMD_READ_ID;
    cinstr_cfg.length = NRF_QSPI_CINSTR_LEN_4B;
    ret = nrf_drv_qspi_cinstr_xfer(&cinstr_cfg, NULL, rdid_buf);
In what way should we update the configuration register, for achieving our goal of setting the external flash to high performance mode?
Parents Reply
  • So is your question about what settings to make, or how to use the nRF52 QSPI interface?

    The memory neither knows nor cares what microcontroller you use - the register configurations for setting it to 'high performance' mode will always be the same irrespective of the microcontroller you use.

    Macronix are the ones that could tell you what those settings are.

    Similarly, the nRF52 QSPI interface neither knows nor cares what peripherals are connected on the bus - sending and receiving stuff always works the same way.

    Nordic can tell you how the nRF52 QSPI interface works;  but, presumably, you already have that part working - as you are already using it ?

Children
Related