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

QSPI compatibility

Hi,

I am trying to implement QSPI flash data storage functions in the external memory of nRF52840 DK with other peripherals like TWI or GPIOTE, but it seems to conflict between them. For example, when I init the gpiote and execute the function nrf_drv_gpiote_in_init(BUTTON, &in_config, in_pin_handler) the written and read data from flash memory are compared and it isn't consistent. When I try it with TWI interface data isn't consistent again. It is only consistent if I don't initialise the other peripherals. Reading the flash memory with command line --nrfjprog I can see that the data is shift 1 byte. How can I use QSPI with other peripherals simultaneously? Does it have anything to do with the errata 127: System: Reading address 0x40029618 blocks the device? 

Thanks!

Related