MX25R64 cannot enter DPD.

Hello,

    We found that the nrf52840 cannot properly pull the CS pin high to get the MX25R64 into DPD. The SDK version is nrf connect SDK V2.0.0. The macro CONFIG_PM_DEVICE=y has been enabled. At this time, the driver nrf_qspi_nor.c should be able to control the MX25R64 to enter the DPD. But when we measured the CS pin level, it was always low. How to pull the cs pin high in nrf_qspi_nor.c ?

    Thanks.

Parents
  • Hi Bon,

    I met the same issue and do you have any tips/solutions?

    After called pm_device_action_run(qspi_nor_dev, PM_DEVICE_ACTION_SUSPEND) in my application code,

    From RTT log, I can see enter_dpd() and nrfx_qspi_uninit() entered

     00> [00:00:02.043,701] <dbg> qspi_nor.enter_dpd: enter_dpd enter
     00> [00:00:02.044,128] <dbg> qspi_nor.qspi_nor_pm_action: nrfx_qspi_uninit

    And I collected wave form, it is properly set the dpd command to external flash (0xB9), and then CS is set to high after that

    But after around 13 ms, CS and SI were set to low

    I have no idea how the CS has been set to low and I am looking into the nrf qspi driver.

    IMO, the sample code running on 52840DK will have the same result.

    Regards,

    Anthony Yuan

Reply
  • Hi Bon,

    I met the same issue and do you have any tips/solutions?

    After called pm_device_action_run(qspi_nor_dev, PM_DEVICE_ACTION_SUSPEND) in my application code,

    From RTT log, I can see enter_dpd() and nrfx_qspi_uninit() entered

     00> [00:00:02.043,701] <dbg> qspi_nor.enter_dpd: enter_dpd enter
     00> [00:00:02.044,128] <dbg> qspi_nor.qspi_nor_pm_action: nrfx_qspi_uninit

    And I collected wave form, it is properly set the dpd command to external flash (0xB9), and then CS is set to high after that

    But after around 13 ms, CS and SI were set to low

    I have no idea how the CS has been set to low and I am looking into the nrf qspi driver.

    IMO, the sample code running on 52840DK will have the same result.

    Regards,

    Anthony Yuan

Children
No Data
Related