How to enable QSPI emulator on LS1028ARDB?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to enable QSPI emulator on LS1028ARDB?

396 次查看
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 项奖励
回复
1 回复

346 次查看
yipingwang
NXP TechSupport
NXP TechSupport

This configuration is correct.

0 项奖励
回复