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

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

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

609 次查看
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

 

 

标签 (2)
0 项奖励
回复
1 回复

574 次查看
Rita_Wang
NXP TechSupport
NXP TechSupport

I will update to you in the case you create.

0 项奖励
回复