imx6 eim muxed 16bits communication

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

imx6 eim muxed 16bits communication

670 Views
magang
Contributor I

Hello

I'm trying to communicate the with a fpga chip over the EIM bus on an i.MX6.

It uses the following signals:

CS0

OE

RW

LBA

EB0/EB1

ADDR/DATA[0-15]

It doesn't have the WAIT pin connected and uses a external chip to latch addresses.

My configuration:

EIM_CS0GCR1: 0x07f1003f

EIM_CS0GCR2: 0x00001002

EIM_CS0RCR1: 0x08785000

EIM_CS0RCR2: 0x00000028

EIM_CS0WCR1: 0x88e28800

EIM_CS0WCR2: 0x00000000

at uboot

  when i  use md 0x08000000,then 

then value is 0xffffffff

use  mw.l 0x08000000 0x1223  8 

then md 0x08000000  then value still  is  0xffffffff

anyone  can help me

0 Kudos
1 Reply

371 Views
Yuri
NXP Employee
NXP Employee

  Please look at my comments regarding Your EIM configuration.

1.

EIM_CS0GCR1[AUS] = 1 (Address unshifted)


Does it correspond Your scheme ?

2.
EIM_CS0GCR1[BCD] = 00 Divide EIM clock by 1

The EIM clock should less than 104 MHz.

Please check it.

3.

  Also, it makes sense to look at waveforms of EIM signals.


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos