how does eim communicate with fpga

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

how does eim communicate with fpga

829 Views
jingyangxie
Contributor V

Hi,all

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

Labels (2)
0 Kudos
2 Replies

633 Views
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 Kudos

633 Views
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 Kudos