Hello!
I'm currently testing writing and erasing data to an external Flash using an nRF5340 and a NOR Flash, the mx25r64.
I'm going to use the SPI_FLASH example.
I bulid that example and then ran it and got this error.
[00:00:00.445,739] <err> spi_nor: Device id 00 00 00 does not match config c2 28 17 *** Booting nRF Connect SDK v2.7.0-5cb85570ca43 *** *** Using Zephyr OS v3.6.99-100befc70c74 *** mx25r6435f@0: device not ready.
To try and resolve this error, I changed the jedec-id to 00 00 00 and reran it, and got normal results.
*** Booting nRF Connect SDK v2.7.0-5cb85570ca43 *** *** Using Zephyr OS v3.6.99-100befc70c74 *** mx25r6435f@0 SPI flash testing ========================== Perform test on single sector Test 1: Flash erase Flash erase succeeded! Test 2: Flash write Attempting to write 4 bytes Data read matches data written. Good!!
Looking at these two results, I see that power is going to the SPI side.
If there is a workaround, without changing the jedec-id, please let me know.
If there is an additional way to output the jedec-id, please let me know.
Thank You!