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?
Related