QSPI Flash Sample not working

Hi All,

I am trying to test the SPI flash example provided in the zephyr samples folder. Below is my qspi dts configuration.

SDK used: 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";
		// S25HS512TF supports only pp and pp4io 
		writeoc = "pp4io";						//"pp";
		// S25HS512TF supports all readoc options 
		readoc = "read4io";				//"fastread"; 
		sck-frequency = <8000000>;
		label = "S25HS512";
		jedec-id = [34 2B 1A];
		size = <512000000>;
        address-size-32;
		//has-dpd;
		//t-enter-dpd = <3000>;
		//t-exit-dpd = <430000>;
	};
};

Same code works in nrf52840dk board. But the same sample code does not work in my custom board. Only difference is the flash. We are using Cypress Nor Flash 

S25HS512TF. If I configure the cypress flash as PP and FASTREAD then I am getting error as flash device not found in the device_get_binding API.

What is the issue here, can any one help me on this. Matter is little urgent.

Thanks in advance.

Parents Reply Children
No Data
Related