Has anyone tried to use dual-QSPI and Zephyr with the nRF52840-MDK to use the MX25R64 flash?
I am looking to get a development board to use and help me while I am porting Zephyr to my custom board and the nRF52840-MDK looks like a good option if the flash can be successfully used with dual-QSPI.
I have a custom, known good circuit, that uses dual-QSPI and an nRF52840 with the MX25R64 that I am trying to start using with Zephyr and I am having problems getting Zephyr to see the flash. In the past I have used it successfully with C, hence the “known good” statement.
Following is the QSPI section of my device tree.
&qspi {
status = "okay";
sck-pin = <31>;
io-pins = <30 45>;
csn-pins = <29>;
mx25r64: mx25r6435f@0 {
compatible = "nordic,qspi-nor";
reg = <0>;
quad-enable-requirements = "NONE";
/* MX24R64 supports only pp and pp4io */
writeoc = "pp";
/* MX24R64 supports all readoc options */
readoc = "fastread";
sck-frequency = <8000000>;
label = "MX25R64";
jedec-id = [c2 28 17];
sfdp-bfp = [
e5 20 f1 ff ff ff ff 03 44 eb 08 6b 08 3b 04 bb
ee ff ff ff ff ff 00 ff ff ff 00 ff 0c 20 0f 52
10 d8 00 ff 23 72 f5 00 82 ed 04 cc 44 83 68 44
30 b0 30 b0 f7 c4 d5 5c 00 be 29 ff f0 d0 ff ff
];
size = <67108864>;
has-dpd;
t-enter-dpd = <10000>;
t-exit-dpd = <35000>;
};
and my prj.conf settings are
CONFIG_NORDIC_QSPI_NOR=y
CONFIG_NORDIC_QSPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
CONFIG_DEBUG=y
CONFIG_FLASH=y
CONFIG_FLASH_MAP=y
CONFIG_FLASH_PAGE_LAYOUT=y