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

nRF52840 QSPI XIP read function,qspi can't reinit

We used qspi  xip read function.
If I uninit qspi and then init qspi again,the mcu halted。

ret = nrf_drv_qspi_init(p_qspi_cfg, qspi_handler, (void *)p_blk_dev);


u8_t tmp = *(__IO uint8_t*)(0x12000000);

nrf_drv_qspi_uninit();

ret = nrf_drv_qspi_init(p_qspi_cfg, qspi_handler, (void *)p_blk_dev);

Is there a problem with my use? What can i do now。

Parents Reply Children
Related