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)?

611件の閲覧回数
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 返信

576件の閲覧回数
Rita_Wang
NXP TechSupport
NXP TechSupport

I will update to you in the case you create.

0 件の賞賛
返信