Hello,
I am using the NRF52840 with the flash chip W25Q32. I tried using the sample program "Flash Sample" with my device set in qspi. I can get the flash device reading and writing when I use:
writeoc = "pp"; readoc = "fastread";
&qspi {
status = "okay";
pinctrl-0 = <&qspi_default>;
pinctrl-1 = <&qspi_sleep>;
pinctrl-names = "default", "sleep";
w25q32: w25q32jv@0 {
compatible = "nordic,qspi-nor";
reg = <0>;
writeoc = "pp4io"; // Quad Input Page Program
readoc = "read4io"; // Fast Read Quad I/O
sck-frequency = <8000000>; // 8MHz SPI clock
jedec-id = [EF 40 16]; // Manufacturer and device ID
size = <33554432>; // 4MB (32Mb)
has-dpd;
t-enter-dpd = <10000>; // Enter Deep Power Down time (10µs)
t-exit-dpd = <35000>; // Exit Deep Power Down time (35µs)
};
};
