Google
  Web www.spinics.net

Re: interfacing FPGA to AT91RM9200

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


2008/8/14 yanjun.luo <yanjun.luo@xxxxxxxxx>
> Hi Manila,>> You can use EBI to connect to FPGA, note that at91rm9200> only support 16 bit width, you should config SMC registers.>> Then you need write a driver to communicate with FPGA or you> can operate with mmap from user space if you don't want> high performance.>> Regards,> Yanjun Luo.

 Hi Yanjun,As u hv suggested i hv configured EBI and SMC as under:
int __iomem *addPtr;        // probably should be volatile!#define BASE_ADDRESS 0x50000000AT91_SYS->EBI_CSA &= 0xffffffef;AT91_SYS->EBI_CFGR &= 0xfffffffe;
AT91_SYS->EBI_SMC2_CSR[4]=(AT91C_SMC2_NWS&0x01)|AT91C_SMC2_WSEN|AT91C_SMC2_BAT|AT91C_SMC2_DBW_16;addPtr=(int __iomem*)ioremap(BASE_ADDRESS,4);writew(data,addPtr);
but unable to communicate, any suggestions or changes need to be done.Or any body successfully done some thing for interfacing FPGA to at91rm9200.plz send some sample code.

ThanksManila
>>>>>>> 发件人: Manila Goel> 发送时间: 2008-08-14  12:48:17> 收件人: linux-arm@xxxxxxxxxxxxxxxxxxxxxx> 抄送:> 主题: interfacing FPGA to AT91RM9200>> Hello All,> I m wrking on at91rm9200 and  i hv to interface  fpga with this. how can i> interface it. Anyone done, plz help how should i proceed? i m new to this.> thanks> Manila> -------------------------------------------------------------------> List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm> FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php> Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php>-------------------------------------------------------------------List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-armFAQ:        http://www.arm.linux.org.uk/mailinglists/faq.phpEtiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php


[Site Home]     [Linux ARM Kernel]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Tools]     [DDR & Rambus]     [Monitors]

Add to Google Google PageRank Checking tool