EIM Port Configuration for i.MX6DL

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

EIM Port Configuration for i.MX6DL

797 Views
noodleboy
Contributor I

I'm currently working on a i.MX6DL board made by myself for communicating with a FPGA via the EIM port. i.MX6DL only write datas to fpga. Hardware port only contains eim data[31:16] and cs0, eim address port is not used. The write operation works well if the registers is configured like bellow:

echo 00020081 > /sys/class/misc/fpga/CS0GCR1
echo 00000001 > /sys/class/misc/fpga/CS0GCR2
echo 1C022000 > /sys/class/misc/fpga/CS0RCR1
echo 0000C000 > /sys/class/misc/fpga/CS0RCR2
echo 1404a38e > /sys/class/misc/fpga/CS0WCR1
echo 00000000 > /sys/class/misc/fpga/CS0WCR2

Now i want to improve transfer speed, I re-configure those registers according to page 1040 of "IMX6 processor ref manual.pdf" like bellow:

echo 00420081 > /sys/class/misc/fpga/CS0GCR1
echo 00000000 > /sys/class/misc/fpga/CS0GCR2
echo 04000000 > /sys/class/misc/fpga/CS0RCR1
echo 0000C000 > /sys/class/misc/fpga/CS0RCR2
echo 04000000 > /sys/class/misc/fpga/CS0WCR1
echo 00000000 > /sys/class/misc/fpga/CS0WCR2

But the speed is not improved as much as i thought, it seems CSREC of CS0GCR1 not work, did I miss something important?

 

 

0 Kudos
Reply
1 Reply

787 Views
igorpadykov
NXP Employee
NXP Employee

Hi Noodle

 

for speed improvement example one can look at

https://community.nxp.com/t5/i-MX-Processors/How-to-access-External-memory-using-WEIM-Burst-Mode/m-p...

 

Best regards
igor

0 Kudos
Reply