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

QSPI: problems with a MX25R1635F or how to initialize the port pins?

Hi

data sheet of the nRF52840 states that the QSPI port pins should be initialized to "high drive".

I've experimented a little bit because I have problems with a Macronix Flash (MX25R1635F) which does not reliably work.  The DK-Chip from Macronix (MX25R6435F) is not a problem with the same firmware and a flash from OnSemi (LE25S161) works on our hardware as well.

To make the story short: I can do RDID of the MX25R1635F, but reading the status/config register of the MX25R1635F always shows zero.  Erasing also does not work.  The OnSemi works without problems.

I've already used all different SPI read/write modes, no success.  I've also tried to init the port pins with pullup.  Not a good idea, because the program than hangs.

So the question: how to setup the QSPI port pins properly?

Thanks & regards

Hardy

Parents
  • Hi again Hardy

    I found these configurations missing myself upon a closer look at the driver, and asked the devs about this. It seems like this is missing as of now, and is due to be added to the driver in the future. For now, you can add the high drive and other configs yourself outside the driver with the nrf_gpio_cfg function.

    Best regards,

    Simon

Reply
  • Hi again Hardy

    I found these configurations missing myself upon a closer look at the driver, and asked the devs about this. It seems like this is missing as of now, and is due to be added to the driver in the future. For now, you can add the high drive and other configs yourself outside the driver with the nrf_gpio_cfg function.

    Best regards,

    Simon

Children
No Data
Related