how does eim communicate with fpga

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how does eim communicate with fpga

1,540件の閲覧回数
jingyangxie
Contributor V

Hi,all

    I have a imx6sxsabresd board,want to use eim to communicate with fpga ,can anybody give me any advice ?

ラベル(2)
0 件の賞賛
返信
2 返答(返信)

1,344件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

Hi xie,

    If you want to connect FPGA to EIM interface, you can refer to imx6sx reference manual, page 994, and configure communication mode according to the list below:

pastedImage_1.png

Have a nice day!

TIC weidong sun

0 件の賞賛
返信

1,344件の閲覧回数
jingyangxie
Contributor V

Hi,all

   when I add supporting weim in the imx6sx-sdb.dts.the board cannot startup,but when I cancel the support for weim ,the board can startup ,what I add is as follow:

&weim {
   pinctrl-names = "default";
   pinctrl-0 = <&pinctrl_weim_fpga &pinctrl_weim_cs0>;
   #address-cells = <2>;
   #size-cells = <1>;
   ranges = <0 0 0x08000000 0x08000000>;
   status = "ok";

   

   fpga@0,0 {
      compatible = "fpga";
      reg = <0 0 0x02000000>;
      #address-cells = <1>;
      #size-cells = <1>;
      bank-width = <2>; //EIM_CSnGCR1 //EIM_CSnGCR2 //EIM_CSnRCR1 //EIM_CSnRCR2 //EIM_CSnWCR1 //EIM_CSnWCR2
      fsl,weim-cs-timing = <0x00630081 0x00000001 0x1c022000 0x0000c000 0x1404a38e 0x00000000>;
   };
};

Is there any mistake in my operation?

0 件の賞賛
返信