how does eim communicate with fpga

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

how does eim communicate with fpga

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