nRF52840 Zephyr dual QSPI Cypress S25hS512 flash Problem

Hi,

We are using nrf52840 for custom design and we have replaced the mx25r6435f qspi flash with Cypress S25hS512 qspi flash. We configured the flash as below in the dts file.

SDK: ncs v1.7.1

&qspi {
	status = "okay";
	sck-pin = <19>;
	io-pins = <20>, <21>;     //, <22>, <23>;
	csn-pins = <17>;
	s25hs512: s25hs512tf@0 {
		compatible = "nordic,qspi-nor";
		reg = <0>;
        quad-enable-requirements = "NONE";
		writeoc = "pp";						//"pp4io";
		readoc = "fastread";				//"read4io"; 
		sck-frequency = <8000000>;
		label = "S25HS512";
		jedec-id = [34 2B 1A];
		size = <512000000>;
	};

If I configure the writeoc and readoc as pp4io and read4io I get data mismatch error. If I configure the flash as pp and fastread I am getting JEDEC QSPI-NOR SPI flash testing
==========================
SPI flash driver S25HS512 was not found!

 

What could be the issue? Need your help, its urgent.

Related