How to do add spi (ECSPI) bus 0 cs 1 in Uboot (Yocto4.0)?

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

How to do add spi (ECSPI) bus 0 cs 1 in Uboot (Yocto4.0)?

609 Views
charleshuang
Senior Contributor II

Hi NXP 

Our OS is Yocto4.0 -5.15.52.

Our platform is imx6q.

The spi pin  information: 

pinctrl_ecspi1: ecspi1grp {
fsl,pins = <
MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1
MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1
MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1
>;
};

cs pin  : MX6QDL_PAD_EIM_D19__ECSPI1_SS1

We try to add spi (ECSPI1) BUS 0 ,CS1 in uboot.

The result is "spi_xchg_single: Timeout! "

Do you have example code about add BUS0 ,CS1 SPI for Uboot Yocto 4.0?

or

Do you have example code two spi in Bus0 cs0 / bus0 cs1 for  uboot Yocto4.0?

Thanks

charleshuang_0-1693966667316.png

 

 

Labels (2)
0 Kudos
Reply
1 Reply

574 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

I will update to you in the case you create.

0 Kudos
Reply