Hi
I am working with nrf52840dk- nrf52840 board to interface the flash(mx25r64) using spi_flash example code. I wants to use SPI instead of QSPI in nrf connect sdk .
But I am facing error.
Below I have attached the overlay file I created for SPI flash pin mapping. I haven't changed anything in the main.c and I didn't changed anything in the prj.confg file also.
In the main.c there is if condition
if (!device_is_ready(flash_dev)) {
printk("%s: device not ready.\n", flash_dev->name);
return;
}
When I buid my code and try to debug the code it is coming into this if condition and shows device is not ready. Can Someone help me with this.
Note:I didn't changed anything in the main.c
OVERLAY FILE: