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

nrf52840 flashing

Hi,

I have bought a new nrf52840 PDK. I have gone through the PDK user guide and I came to know that we can use qspi pins as gpios by cutting the Solder bridge connections. This is the phrase:

"To use the GPIOs for a purpose other than the onboard external memory and have them available on the P24 connector, six solder bridges (SB10–SB15) must be cut and six solder bridges (SB20–SB25) must be shorted. See Figure 19: Configuring GPIOs for external memory on page 25 for details."

I have tried cutting the SB(10-15) and shorted SB(20-25) and when I tried to load a gpio(blinky) program, program loading is getting stuck at Initializing Qspi. Why it is not able to flash ? How to program without Qspi?

Thanks and regards R Madhu.

Parents
  • Thanks Holmefjord.
    By changing so i am able to flash it well. Next i loaded qspi periperal example with an external slave device connected to gpio pins to which qspi is shorted. In the main function i modified the code to perform read and write operations only one time. But on executing i'm seeing clock transfer continuously.

    Why it is happening so, you have any idea?

    Thanks and Regards. R Madhu.

  • I have connected a radio transceiver which is interfaced through spi. And my target is to read the device registers which are 8bit addressed @16MHz Clock. I have just changed read length to 4 and also commented configure_memory and spi_erase apis in qspi example code. I have observed that "nrf_qspi_event_check" api is waiting for the event ready, which is causing the continuous read operation.

Reply
  • I have connected a radio transceiver which is interfaced through spi. And my target is to read the device registers which are 8bit addressed @16MHz Clock. I have just changed read length to 4 and also commented configure_memory and spi_erase apis in qspi example code. I have observed that "nrf_qspi_event_check" api is waiting for the event ready, which is causing the continuous read operation.

Children
No Data
Related