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

NRF52840 Problems Reading from QSPI Flash W25q32jv.

Hi ,

Im trying to read and write data from QSPI w25q32jv chip, for which i get faulty data .

I have used this example : https://github.com/jimmywong2003/nrf52840-QSPI-flash-example

I'm using Raytec Module which utilizes the 52840 chip as an BLE SoC.

I'm trying to write data at offset 0X210000 and read the data for which im observing that the data is getting stored (i guess) after 2 locations.

Please help.

Thanks,

Dhananjay Sutariya

Parents
  • Hello ,

    I am using your example on 2 boards:

        - The 1st board fails, both m_buffer_tx and m_buffer_rx have value 0x88 for all of their elements. The m_buffer_tx values are changed after function err_code = nrf_drv_qspi_read(m_buffer_rx, QSPI_TEST_DATA_SIZE+QSPI_TEST_DATA_SIZE, QSPI_BASE_ADDRESS); is called.

        - The 2nd boards work fines.

    Do you have any idea how? Is is because of the flash IC is broken?

    Thanks and best regards,

               Duy

Reply
  • Hello ,

    I am using your example on 2 boards:

        - The 1st board fails, both m_buffer_tx and m_buffer_rx have value 0x88 for all of their elements. The m_buffer_tx values are changed after function err_code = nrf_drv_qspi_read(m_buffer_rx, QSPI_TEST_DATA_SIZE+QSPI_TEST_DATA_SIZE, QSPI_BASE_ADDRESS); is called.

        - The 2nd boards work fines.

    Do you have any idea how? Is is because of the flash IC is broken?

    Thanks and best regards,

               Duy

Children
Related