Hello,
Recently I'm working on the project that utilizes the nRF chip and the external memory MX25R3235F. The SDK is 14.2.
I'm trying to configure the peripheral and the external flash to enter the DPM to achieve the lowest possible current.
I'm using the following config:
NRF_QSPI->DPMDUR = 0xFFFF0002;
NRF_QSPI->IFCONFIG0 = QSPI_IFCONFIG0_DPMENABLE_Enable << QSPI_IFCONFIG0_DPMENABLE_Pos;
NRF_QSPI->IFCONFIG1 = QSPI_IFCONFIG1_DPMEN_Enter << QSPI_IFCONFIG1_DPMEN_Pos;
Unfortunately the DPM flag in STATUS register does not change. It is equal to 0 which means DPM Disabled.
I was also trying to configure the external flash additionally with the following config:
NRF_QSPI->CINSTRCONF = (QSPI_CINSTRCONF_LENGTH_1B << QSPI_CINSTRCONF_LENGTH_Pos) |
(QSPI_CINSTRCONF_WREN_Enable << QSPI_CINSTRCONF_WREN_Pos) |
(QSPI_CINSTRCONF_WIPWAIT_Enable << QSPI_CINSTRCONF_WIPWAIT_Pos) |
(1 << QSPI_CINSTRCONF_LIO2_Pos) |
(1 << QSPI_CINSTRCONF_LIO3_Pos) |
(0xB9 << QSPI_CINSTRCONF_OPCODE_Pos);
Also without any success.
I would like to be sure that the external flash memory enters the DPM because at the moment it seems that the current is few uA to high.
Does anybody have any solution on that? Where have I done a mistake?
Thank you in advance.
Pawel