How to enable QSPI emulator on LS1028ARDB?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to enable QSPI emulator on LS1028ARDB?

345 Views
rdr3e
Contributor I

 

Hi

How to enable QSPI emulator on LS1028ARDB?

I'm trying to follow the documentation however it doesn't seem to work.

I want to be able to boot from SD card and communicate with my device through FlexSPI.

From what I understand (based on the documentation):

- to boot from sdcard I should set SW2's bit number 0 to ON position, am I right?

- to be able to use QSPI emulator I should set SW2's bit number 5 to ON, am I right?

Which chip select should I use then to communicate with my device?

Is this chip select 1?

 

Below is the part of device tree:

 

mt35xu02g0: flash@0 {
compatible = "jedec,spi-nor";
#address-cells = <1>;
#size-cells = <1>;
spi-max-frequency = <1000000>; /* org 50000000 */
/* The following setting enables 1-1-8 (CMD-ADDR-DATA) mode */
spi-rx-bus-width = <1>; /* org: 8 SPI Rx lines */
spi-tx-bus-width = <1>; /* 1 SPI Tx line */
reg = <0>;
};
 
/* my config */
mt35xu02g1: flash@1 {
compatible = "jedec,spi-nor";
#address-cells = <1>;
#size-cells = <1>;
spi-max-frequency = <1000000>;
spi-rx-bus-width = <1>; /* 8 SPI Rx lines */
spi-tx-bus-width = <1>; /* 1 SPI Tx line */
reg = <1>;
};

 

Should this configuration allow me to communicate with my device throguth QSPI emulator? (The first node is the original one from SDK).

 

 

 

0 Kudos
Reply
1 Reply

295 Views
yipingwang
NXP TechSupport
NXP TechSupport

This configuration is correct.

0 Kudos
Reply